also create the home persistent directory

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-05 13:59:12 +01:00
parent de28bcab3c
commit 29da05c376

View file

@ -62,6 +62,9 @@ with lib; {
${pkgs.btrfs-progs}/bin/btrfs subvolume create ${cfg.home}
chown -R ${name}:${cfg.group} ${cfg.home}
mkdir -p /persistent/home/${cfg.home}
chown -R ${name}:${cfg.group} ${cfg.home}
'';
};
}