Update shared-desktop.nix

This commit is contained in:
Thilo Hohlt
2023-07-05 06:44:26 +02:00
committed by GitHub
parent 0f6c373d6d
commit a9714ea7d4

View File

@@ -23,6 +23,17 @@
programs.dconf.enable = true; programs.dconf.enable = true;
home-manager.users.thiloho = { pkgs, lib, config, ... }: { home-manager.users.thiloho = { pkgs, lib, config, ... }: {
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}";
};
};
programs = { programs = {
gtk = { gtk = {
enable = true; enable = true;
@@ -37,17 +48,6 @@
''; '';
}; };
}; };
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 = { bash = {
enable = true; enable = true;
shellAliases = { shellAliases = {