summaryrefslogtreecommitdiff
path: root/hosts/oixos/disko.nix
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-09-02 10:16:21 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-09-02 10:16:21 +0530
commitc38acc6dce1075ae7e73dedf018be69202900054 (patch)
treece676853cff426c6b5d41c7e7930d1e20c41fe11 /hosts/oixos/disko.nix
parentca4cff791d8cc0fec5a487cd50229d299ddd0d24 (diff)
oixos
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 = "/";
+ };
+ };
+ };
+ };
+ };
+ };
+}