change xdg dirs
This commit is contained in:
parent
41f64cf880
commit
44bd191f2a
4 changed files with 17 additions and 7 deletions
|
|
@ -64,7 +64,16 @@
|
|||
|
||||
xdg = {
|
||||
enable = true;
|
||||
userDirs.enable = true;
|
||||
userDirs =
|
||||
let
|
||||
homeDir = config.home.homeDirectory;
|
||||
in {
|
||||
enable = true;
|
||||
download = "${homeDir}/downloads";
|
||||
music = "${homeDir}/music";
|
||||
pictures = "${homeDir}/pictures";
|
||||
videos = "${homeDir}/videos";
|
||||
};
|
||||
mimeApps.enable = true;
|
||||
configFile."mimeapps.list".force = true;
|
||||
};
|
||||
|
|
@ -74,10 +83,11 @@
|
|||
custom = {
|
||||
persist = {
|
||||
home.directories = [
|
||||
"Documents"
|
||||
"Downloads"
|
||||
"Pictures"
|
||||
"Code"
|
||||
"documents"
|
||||
"downloads"
|
||||
"pictures"
|
||||
"code"
|
||||
"projects"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@ in
|
|||
files = cfg.home.files ++ hmPersistCfg.home.files;
|
||||
directories = lib.unique (
|
||||
[
|
||||
"Code"
|
||||
".cache/dconf"
|
||||
".config/dconf"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
dots = "/persist${config.hm.home.homeDirectory}/Code/nix-config";
|
||||
dots = "/persist${config.hm.home.homeDirectory}/code/nix-config";
|
||||
in
|
||||
{
|
||||
# execute shebangs that assume hardcoded shell paths
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"keyd"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue