nixos/modules/dconf.nix

59 lines
1.8 KiB
Nix

{ config, lib, pkgs, ... }:
with lib.hm.gvariant;
{
home.file.".face".source = builtins.fetchurl {
url = "https://marq42.xyz/rena.webp";
sha256 = "10x3qvfdp79fmbbi7ljnqx419xmwpiyyr4pfxhynh3xq7fd0laz2";
};
# programs.dconf.enable = true;
home.file.".local/share/backgrounds/mojave.jpg".source = builtins.fetchurl {
url = "https://www.teahub.io/photos/full/154-1542362_mac-os-mojave-screenshot.jpg";
sha256 = "0vrcn44aibdsl1hc6n0jbp0znpwhcb4hyhbzs5690i1nrapcmyka";
};
dconf.settings = {
"org/gnome/shell" = {
"favorite-apps" = [
"org.gnome.Console.desktop"
"firefox.desktop"
"emacs.desktop"
"org.gnome.Settings.desktop"
"org.gnome.Nautilus.desktop"
"btop.desktop"
];
};
"org/gnome/desktop/interface" = {
"color-scheme" = "prefer-dark";
};
"org/gnome/mutter" = {
"edge-tiling" = true;
};
"org/gnome/desktop/background" = {
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
};
"org/gnome/desktop/screensaver" = {
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
};
"org/gnome/desktop/input-sources" = {
"xkb-options" = [ "caps:escape" ];
};
"org/gnome/desktop/wm/preferences" = {
"focus-mode" = "sloppy";
};
"org/gnome/settings-daemon/plugins/power" = {
"idle-dim" = false;
"sleep-inactive-ac-type" = "nothing";
};
"org/gnome/gnome-system-monitor" = {
"current-tab" = "resources";
};
"org/gnome/desktop/interface" = {
"show-battery-percentage" = true;
};
"org/gnome/desktop/session" = {
"idle-delay" = mkUint32 0;
};
};
}