diff options
| author | adikro <adikro@disroot.org> | 2025-12-20 15:25:38 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-12-20 15:25:38 +0100 |
| commit | c1d9af57156f3c95590d9a12c394ee064df9696e (patch) | |
| tree | 7e515761590c510c30329ef8548c7d84a8e95aaa /hm/conf/xdg-dirs.nix | |
| parent | 791bc419b6dac7c70951981ef6b34cdf85828470 (diff) | |
added disko config for laptop, added storage and memory modules
Diffstat (limited to 'hm/conf/xdg-dirs.nix')
| -rw-r--r-- | hm/conf/xdg-dirs.nix | 6 |
1 files changed, 2 insertions, 4 deletions
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"; }; - }; } |
