1
Fork 0
satellite/modules/themes/wallpaper.nix

16 lines
407 B
Nix
Raw Normal View History

2022-09-18 01:00:32 +02:00
# Tutorial regarding this:
# https://www.codyhiar.com/blog/how-to-set-desktop-wallpaper-on-nixos/
{ pkgs, config, ... }: {
home-manager.users.adrielus = {
2022-12-09 02:32:25 +01:00
home.packages = with pkgs; [ xwallpaper ];
2022-09-18 01:00:32 +02:00
xdg.configFile."wallpaper".source = pkgs.myThemes.current.wallpaper;
xsession = {
enable = true;
initExtra = ''
xwallpaper --zoom ~/.config/wallpaper
'';
};
};
2022-09-18 01:00:32 +02:00
}