summaryrefslogtreecommitdiff
path: root/hosts/oixos/disko.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/oixos/disko.nix')
-rw-r--r--hosts/oixos/disko.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/hosts/oixos/disko.nix b/hosts/oixos/disko.nix
new file mode 100644
index 0000000..e77f368
--- /dev/null
+++ b/hosts/oixos/disko.nix
@@ -0,0 +1,36 @@
+{
+ disko.devices = {
+ disk.main = {
+ type = "disk";
+ device = "/dev/sda";
+
+ content = {
+ type = "gpt";
+
+ partitions = {
+ ESP = {
+ size = "1G";
+ type = "EF00";
+
+ content = {
+ type = "filesystem";
+ format = "vfat";
+ mountpoint = "/boot";
+ mountOptions = [ "umask=0077" ];
+ };
+ };
+
+ root = {
+ size = "100%";
+
+ content = {
+ type = "filesystem";
+ format = "ext4";
+ mountpoint = "/";
+ };
+ };
+ };
+ };
+ };
+ };
+}