Compare commits
3 commits
5433872625
...
8dfa3050c0
Author | SHA1 | Date | |
---|---|---|---|
Timothy | 8dfa3050c0 | ||
Timothy | 27e641c4c8 | ||
Timothy | 6bd8e7bedb |
|
@ -32,7 +32,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
deploy.nodes = {
|
deploy.nodes = {
|
||||||
my-node = {
|
golgi = {
|
||||||
hostname = "tecosaur.net";
|
hostname = "tecosaur.net";
|
||||||
fastConnection = false;
|
fastConnection = false;
|
||||||
profiles = {
|
profiles = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue