mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 12:50:05 +00:00
⚡️ Improve hardware support and performance through various modifications
Some checks failed
Trufflehog: check for exposed secrets / Run trufflehog (push) Has been cancelled
Nix: check for unused code / Run deadnix (push) Has been cancelled
Nix: validate flake.lock / Check Lockfile (push) Has been cancelled
Nix: validate flake / Validate x86_64-linux (push) Has been cancelled
Some checks failed
Trufflehog: check for exposed secrets / Run trufflehog (push) Has been cancelled
Nix: check for unused code / Run deadnix (push) Has been cancelled
Nix: validate flake.lock / Check Lockfile (push) Has been cancelled
Nix: validate flake / Validate x86_64-linux (push) Has been cancelled
This commit is contained in:
parent
a95bef51b8
commit
a6da14d4cf
7 changed files with 205 additions and 92 deletions
|
@ -24,8 +24,12 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
nix = {
|
||||
optimise = {
|
||||
automatic = true;
|
||||
dates = [ "03:45" ];
|
||||
};
|
||||
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
builders-use-substitutes = true;
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
|
@ -35,7 +39,8 @@ in
|
|||
keep-derivations = true;
|
||||
keep-outputs = true;
|
||||
|
||||
max-jobs = "auto";
|
||||
cores = 2;
|
||||
max-jobs = 8;
|
||||
warn-dirty = false;
|
||||
|
||||
trusted-users = cfg.trusted-users;
|
||||
|
@ -44,7 +49,7 @@ in
|
|||
# Garbage collection configuration.
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 3d";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue