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/soispha/files/default.nix | 6 ------ modules/home/soispha/files/manifest_json/default.nix | 16 ---------------- .../soispha/files/manifest_json/profile/manifest.json | 4 ---- modules/home/soispha/files/wallpaper/abstract-nord.png | Bin 140219 -> 0 bytes modules/home/soispha/files/wallpaper/default.nix | 14 -------------- 5 files changed, 40 deletions(-) delete mode 100644 modules/home/soispha/files/default.nix delete mode 100644 modules/home/soispha/files/manifest_json/default.nix delete mode 100644 modules/home/soispha/files/manifest_json/profile/manifest.json delete mode 100644 modules/home/soispha/files/wallpaper/abstract-nord.png delete mode 100644 modules/home/soispha/files/wallpaper/default.nix (limited to 'modules/home/soispha/files') diff --git a/modules/home/soispha/files/default.nix b/modules/home/soispha/files/default.nix deleted file mode 100644 index 16fe9afe..00000000 --- a/modules/home/soispha/files/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{...}: { - imports = [ - ./wallpaper - ./manifest_json - ]; -} diff --git a/modules/home/soispha/files/manifest_json/default.nix b/modules/home/soispha/files/manifest_json/default.nix deleted file mode 100644 index af8d85d2..00000000 --- a/modules/home/soispha/files/manifest_json/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - ... -}: { - home = { - activation = { - addManifestJson = - lib.hm.dag.entryAfter ["writeBoundary"] - '' - [ -L "${config.xdg.stateHome}/nix/profiles/profile" ] && $DRY_RUN_CMD rm $VERBOSE_ARG "${config.xdg.stateHome}/nix/profiles/profile" - $DRY_RUN_CMD ln -s $DRY_RUN_CMD "${./profile}" "${config.xdg.stateHome}/nix/profiles/profile" - ''; - }; - }; -} diff --git a/modules/home/soispha/files/manifest_json/profile/manifest.json b/modules/home/soispha/files/manifest_json/profile/manifest.json deleted file mode 100644 index bd74d935..00000000 --- a/modules/home/soispha/files/manifest_json/profile/manifest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "elements": [], - "version": 2 -} diff --git a/modules/home/soispha/files/wallpaper/abstract-nord.png b/modules/home/soispha/files/wallpaper/abstract-nord.png deleted file mode 100644 index 5ef498bf..00000000 Binary files a/modules/home/soispha/files/wallpaper/abstract-nord.png and /dev/null differ diff --git a/modules/home/soispha/files/wallpaper/default.nix b/modules/home/soispha/files/wallpaper/default.nix deleted file mode 100644 index 119df225..00000000 --- a/modules/home/soispha/files/wallpaper/default.nix +++ /dev/null @@ -1,14 +0,0 @@ -{config, ...}: { - home = { - sessionVariables = { - WALLPAPER = "${config.home.homeDirectory}/media/pictures/wallpaper"; - }; - - file = { - wallpaper = { - source = ./abstract-nord.png; - target = "media/pictures/wallpaper"; - }; - }; - }; -} -- cgit 1.4.1