Compare commits

...

3 commits

2 changed files with 15 additions and 1 deletions

View file

@ -32,7 +32,7 @@
}; };
deploy.nodes = { deploy.nodes = {
my-node = { golgi = {
hostname = "tecosaur.net"; hostname = "tecosaur.net";
fastConnection = false; fastConnection = false;
profiles = { profiles = {

View file

@ -8,6 +8,12 @@
passwordAuthentication = false; passwordAuthentication = false;
kbdInteractiveAuthentication = false; kbdInteractiveAuthentication = false;
}; };
services.journald.extraConfig = ''
SystemMaxUse=1G
SystemMaxFileSize=100M
MaxFileSec=1day
MaxRetentionSec=2months
''; # Limit journal accumulation
system.stateVersion = "22.05"; system.stateVersion = "22.05";
nix = { nix = {
@ -18,6 +24,14 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
settings.auto-optimise-store = true;
# from flake-utils-plus # from flake-utils-plus
# Sets NIX_PATH to follow this flake's nix inputs # Sets NIX_PATH to follow this flake's nix inputs
# So legacy nix-channel is not needed # So legacy nix-channel is not needed