mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
modules.system.nix: add workaround for flake input with lfs
This commit is contained in:
@@ -46,6 +46,8 @@ inputs:
|
||||
keep-going = true;
|
||||
keep-outputs = true;
|
||||
};
|
||||
# TODO: remove after https://github.com/NixOS/nix/pull/10153 get merged
|
||||
nix.package = inputs.pkgs.nixVersions.nix_2_18;
|
||||
systemd.services.nix-daemon = { serviceConfig.CacheDirectory = "nix"; environment.TMPDIR = "/var/cache/nix"; };
|
||||
}
|
||||
# nix daemon use lower io/cpu priority
|
||||
|
||||
Reference in New Issue
Block a user