also create the home persistent directory
This commit is contained in:
parent
de28bcab3c
commit
29da05c376
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ with lib; {
|
||||||
|
|
||||||
${pkgs.btrfs-progs}/bin/btrfs subvolume create ${cfg.home}
|
${pkgs.btrfs-progs}/bin/btrfs subvolume create ${cfg.home}
|
||||||
chown -R ${name}:${cfg.group} ${cfg.home}
|
chown -R ${name}:${cfg.group} ${cfg.home}
|
||||||
|
|
||||||
|
mkdir -p /persistent/home/${cfg.home}
|
||||||
|
chown -R ${name}:${cfg.group} ${cfg.home}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue