task | add vps target for nixos-anywhere

This commit is contained in:
Don Harper 2024-10-12 17:51:20 -05:00
parent 98e053689e
commit 90f4982bd8
4 changed files with 10 additions and 3 deletions

View file

@ -48,7 +48,7 @@
];
users.users.root = {
initialPassword = "d4u5c3k";
initialPassword = "changeme";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINd8AdVbQQ/Fmw+b9mI8EMYqIoRkwmSwAOtmlte3incL don@loki"
];

View file

@ -8,7 +8,7 @@
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./disk-config-vm.nix
./disk-config-vps.nix
];
boot = {
kernelPackages = pkgs.linuxPackages_latest;

View file

@ -2,7 +2,7 @@
{lib, ...}: {
disko.devices = {
disk.disk1 = {
device = lib.mkDefault "/dev/vda";
device = lib.mkDefault "/dev/sda";
type = "disk";
content = {
type = "gpt";

View file

@ -22,5 +22,12 @@
./configuration-vm.nix
];
};
nixosConfigurations.w2 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
disko.nixosModules.disko
./configuration-vps.nix
];
};
};
}