From 49366063a02c9e38c44db455d301df3e3772c97c Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Sat, 14 Sep 2024 21:25:40 +0200 Subject: [PATCH] fix: remove disk config from ksios --- flake.nix | 1 - hosts/ksios/disk-config.nix | 41 ------------------------------------- 2 files changed, 42 deletions(-) delete mode 100644 hosts/ksios/disk-config.nix diff --git a/flake.nix b/flake.nix index ad750a8..20c408b 100644 --- a/flake.nix +++ b/flake.nix @@ -112,7 +112,6 @@ inherit nix-colors; }; modules = [ - disko.nixosModules.disko inputs.mailserver.nixosModules.default ./hosts/ksios/configuration.nix inputs.home-manager.nixosModules.default diff --git a/hosts/ksios/disk-config.nix b/hosts/ksios/disk-config.nix deleted file mode 100644 index 0e7e245..0000000 --- a/hosts/ksios/disk-config.nix +++ /dev/null @@ -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" - ]; - }; - }; - }; - }; - }; - }; -}