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/abstract-nord.png | Bin 0 -> 140219 bytes modules/home/files/wallpaper/default.nix | 14 ++++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 modules/home/files/wallpaper/abstract-nord.png create mode 100644 modules/home/files/wallpaper/default.nix (limited to 'modules/home/files/wallpaper') diff --git a/modules/home/files/wallpaper/abstract-nord.png b/modules/home/files/wallpaper/abstract-nord.png new file mode 100644 index 00000000..5ef498bf Binary files /dev/null and b/modules/home/files/wallpaper/abstract-nord.png differ 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