From ee9fae50c6e6b96b7bea15bfb88e88392de3e0db Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Sat, 8 Feb 2025 14:33:29 +0500 Subject: [PATCH] fix: NixOS | change persistence config and set up for re-install --- nixos/configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 271f1f9..e892903 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -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 = [