aboutsummaryrefslogtreecommitdiff
path: root/hosts/enode/disko.nix
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-09-01 15:46:19 +0200
committerIsabella Bastaja <isabella@sorre.xyz>2026-09-01 18:30:09 +0200
commit7a7c28526353ec6f88a291c990285ba27b8e99a4 (patch)
treed08aca1cf67e397b110baaafc7267c4fe9384c6c /hosts/enode/disko.nix
parent1ffea307409d72cf2d8ac91475dce44c98c8956a (diff)
tower: fix static host
Diffstat (limited to 'hosts/enode/disko.nix')
-rw-r--r--hosts/enode/disko.nix32
1 files changed, 32 insertions, 0 deletions
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 = "/";
+ };
+ };
+ };
+ };
+ };
+}