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 ];
|
||||
|
||||
|
@ -6,19 +6,20 @@
|
|||
directories = [
|
||||
"Keepers"
|
||||
"Projects"
|
||||
|
||||
".ssh"
|
||||
".gnupg"
|
||||
] ++ (if config.home.desktop.enable then [
|
||||
"Documents"
|
||||
"Pictures"
|
||||
"Videos"
|
||||
"Games"
|
||||
"VMs"
|
||||
|
||||
".ssh"
|
||||
".gnupg"
|
||||
|
||||
".config/sunshine"
|
||||
".local/share/keyrings"
|
||||
".local/state/wireplumber"
|
||||
];
|
||||
] else []);
|
||||
allowOther = false;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue