forked from poz/niksos
move nix max jobs and cores from the alias to nix.settings
This commit is contained in:
parent
315c8a3ab8
commit
5e2b828238
1 changed files with 6 additions and 4 deletions
|
@ -86,6 +86,8 @@
|
|||
"flakes"
|
||||
"nix-command"
|
||||
];
|
||||
max-jobs = 3;
|
||||
cores = 4;
|
||||
substituters = [
|
||||
"https://nix-gaming.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
|
@ -362,10 +364,10 @@
|
|||
zsh = {
|
||||
enable = true;
|
||||
extraAliases = {
|
||||
#u = "nh os switch \"/home/jacek/niksos\" -H niks -- --use-remote-sudo --max-jobs 3 --cores 4";
|
||||
#us = "NIX_SSHOPTS='-t' nh os switch \"/home/jacek/niksos\" -H chmura -- --use-remote-sudo --target-host chmura --max-jobs 3 --cores 4";
|
||||
u = "nixos-rebuild switch --flake \"/home/jacek/niksos#niks\" -L --use-remote-sudo --max-jobs 3 --cores 4";
|
||||
us = "NIX_SSHOPTS='-t' nixos-rebuild switch --flake \"/home/jacek/niksos#chmura\" -L --use-remote-sudo --target-host chmura --max-jobs 3 --cores 4";
|
||||
#u = "nh os switch \"/home/jacek/niksos\" -H niks -- --use-remote-sudo";
|
||||
#us = "NIX_SSHOPTS='-t' nh os switch \"/home/jacek/niksos\" -H chmura -- --use-remote-sudo --target-host chmura";
|
||||
u = "nixos-rebuild switch --flake \"/home/jacek/niksos#niks\" -L --use-remote-sudo";
|
||||
us = "NIX_SSHOPTS='-t' nixos-rebuild switch --flake \"/home/jacek/niksos#chmura\" -L --use-remote-sudo --target-host chmura";
|
||||
};
|
||||
profiling = false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue