From c1d9af57156f3c95590d9a12c394ee064df9696e Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 20 Dec 2025 15:25:38 +0100 Subject: added disko config for laptop, added storage and memory modules --- hm/conf/xdg-dirs.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hm/conf/xdg-dirs.nix') diff --git a/hm/conf/xdg-dirs.nix b/hm/conf/xdg-dirs.nix index 2bd9e64..c6cf03b 100644 --- a/hm/conf/xdg-dirs.nix +++ b/hm/conf/xdg-dirs.nix @@ -1,9 +1,9 @@ { config, lib, ... }: let - cfg = config.szpont.hm.conf.xdg-dirs; + cfg = config.hm.conf.xdg-dirs; in { - options.szpont.hm.conf.xdg-dirs = { + options.hm.conf.xdg-dirs = { enable = lib.mkEnableOption "enables xdg dirs"; mediaPath = lib.mkOption { @@ -12,7 +12,6 @@ in description = "base path for media"; }; }; - config = lib.mkIf cfg.enable { xdg.userDirs = { enable = true; @@ -46,6 +45,5 @@ in XDG_CLIPS_DIR = "${toString cfg.mediaPath}/vids/clips"; XDG_ARCHIVE_DIR = "${toString cfg.mediaPath}/archive"; }; - }; } -- cgit v1.3