fix: remove disk config from ksios

This commit is contained in:
Noa Aarts 2024-09-14 21:25:40 +02:00
parent 5f8f2c1453
commit 49366063a0
Signed by: noa
GPG key ID: 1850932741EFF672
2 changed files with 0 additions and 42 deletions

View file

@ -112,7 +112,6 @@
inherit nix-colors; inherit nix-colors;
}; };
modules = [ modules = [
disko.nixosModules.disko
inputs.mailserver.nixosModules.default inputs.mailserver.nixosModules.default
./hosts/ksios/configuration.nix ./hosts/ksios/configuration.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default

View file

@ -1,41 +0,0 @@
# Example to create a bios compatible gpt partition
{ lib, ... }:
{
disko.devices = {
disk.disk1 = {
device = lib.mkDefault "/dev/xvda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
name = "boot";
size = "1M";
type = "EF02";
};
esp = {
name = "ESP";
size = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"
];
};
};
};
};
};
};
}