nixos/modules/dconf.nix

73 lines
2.2 KiB
Nix
Raw Normal View History

2024-03-26 20:50:46 -08:00
{ config, lib, pkgs, ... }:
2024-03-26 20:52:01 -08:00
with lib.hm.gvariant;
2024-03-26 20:50:46 -08:00
{
home.file.".face".source = builtins.fetchurl {
2024-09-13 12:35:27 -08:00
url = "https://talk.marq42.xyz/files/1abe7cba-1eeb-4fe7-939f-db62434b3ee9";
sha256 = "1fgc6bjyv474df6bjr74aif9bh5hdhz3xhxy4p9x5wsgsx0y88xk";
2024-03-26 20:50:46 -08:00
};
# 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";
};
2024-10-01 08:52:51 -08:00
# miku cursor
home.file.".local/share/icons/miku-cursor-linux/".source = "${builtins.fetchGit {
url = "https://github.com/supermariofps/hatsune-miku-windows-linux-cursors";
rev = "24bbed734c17bc19516b939ee10203b229513d2a";
}}/miku-cursor-linux/";
2024-03-26 20:50:46 -08:00
dconf.settings = {
2024-10-01 08:52:51 -08:00
"org/gnome/desktop/interface" = {
"cursor-theme" = "miku-cursor-linux";
};
2024-03-26 20:50:46 -08:00
"org/gnome/shell" = {
"favorite-apps" = [
"kitty.desktop"
2024-03-26 20:50:46 -08:00
"firefox.desktop"
"emacs.desktop"
"org.gnome.Settings.desktop"
"org.gnome.Nautilus.desktop"
"btop.desktop"
];
};
2024-04-08 13:31:21 -08:00
"org/gnome/desktop/applications/terminal" = {
"exec" = "kitty";
"exec-arg" = "";
};
2024-03-26 20:50:46 -08:00
"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;
};
};
}