why?
This commit is contained in:
parent
16fa4956e5
commit
a5b5ea7f59
28 changed files with 164 additions and 123 deletions
|
@ -1,4 +1,7 @@
|
|||
{ lib, config, ... }: lib.mkIf config.withImpermanence {
|
||||
{ lib, config, ... }: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) conf;
|
||||
in mkIf conf.impermanence.enable {
|
||||
environment.persistence."/persist" = {
|
||||
enable = true;
|
||||
directories = [
|
||||
|
@ -14,7 +17,7 @@
|
|||
"/etc/shadow"
|
||||
];
|
||||
|
||||
users.${config.username}= {
|
||||
users.${conf.username}= {
|
||||
directories = [
|
||||
"Documents"
|
||||
"Pictures"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue