diff options
Diffstat (limited to 'hm/conf/xdg-dirs.nix')
| -rw-r--r-- | hm/conf/xdg-dirs.nix | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/hm/conf/xdg-dirs.nix b/hm/conf/xdg-dirs.nix index ee34bd0..ba5b063 100644 --- a/hm/conf/xdg-dirs.nix +++ b/hm/conf/xdg-dirs.nix @@ -6,10 +6,10 @@ in options.hm.conf.xdg-dirs = { enable = lib.mkEnableOption "enables xdg dirs"; - mediaPath = lib.mkOption { + storagePath = lib.mkOption { type = lib.types.path; default = config.home.homeDirectory; - description = "base path for media"; + description = "base path for storage"; }; }; config = lib.mkIf cfg.enable { @@ -20,8 +20,8 @@ in download = "${config.home.homeDirectory}/dl"; documents = "${config.home.homeDirectory}/docs"; - pictures = "${toString cfg.mediaPath}/pics"; - videos = "${toString cfg.mediaPath}/vids"; + pictures = "${toString cfg.storagePath}/pics"; + videos = "${toString cfg.storagePath}/vids"; desktop = null; music = null; @@ -31,23 +31,23 @@ in extraConfig = { PROJECTS = "${config.home.homeDirectory}/proj"; GAMES = "${config.home.homeDirectory}/games"; - MEDIA = "${toString cfg.mediaPath}"; - SS = "${toString cfg.mediaPath}/pics/ss"; - CLIPS = "${toString cfg.mediaPath}/vids/clips"; - MOVIES = "${toString cfg.mediaPath}/movies"; - ANIME = "${toString cfg.mediaPath}/anime"; - ARCHIVE = "${toString cfg.mediaPath}/archive"; + storage = "${toString cfg.storagePath}"; + SS = "${toString cfg.storagePath}/pics/ss"; + CLIPS = "${toString cfg.storagePath}/vids/clips"; + MOVIES = "${toString cfg.storagePath}/movies"; + ANIME = "${toString cfg.storagePath}/anime"; + ARCHIVE = "${toString cfg.storagePath}/archive"; }; }; home.sessionVariables = { PROJECTS = "${config.home.homeDirectory}/proj"; GAMES = "${config.home.homeDirectory}/games"; - MEDIA = "${toString cfg.mediaPath}"; - SS = "${toString cfg.mediaPath}/pics/ss"; - CLIPS = "${toString cfg.mediaPath}/vids/clips"; - MOVIES = "${toString cfg.mediaPath}/movies"; - ANIME = "${toString cfg.mediaPath}/anime"; - ARCHIVE = "${toString cfg.mediaPath}/archive"; + storage = "${toString cfg.storagePath}"; + SS = "${toString cfg.storagePath}/pics/ss"; + CLIPS = "${toString cfg.storagePath}/vids/clips"; + MOVIES = "${toString cfg.storagePath}/movies"; + ANIME = "${toString cfg.storagePath}/anime"; + ARCHIVE = "${toString cfg.storagePath}/archive"; }; }; } |
