From fd9b0ecef4142a62b45404700ba1cff488f84a73 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 23 May 2024 13:31:11 +0200 Subject: refactor(modules/home): Setup as "normal" NixOS module --- modules/home/files/wallpaper/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/home/files/wallpaper/default.nix (limited to 'modules/home/files/wallpaper/default.nix') diff --git a/modules/home/files/wallpaper/default.nix b/modules/home/files/wallpaper/default.nix new file mode 100644 index 00000000..119df225 --- /dev/null +++ b/modules/home/files/wallpaper/default.nix @@ -0,0 +1,14 @@ +{config, ...}: { + home = { + sessionVariables = { + WALLPAPER = "${config.home.homeDirectory}/media/pictures/wallpaper"; + }; + + file = { + wallpaper = { + source = ./abstract-nord.png; + target = "media/pictures/wallpaper"; + }; + }; + }; +} -- cgit 1.4.1