diff options
| author | Fuwn <[email protected]> | 2024-09-19 08:16:37 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-19 08:16:37 -0700 |
| commit | a2429bb7ea3a6e8b9c74ef441a1ceceafc828753 (patch) | |
| tree | 75c73b94f4d7ed060f6d26e5385c49877f47cdb2 | |
| parent | himeji: add fastfetch (diff) | |
| download | nixos-config-a2429bb7ea3a6e8b9c74ef441a1ceceafc828753.tar.xz nixos-config-a2429bb7ea3a6e8b9c74ef441a1ceceafc828753.zip | |
nix: update cgroups usage
| -rw-r--r-- | modules/nix/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index f7d86b3..7a24f0a 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -55,7 +55,7 @@ keep-going = true; stalled-download-timeout = 20; auto-allocate-uids = true; - use-cgroups = true; + use-cgroups = pkgs.stdenv.isLinux; builders-use-substitutes = true; nix-path = lib.mkForce "nixpkgs=flake:nixpkgs"; flake-registry = "${inputs.flake-registry}/flake-registry.json"; |