diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-09-01 15:46:19 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-09-01 18:30:09 +0200 |
| commit | 7a7c28526353ec6f88a291c990285ba27b8e99a4 (patch) | |
| tree | d08aca1cf67e397b110baaafc7267c4fe9384c6c /hosts/enode | |
| parent | 1ffea307409d72cf2d8ac91475dce44c98c8956a (diff) | |
tower: fix static host
Diffstat (limited to 'hosts/enode')
| -rw-r--r-- | hosts/enode/default.nix | 1 | ||||
| -rw-r--r-- | hosts/enode/disko.nix | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/hosts/enode/default.nix b/hosts/enode/default.nix index 33790b4..bd44d79 100644 --- a/hosts/enode/default.nix +++ b/hosts/enode/default.nix @@ -1,6 +1,7 @@ { pkgs, modulesPath, ... }: { imports = [ "${modulesPath}/virtualisation/qemu-vm.nix" + # "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ./headscale.nix ./caddy.nix ]; diff --git a/hosts/enode/disko.nix b/hosts/enode/disko.nix new file mode 100644 index 0000000..82e7d5f --- /dev/null +++ b/hosts/enode/disko.nix @@ -0,0 +1,32 @@ +{ + disko.devices.disk.vm-disk = { + device = "/dev/vda"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + ESP = { + type = "EF00"; + size = "1G"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ + "umask=0077" + "nofail" + ]; + }; + }; + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; +} |
