hell n back
This commit is contained in:
parent
3ee6761b45
commit
cac7203033
45 changed files with 2988 additions and 177 deletions
21
modules/xdg/default.nix
Normal file
21
modules/xdg/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
let cfg = config.modules.xdg;
|
||||
|
||||
in {
|
||||
options.modules.xdg = { enable = mkEnableOption "xdg"; };
|
||||
config = mkIf cfg.enable {
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
documents = "$HOME/stuff/other/";
|
||||
download = "$HOME/stuff/other/";
|
||||
videos = "$HOME/stuff/other/";
|
||||
music = "$HOME/stuff/music/";
|
||||
pictures = "$HOME/stuff/pictures/";
|
||||
desktop = "$HOME/stuff/other/";
|
||||
publicShare = "$HOME/stuff/other/";
|
||||
templates = "$HOME/stuff/other/";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue