diff --git a/homes/x86_64-linux/nixos@iso-minimal/default.nix b/homes/x86_64-linux/nixos@iso-minimal/default.nix index 281b2f1..012bbfc 100644 --- a/homes/x86_64-linux/nixos@iso-minimal/default.nix +++ b/homes/x86_64-linux/nixos@iso-minimal/default.nix @@ -7,7 +7,7 @@ let inherit (lib.${namespace}) disabled; in { - home.username = "root"; + home.username = "nixos"; services = { nextcloud-client = lib.mkForce disabled; kdeconnect = { diff --git a/systems/x86_64-install-iso/graphical/default.nix b/systems/x86_64-install-iso/graphical/default.nix index 3dcc501..26efd78 100644 --- a/systems/x86_64-install-iso/graphical/default.nix +++ b/systems/x86_64-install-iso/graphical/default.nix @@ -16,7 +16,7 @@ # # Desktop # # # ################################################### - desktop.cosmic.enable = true; + desktop.cosmic.enable = false; # ################################################### # # Hardware # # @@ -64,9 +64,14 @@ user = { name = "nixos"; linger = true; + password = "nixos"; }; }; + fileSystems = { + "/etc".neededForBoot = true; + }; + home-manager.users.nixos.snowfallorg.user.name = "nixos"; # ################################################### @@ -74,7 +79,7 @@ # ################################################### boot = { - kernelPackages = lib.mkForce pkgs.linuxPackages_cachyos-lto; + kernelPackages = lib.mkForce pkgs.linuxPackages_latest; supportedFilesystems.zfs = false; }; diff --git a/systems/x86_64-linux/iso-minimal/default.nix b/systems/x86_64-linux/iso-minimal/default.nix index 41168b2..aa0c81c 100644 --- a/systems/x86_64-linux/iso-minimal/default.nix +++ b/systems/x86_64-linux/iso-minimal/default.nix @@ -78,7 +78,6 @@ in user = { name = "nixos"; - linger = true; # Plain-text password for the live ISO session. # The user module assertion requires at least one password method. password = "nixos"; @@ -88,21 +87,19 @@ in }; }; - specialisation.graphical.configuation = { + specialisation.graphical.configuration = { # ################################################### # # Desktop # # # ################################################### ${namespace}.desktop.cosmic.enable = true; }; - # home-manager.users.nixos.snowfallorg.user.name = "nixos"; - # ################################################### # # Boot # # # ################################################### boot = { - kernelPackages = lib.mkForce pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto; + kernelPackages = lib.mkForce pkgs.linuxPackages_latest; supportedFilesystems.zfs = false; }; @@ -120,8 +117,13 @@ in }; }; + + fileSystems = { + "/etc".neededForBoot = true; + }; + # nixos-anywhere connects as root; ensure root also trusts all our keys. - users.users.root.openssh.authorizedKeys.keys = sopsPublicKeys; + # users.users.root.openssh.authorizedKeys.keys = sopsPublicKeys; # Sops is not usable on a live ISO (no persistent host key to decrypt with). # Disable sops validation to prevent build/boot failures.