global/hm-system-defaults: move xdg user dirs into defaults
This commit is contained in:
parent
5a13b371bc
commit
7554ded3fe
2 changed files with 4 additions and 9 deletions
|
@ -10,9 +10,6 @@
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
({ profiles, ... }: {
|
({ profiles, ... }: {
|
||||||
imports = with profiles; [
|
imports = with profiles; [
|
||||||
# Base configuration
|
|
||||||
xdg
|
|
||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
direnv
|
direnv
|
||||||
emacs
|
emacs
|
||||||
|
@ -43,6 +40,10 @@
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(lib.mkIf config.services.xserver.enable {
|
(lib.mkIf config.services.xserver.enable {
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
xdg.userDirs = {
|
|
||||||
enable = true;
|
|
||||||
createDirectories = true;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue