mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-10 00:31:54 +05:30
feat: add optimisations
This commit is contained in:
@@ -9,13 +9,22 @@
|
|||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--delete-older-than 3d";
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
|
};
|
||||||
|
|
||||||
|
optimise = {
|
||||||
|
automatic = true;
|
||||||
|
dates = ["weekly"];
|
||||||
};
|
};
|
||||||
|
|
||||||
channel.enable = false;
|
channel.enable = false;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
extra-platforms = ["aarch64-linux" "arm-linux"];
|
extra-platforms = [
|
||||||
|
"aarch64-linux"
|
||||||
|
"arm-linux"
|
||||||
|
];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
allowed-users = ["${username}"];
|
allowed-users = ["${username}"];
|
||||||
trusted-users = ["${username}"];
|
trusted-users = ["${username}"];
|
||||||
|
Reference in New Issue
Block a user