diff --git a/hosts/common/disks/test-disk.nix b/hosts/common/disks/test-disk.nix deleted file mode 100644 index 53afb8e..0000000 --- a/hosts/common/disks/test-disk.nix +++ /dev/null @@ -1,43 +0,0 @@ -# NOTE: ... is needed because dikso passes diskoFile -{ - lib, - disk ? "/dev/vda", - withSwap ? false, - swapSize, - ... -}: { - disko.devices = { - disk = { - disk0 = { - type = "disk"; - device = disk; - content = { - type = "gpt"; - partitions = { - boot = { - priority = 1; - name = "ESP"; - start = "1M"; - end = "512M"; - type = "EF02"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - mountOptions = ["defaults"]; - }; - }; - root = { - size = "100%"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - }; - }; - }; - }; - }; - }; - }; -} diff --git a/hosts/nixos/Michishirube/default.nix b/hosts/nixos/Michishirube/default.nix index 3fd3214..ca34897 100644 --- a/hosts/nixos/Michishirube/default.nix +++ b/hosts/nixos/Michishirube/default.nix @@ -14,7 +14,7 @@ in { imports = lib.flatten [ # Disks inputs.disko.nixosModules.disko - (lib.custom.relativeToRoot "hosts/common/disks/test-disk.nix") + (lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix") { _module.args = { disk = "/dev/sda";