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 = {
|
xdg = {
|
||||||
enable = true;
|
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;
|
mimeApps.enable = true;
|
||||||
configFile."mimeapps.list".force = true;
|
configFile."mimeapps.list".force = true;
|
||||||
};
|
};
|
||||||
|
|
@ -74,10 +83,11 @@
|
||||||
custom = {
|
custom = {
|
||||||
persist = {
|
persist = {
|
||||||
home.directories = [
|
home.directories = [
|
||||||
"Documents"
|
"documents"
|
||||||
"Downloads"
|
"downloads"
|
||||||
"Pictures"
|
"pictures"
|
||||||
"Code"
|
"code"
|
||||||
|
"projects"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,6 @@ in
|
||||||
files = cfg.home.files ++ hmPersistCfg.home.files;
|
files = cfg.home.files ++ hmPersistCfg.home.files;
|
||||||
directories = lib.unique (
|
directories = lib.unique (
|
||||||
[
|
[
|
||||||
"Code"
|
|
||||||
".cache/dconf"
|
".cache/dconf"
|
||||||
".config/dconf"
|
".config/dconf"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
dots = "/persist${config.hm.home.homeDirectory}/Code/nix-config";
|
dots = "/persist${config.hm.home.homeDirectory}/code/nix-config";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# execute shebangs that assume hardcoded shell paths
|
# execute shebangs that assume hardcoded shell paths
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
"keyd"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue