From f0df66e74cc1053e0fb1d1bafdea493f0e600145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sat, 3 May 2025 18:27:00 +0200 Subject: [PATCH] Home Gen511 @ 2025-05-03-18:26 by jonas@comfy-station --- modules/default.nix | 1 - modules/home/plasma.nix | 6 ++++++ modules/home/wallpaper.nix | 16 ---------------- 3 files changed, 6 insertions(+), 17 deletions(-) delete mode 100644 modules/home/wallpaper.nix diff --git a/modules/default.nix b/modules/default.nix index 0756c2b..fb3d4ee 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -42,7 +42,6 @@ ./home/kdeconnect.nix ./home/plasma.nix ./home/ssh.nix - ./home/wallpaper.nix ./home/yubikey.nix ]; } diff --git a/modules/home/plasma.nix b/modules/home/plasma.nix index 64e24d8..fe433cf 100644 --- a/modules/home/plasma.nix +++ b/modules/home/plasma.nix @@ -12,6 +12,12 @@ in { # load hm-vars in x-session xsession.enable = true; + # symlink wallpapers + home.file.".local/share/wallpaper" = { + source = ../../static/wallpaper; + recursive = true; + }; + # Use kvantum-theme home.sessionVariables = { QT_STYLE_OVERRIDE = "kvantum"; diff --git a/modules/home/wallpaper.nix b/modules/home/wallpaper.nix deleted file mode 100644 index 5f5d2c3..0000000 --- a/modules/home/wallpaper.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.hive.wallpaper; -in { - options.hive.wallpaper.enable = lib.mkEnableOption "Wallpaper symlink"; - - config = lib.mkIf cfg.enable { - home.file.".local/share/wallpaper" = { - source = ./static/wallpaper; - recursive = true; - }; - }; -}