From f44d3c2d1a3731ac1b29b346fa24b463e395339b Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 20 Apr 2025 12:08:44 +0800 Subject: [PATCH] fix --- modules/nixos/tmpsys.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/tmpsys.nix b/modules/nixos/tmpsys.nix index 034f7dd..bc571f8 100644 --- a/modules/nixos/tmpsys.nix +++ b/modules/nixos/tmpsys.nix @@ -6,7 +6,7 @@ ]; # 启用 tmpfs 作为根文件系统 - fileSystems."/" = { + fileSystems."/" = lib.mkForce{ device = "none"; fsType = "tmpfs"; options = [ "defaults" "size=2G" "mode=755" ];