aboutsummaryrefslogtreecommitdiff
path: root/hosts/enode/disko.nix
diff options
context:
space:
mode:
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 = "/";
+ };
+ };
+ };
+ };
+ };
+}