mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
add wallpaper
This commit is contained in:
parent
c3184bd0fa
commit
948c775bf2
BIN
assets/img/wallpaper.jpg
Normal file
BIN
assets/img/wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.0 MiB |
@ -22,6 +22,7 @@ in
|
|||||||
../../modules/base.nix
|
../../modules/base.nix
|
||||||
../../modules/programs.nix
|
../../modules/programs.nix
|
||||||
../../modules/autostart.nix
|
../../modules/autostart.nix
|
||||||
|
../../modules/wallpaper.nix
|
||||||
../../modules/fwupd.nix
|
../../modules/fwupd.nix
|
||||||
../../modules/print-and-scan.nix
|
../../modules/print-and-scan.nix
|
||||||
#../../modules/fde-ssh-unlock.nix
|
#../../modules/fde-ssh-unlock.nix
|
||||||
|
@ -22,6 +22,7 @@ in
|
|||||||
../../modules/base.nix
|
../../modules/base.nix
|
||||||
../../modules/programs.nix
|
../../modules/programs.nix
|
||||||
../../modules/autostart.nix
|
../../modules/autostart.nix
|
||||||
|
../../modules/wallpaper.nix
|
||||||
../../modules/fwupd.nix
|
../../modules/fwupd.nix
|
||||||
../../modules/print-and-scan.nix
|
../../modules/print-and-scan.nix
|
||||||
#../../modules/fde-ssh-unlock.nix
|
#../../modules/fde-ssh-unlock.nix
|
||||||
|
17
modules/wallpaper.nix
Normal file
17
modules/wallpaper.nix
Normal 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}";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user