zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit 78c24855a65b50a58d412e8cdd6584fc735aad67
parent 2c2c91eb018b803010d66aa57b0ae811eee9ad49
Author: Katja (zaphyra) <git@ctu.cx>
Date: Mon, 9 Jun 2025 19:23:10 +0200

config/nixos/modules/filesystems/rootDisk: remove `btrfs` support
1 file changed, 0 insertions(+), 22 deletions(-)
diff --git a/config/nixos/modules/filesystem/rootDisk.nix b/config/nixos/modules/filesystem/rootDisk.nix
@@ -35,7 +35,6 @@ in
     type = {
       type = types.enum [
         "zfs"
-        "btrfs"
         "ext4"
       ];
     };

@@ -323,27 +322,6 @@ in
                             mountpoint = "/";
                           }
                         ))
-                        (lib.mkIf (cfg.type == "btrfs") (
-                          part "root" {
-                            type = "btrfs";
-                            subvolumes = {
-                              "/nixos/@" = {
-                                mountpoint = "/";
-                              };
-                              "/nixos/@home" = {
-                                mountOptions = [ "compress=zstd" ];
-                                mountpoint = "/home";
-                              };
-                              "/nixos/@nix" = {
-                                mountOptions = [
-                                  "compress=zstd"
-                                  "noatime"
-                                ];
-                                mountpoint = "/nix";
-                              };
-                            };
-                          }
-                        ))
                         (lib.mkIf (cfg.type == "zfs") {
                           type = "zfs";
                           pool = hostConfig.hostName;