Archived
updated proxmox disko configuration
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user