diff --git a/assets/img/wallpaper.jpg b/assets/img/wallpaper.jpg new file mode 100644 index 0000000..98c7707 Binary files /dev/null and b/assets/img/wallpaper.jpg differ diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index ccbf8f3..28eaedc 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -22,6 +22,7 @@ in ../../modules/base.nix ../../modules/programs.nix ../../modules/autostart.nix + ../../modules/wallpaper.nix ../../modules/fwupd.nix ../../modules/print-and-scan.nix #../../modules/fde-ssh-unlock.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index adff11a..53286cb 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -22,6 +22,7 @@ in ../../modules/base.nix ../../modules/programs.nix ../../modules/autostart.nix + ../../modules/wallpaper.nix ../../modules/fwupd.nix ../../modules/print-and-scan.nix #../../modules/fde-ssh-unlock.nix diff --git a/modules/wallpaper.nix b/modules/wallpaper.nix new file mode 100644 index 0000000..35e0024 --- /dev/null +++ b/modules/wallpaper.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ + # https://discourse.nixos.org/t/how-to-set-gnome-a-k-a-gdm-greeter-a-k-a-lockscreen-login-background-a-k-a-wallpaper/14289?u=langfingaz + + programs.dconf.enable = true; + + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { + dconf.settings = { + "org/gnome/desktop/background" = { + "picture-uri" = "/home/yoda/.config/background"; + "picture-uri-dark" = "/home/yoda/.config/background"; + }; + }; + home.file.".config/background".source = "${../assets/img/wallpaper.jpg}"; + }; +}