fix uuids for drives

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-16 11:05:58 -06:00
parent 8dddb1588d
commit 29e83501bf
3 changed files with 11 additions and 4 deletions

View file

@ -6,8 +6,8 @@
... ...
}: }:
let let
BOOT = "/dev/disk/by-uuid/ABDB-2A38"; BOOT = "/dev/disk/by-uuid/B053-15C4";
PRIMARY = "/dev/disk/by-uuid/08610781-26d3-456f-9026-35dd4a40846f"; PRIMARY = "/dev/disk/by-uuid/983e060c-e939-4abb-8703-137930bceaed";
SWAP = "/dev/disk/by-uuid/e4b53a74-6fde-4e72-b925-be3a249e37be"; SWAP = "/dev/disk/by-uuid/e4b53a74-6fde-4e72-b925-be3a249e37be";

View file

@ -74,10 +74,16 @@
users.users.nixos = { users.users.nixos = {
password = "password"; password = "password";
initialHashedPassword = lib.mkForce null; initialHashedPassword = lib.mkForce null;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH2KFSRkViT+asBTjCgA7LNP3SHnfNCW+jHbV08VUuIi nix2nix"
];
}; };
users.users.root = { users.users.root = {
password = "password"; password = "password";
initialHashedPassword = lib.mkForce null; initialHashedPassword = lib.mkForce null;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH2KFSRkViT+asBTjCgA7LNP3SHnfNCW+jHbV08VUuIi nix2nix"
];
}; };
} }
) )

View file

@ -87,7 +87,7 @@
# TODO ensure matches configuration.nix, and add anything else from there that is needed # TODO ensure matches configuration.nix, and add anything else from there that is needed
system.stateVersion = "25.11"; system.stateVersion = "25.11";
# TODO get latest or use linuxPackages_latest # TODO get latest or use linuxPackages_latest
# not sure what I should # not sure what I should
# boot.kernelPackages = pkgs.linuxPackages_6_18; # boot.kernelPackages = pkgs.linuxPackages_6_18;
# No ssh pub keys setup yet, allow password login, TODO remove # No ssh pub keys setup yet, allow password login, TODO remove
@ -134,7 +134,8 @@
"networkmanager" "networkmanager"
]; ];
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
# TODO set a public key for access # TODO setup public keys
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH2KFSRkViT+asBTjCgA7LNP3SHnfNCW+jHbV08VUuIi nix2nix"
]; ];
}; };
}; };