nix-git/modules/gnome-wallpaper.nix

17 lines
562 B
Nix
Raw Normal View History

2023-09-11 18:08:28 +02:00
{ config, pkgs, ... }:
{
2024-02-04 15:02:12 +01:00
# 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
2023-09-11 18:08:28 +02:00
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";
};
};
2024-09-04 22:13:38 +02:00
home.file.".config/background".source = "${(pkgs.callPackage ./wallpaper.nix { })}/img.jpg";
2023-09-11 18:08:28 +02:00
};
}