This commit is contained in:
2025-04-20 12:17:07 +08:00
parent 15ceed31d3
commit 0d98c82292

View File

@@ -18,7 +18,7 @@
}; };
# 将 /nix 目录绑定到持久化存储 # 将 /nix 目录绑定到持久化存储
fileSystems."/nix" = { fileSystems."/nix" = lib.mkForce {
device = "/dev/disk/by-label/nixos"; # 需要根据实际情况修改 device = "/dev/disk/by-label/nixos"; # 需要根据实际情况修改
fsType = "btrfs"; fsType = "btrfs";
options = [ "bind" ]; options = [ "bind" ];