chore(nixos): limit parallel jobs and set cores in config files
Some checks failed
Flake checker / Build Nix targets (push) Failing after 58s
Some checks failed
Flake checker / Build Nix targets (push) Failing after 58s
This commit is contained in:
2
Makefile
2
Makefile
@@ -20,7 +20,7 @@ home:
|
||||
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake .#mirai -b backup
|
||||
|
||||
nixos:
|
||||
sudo nixos-rebuild switch --flake .
|
||||
sudo nixos-rebuild switch --flake . -j 1
|
||||
|
||||
deck:
|
||||
nix run home-manager/master -- switch --flake .#deck
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
max-jobs = 1;
|
||||
cores = 8;
|
||||
auto-optimise-store = true;
|
||||
extra-experimental-features = "nix-command flakes auto-allocate-uids";
|
||||
trusted-users = ["root" "fs0c131y" "remotebuilder"];
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
max-jobs = 1;
|
||||
cores = 12;
|
||||
auto-optimise-store = true;
|
||||
extra-experimental-features = "nix-command flakes auto-allocate-uids";
|
||||
trusted-users = ["root" "servius"];
|
||||
|
||||
Reference in New Issue
Block a user