diff options
author | tzlil <tzlils@protonmail.com> | 2023-08-01 13:50:36 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-08-01 13:50:54 +0300 |
commit | d30321f88b414fa1499c831748a039f0ca9c46ba (patch) | |
tree | 6e5f81c097b8d8300d9d290d7e3aa780cec25f0e /hosts/vm/disko.nix | |
parent | 8566b6d3a58f10ea77dfec43ee25ae1e2ea33fc5 (diff) |
dont need vm host
Diffstat (limited to 'hosts/vm/disko.nix')
-rw-r--r-- | hosts/vm/disko.nix | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/hosts/vm/disko.nix b/hosts/vm/disko.nix deleted file mode 100644 index b7785d9..0000000 --- a/hosts/vm/disko.nix +++ /dev/null @@ -1,52 +0,0 @@ -{inputs, ...}: let - device = "/dev/sda"; -in { - imports = [ - inputs.disko.nixosModules.disko - ]; - - disko.devices = { - disk.${baseNameOf device} = { - inherit device; - type = "disk"; - content = { - type = "table"; - format = "gpt"; - partitions = [ - { - type = "partition"; - name = "ESP"; - start = "1MiB"; - end = "512MiB"; - bootable = true; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - } - { - name = "nix"; - type = "partition"; - start = "512M"; - end = "100%"; - part-type = "primary"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/nix"; - }; - } - ]; - }; - }; - nodev."/" = { - fsType = "tmpfs"; - mountOptions = [ - "size=3G" - "defaults" - "mode=755" - ]; - }; - }; -} |