mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-05 00:05:04 +01:00
17 lines
562 B
Nix
17 lines
562 B
Nix
{ 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
|
|
|
|
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 = "${(pkgs.callPackage ./wallpaper.nix { })}/img.jpg";
|
|
};
|
|
}
|