add wallpaper

This commit is contained in:
Daniel Langbein 2023-09-11 18:08:28 +02:00
parent c3184bd0fa
commit 948c775bf2
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
4 changed files with 19 additions and 0 deletions

BIN
assets/img/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 MiB

View File

@ -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

View File

@ -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

17
modules/wallpaper.nix Normal file
View File

@ -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}";
};
}