Don't generate folders on systems that don't need them
This commit is contained in:
parent
def300827a
commit
355f3cad60
1 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, impermanence, ... }:
|
{ config, lib, impermanence, ... }:
|
||||||
{
|
{
|
||||||
imports = [ impermanence.homeManagerModules.impermanence ];
|
imports = [ impermanence.homeManagerModules.impermanence ];
|
||||||
|
|
||||||
|
@ -6,19 +6,20 @@
|
||||||
directories = [
|
directories = [
|
||||||
"Keepers"
|
"Keepers"
|
||||||
"Projects"
|
"Projects"
|
||||||
|
|
||||||
|
".ssh"
|
||||||
|
".gnupg"
|
||||||
|
] ++ (if config.home.desktop.enable then [
|
||||||
"Documents"
|
"Documents"
|
||||||
"Pictures"
|
"Pictures"
|
||||||
"Videos"
|
"Videos"
|
||||||
"Games"
|
"Games"
|
||||||
"VMs"
|
"VMs"
|
||||||
|
|
||||||
".ssh"
|
|
||||||
".gnupg"
|
|
||||||
|
|
||||||
".config/sunshine"
|
".config/sunshine"
|
||||||
".local/share/keyrings"
|
".local/share/keyrings"
|
||||||
".local/state/wireplumber"
|
".local/state/wireplumber"
|
||||||
];
|
] else []);
|
||||||
allowOther = false;
|
allowOther = false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue