summaryrefslogtreecommitdiff
path: root/hm/conf/xdg-dirs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/conf/xdg-dirs.nix')
-rw-r--r--hm/conf/xdg-dirs.nix6
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";
};
-
};
}