This commit is contained in:
twoneis 2024-08-02 23:49:06 +02:00
parent 16fa4956e5
commit a5b5ea7f59
28 changed files with 164 additions and 123 deletions

View file

@ -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"