This commit is contained in:
mjallen18
2026-03-13 20:01:27 -05:00
parent c5e97ac853
commit 4f4b7865eb
3 changed files with 16 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ let
inherit (lib.${namespace}) disabled;
in
{
home.username = "root";
home.username = "nixos";
services = {
nextcloud-client = lib.mkForce disabled;
kdeconnect = {

View File

@@ -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;
};

View File

@@ -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.