recreate lock file
This commit is contained in:
@@ -2,28 +2,34 @@
|
||||
|
||||
options = {};
|
||||
|
||||
config = lib.mkIf config.disko.impermanent {
|
||||
imports = [
|
||||
self.inputs.impermanence.nixosModules.impermanence
|
||||
];
|
||||
config = lib.mkMerge [
|
||||
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
environment.persistence."/persist/system" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/etc/nixos"
|
||||
"/etc/shadow"
|
||||
"/var/log"
|
||||
"/var/lib/bluetooth"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/systemd/coredump"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
];
|
||||
};
|
||||
{
|
||||
imports = [
|
||||
self.inputs.impermanence.nixosModules.impermanence
|
||||
];
|
||||
}
|
||||
|
||||
programs.fuse.userAllowOther = true;
|
||||
};
|
||||
(lib.mkIf config.disko.impermanent {
|
||||
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
environment.persistence."/persist/system" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/etc/nixos"
|
||||
"/etc/shadow"
|
||||
"/var/log"
|
||||
"/var/lib/bluetooth"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/systemd/coredump"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
];
|
||||
};
|
||||
|
||||
programs.fuse.userAllowOther = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user