devices.pc: remove tf mount

This commit is contained in:
2025-12-07 10:12:51 +08:00
parent 20a019d687
commit e09fc0e745

View File

@@ -14,22 +14,14 @@ inputs:
vfat."/dev/disk/by-partlabel/pc-boot" = "/boot";
btrfs =
{
"/dev/mapper/root1" =
{
"/nix/nodatacow" = "/nix/nodatacow";
"/nix/persistent" = "/nix/persistent";
"/nix/rootfs" = "/nix/rootfs";
"/nix/swap" = "/nix/swap";
"/nix/rootfs/current" = "/";
};
"/dev/mapper/tf1"."/nix" = "/nix";
"/dev/mapper/root1" = { "/nix" = "/nix"; "/nix/rootfs/current" = "/"; };
# "/dev/mapper/tf1"."/" = "/nix/tf";
};
};
luks.auto =
{
"/dev/disk/by-partlabel/pc-root1" = { mapper = "root1"; ssd = true; };
"/dev/disk/by-partlabel/pc-tf1" = { mapper = "tf1"; ssd = true; };
"/dev/disk/by-partlabel/pc-tf2" = { mapper = "tf2"; ssd = true; };
# "/dev/disk/by-partlabel/pc-tf1" = { mapper = "tf1"; ssd = true; };
};
swap = [ "/nix/swap/swap" ];
resume = { device = "/dev/mapper/root1"; offset = 131605760; };
@@ -77,8 +69,8 @@ inputs:
);
extraInterfaces = [ "wlo1" ];
};
nix-serve = {};
beesd = { "/".hashTableSizeMB = 2 * 128; "/nix".hashTableSizeMB = 128; };
# nix-serve = {};
# beesd = { "/".hashTableSizeMB = 2 * 128; "/nix".hashTableSizeMB = 128; };
slurm =
{
enable = true;