new server migration

This commit is contained in:
Henry Hiles 2026-02-24 21:43:03 -05:00
commit 28c12483f6
No known key found for this signature in database
2 changed files with 10 additions and 5 deletions

View file

@ -0,0 +1,7 @@
{ modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
];
}

View file

@ -1,16 +1,13 @@
{ inputs, ... }:
{
imports = [ inputs.disko.nixosModules.disko ];
disko.devices.disk.main = {
type = "disk";
device = "/dev/sda";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "1G";
type = "EF00";
@ -21,6 +18,7 @@
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {