summaryrefslogtreecommitdiff
path: root/modules/nixos/disko
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-04-03 21:26:04 +0200
committerandromeda <andromeda@lenovo>2026-04-03 21:26:04 +0200
commit2ef56f1479e8b64fc656b29e89fbdec3969c8078 (patch)
treea858066f1122bc436c84ca63ed37f01761289bba /modules/nixos/disko
parentde1879b9a0b9a412068785d81cc17bbf947d0eef (diff)
tidy a bit
Diffstat (limited to 'modules/nixos/disko')
-rw-r--r--modules/nixos/disko/remote.nix64
1 files changed, 0 insertions, 64 deletions
diff --git a/modules/nixos/disko/remote.nix b/modules/nixos/disko/remote.nix
deleted file mode 100644
index 0b2e726..0000000
--- a/modules/nixos/disko/remote.nix
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- disko.devices = {
- disk = {
- disk1 = {
- device = "/dev/sda";
- type = "disk";
- content = {
- type = "gpt";
- partitions = {
- # legacy boot
- boot = {
- name = "boot";
- size = "1M";
- type = "EF02";
- };
-
- # efi boot
- esp = {
- name = "ESP";
- size = "512M";
- type = "EF00";
- content = {
- type = "filesystem";
- format = "vfat";
- mountpoint = "/boot";
- };
- };
-
- # btrfs
- # root is on nodev
- root = {
- size = "100%";
- content = {
- extraArgs = ["-f"]; # internet told me to, works
- type = "btrfs";
- subvolumes = {
- # nix store
- "/nix" = {
- mountpoint = "/nix";
- };
-
- # persistant directory
- "/persist" = {
- mountpoint = "/persist";
- };
- };
- };
- };
- };
- };
- };
- };
- nodev = {
- # root
- "/" = {
- fsType = "tmpfs";
- mountOptions = [
- "defaults"
- "mode=755" # stops security complaints
- ];
- };
- };
- };
-}