Update shared-desktop.nix

This commit is contained in:
Thilo Hohlt
2023-07-05 06:40:14 +02:00
committed by GitHub
parent 720ec3dc2e
commit 5b54255266

View File

@@ -20,8 +20,34 @@
gnome.core-utilities.enable = false;
};
programs.dconf.enable = true;
home-manager.users.thiloho = { pkgs, lib, config, ... }: {
programs = {
gtk = {
enable = true;
gtk3.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
gtk4.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
};
dconf.settings = let
wallpaper = pkgs.callPackage ../wallpaper.nix {};
in {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
"org/gnome/desktop/background" = {
picture-uri = "${wallpaper}";
picture-uri-dark = "${wallpaper}";
};
};
bash = {
enable = true;
shellAliases = {