Graduate eirene
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -210,8 +210,6 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems = builtins.mapAttrs (_: _: { neededForBoot = true; }) cfg;
|
||||
|
||||
systemd = {
|
||||
mounts = builtins.map (c: {
|
||||
description = c.path;
|
||||
@@ -274,11 +272,17 @@ in
|
||||
);
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
"/etc/nixos" = { };
|
||||
"/var/lib/nixos" = { };
|
||||
"/var/lib/systemd" = { };
|
||||
"/var/log" = { };
|
||||
fileSystems = builtins.mapAttrs (_: _: { neededForBoot = true; }) cfg // {
|
||||
"/persist".neededForBoot = true;
|
||||
};
|
||||
|
||||
environment.persistence = {
|
||||
"/persist/user"."/etc/nixos" = { };
|
||||
"/persist/state" = {
|
||||
"/var/lib/nixos" = { };
|
||||
"/var/lib/systemd" = { };
|
||||
"/var/log" = { };
|
||||
};
|
||||
};
|
||||
|
||||
assertions =
|
||||
|
Reference in New Issue
Block a user