fix: NixOS | change persistence config and set up for re-install

This commit is contained in:
2025-02-08 14:33:29 +05:00
parent 523297f96d
commit ee9fae50c6

View File

@@ -15,7 +15,7 @@ in {
boot = {
loader = {
# Set this to true on first install. This must be false for secure boot.
systemd-boot.enable = lib.mkForce false;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
@@ -45,7 +45,7 @@ in {
'';
lanzaboote = {
enable = true;
enable = false;
pkiBundle = "/var/lib/sbctl";
};
};
@@ -201,7 +201,7 @@ in {
protonup-qt
];
environment.persistence."/persistant" = {
environment.persistence."/persistent" = {
hideMounts = true;
directories = [
"/var/log"
@@ -209,6 +209,7 @@ in {
"/var/lib/nixos"
"/var/lib/sbctl"
"/var/lib/systemd/coredump"
"/var/lib/sbctl"
"/etc/NetworkManager/system-connections"
];
files = [