summaryrefslogtreecommitdiffstats
path: root/lass/1systems/aergia/disk.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-09-09 19:42:08 +0200
committermakefu <github@syntax-fehler.de>2023-09-09 19:42:08 +0200
commit29d72c898d674d2c18fc0f4a76b5e623de0c3dfe (patch)
treefc4b0695c986a1cda6f1fbbbcbe716e203c54fa3 /lass/1systems/aergia/disk.nix
parente157ffa72856e4378aa23b096b2efff233f3cb3d (diff)
parent083229d0211096daec08673f743ccc45b1d8a0ac (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/1systems/aergia/disk.nix')
-rw-r--r--lass/1systems/aergia/disk.nix61
1 files changed, 0 insertions, 61 deletions
diff --git a/lass/1systems/aergia/disk.nix b/lass/1systems/aergia/disk.nix
deleted file mode 100644
index 848157729..000000000
--- a/lass/1systems/aergia/disk.nix
+++ /dev/null
@@ -1,61 +0,0 @@
-{ lib, ... }:
-{
- disk = {
- main = {
- type = "disk";
- device = "/dev/nvme0n1";
- content = {
- type = "table";
- format = "gpt";
- partitions = [
- {
- name = "boot";
- start = "0";
- end = "1M";
- part-type = "primary";
- flags = ["bios_grub"];
- }
- {
- name = "ESP";
- start = "1MiB";
- end = "1GiB";
- fs-type = "fat32";
- bootable = true;
- content = {
- type = "filesystem";
- format = "vfat";
- mountpoint = "/boot";
- };
- }
- {
- name = "root";
- start = "1GiB";
- end = "100%";
- content = {
- type = "luks";
- name = "aergia1";
- content = {
- type = "btrfs";
- extraArgs = "-f"; # Override existing partition
- subvolumes = {
- # Subvolume name is different from mountpoint
- "/rootfs" = {
- mountpoint = "/";
- };
- # Mountpoints inferred from subvolume name
- "/home" = {
- mountOptions = [];
- };
- "/nix" = {
- mountOptions = [];
- };
- };
- };
- };
- }
- ];
- };
- };
- };
-}
-