updated proxmox disko configuration
Check NixOS configurations / eval-hosts (push) Failing after 17m51s

This commit is contained in:
2026-07-18 05:54:32 +10:00
parent 1395fdaccc
commit a3230128b2
5 changed files with 3 additions and 66 deletions
+1
View File
@@ -131,6 +131,7 @@ docker = nixpkgs.lib.nixosSystem {
pxe-boot = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
inputs.disko.nixosModules.disko
./hosts/pxe-boot/configuration.nix
./modules/hardware-configuration/vm/proxmox.nix
-1
View File
@@ -8,7 +8,6 @@
imports =
[ # Include the results of the hardware scan.
../../modules/common/configuration.nix
# ../../modules/disko/linode.nix
];
# Use the GRUB 2 boot loader.
+1
View File
@@ -96,6 +96,7 @@ in
../../modules/common/configuration.nix
../../modules/nix/cache-client.nix
../../modules/nix/remote-builder-client.nix
../../modules/disko/proxmox.nix
];
networking.hostName = "pxe-boot";
-64
View File
@@ -1,64 +0,0 @@
{ ... }:
{
disko.devices = {
disk.main = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
# bios = {
# size = "1M";
# # content = {
# # type = "EF02";
# # };
# };
root = {
priority = 1;
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
extraArgs = [
"-L"
"nixos"
];
};
};
};
};
};
disk.swap = {
type = "disk";
device = "/dev/sdb";
content = {
type = "gpt";
partitions = {
swap = {
priority = 1;
size = "100%";
content = {
type = "swap";
extraArgs = [
"-L"
"swap"
];
};
};
};
};
};
};
}
@@ -12,7 +12,7 @@
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
boot.loader.grub.device = "/dev/sda2"; # or "nodev" for efi only
# fileSystems."/" =
# { device = "/dev/disk/by-label/nixos";