2023-12-15 22:28:14 -05:00
|
|
|
{ config, ... }: {
|
2023-01-31 22:01:21 -05:00
|
|
|
|
|
|
|
imports = [ ./common.nix ];
|
|
|
|
|
2022-11-09 23:24:40 -05:00
|
|
|
nix = {
|
|
|
|
gc = {
|
|
|
|
persistent = true;
|
2023-02-13 17:31:23 -05:00
|
|
|
dates = "weekly";
|
2023-06-19 16:36:44 -04:00
|
|
|
options = "--delete-older-than 30d";
|
2022-11-09 23:24:40 -05:00
|
|
|
};
|
2023-01-30 22:06:36 -05:00
|
|
|
|
|
|
|
settings = {
|
2023-05-08 13:04:45 -04:00
|
|
|
auto-optimise-store = true;
|
|
|
|
|
2023-01-30 22:06:36 -05:00
|
|
|
trusted-users = [ "root" "walkah" ];
|
|
|
|
};
|
2022-11-09 23:24:40 -05:00
|
|
|
};
|
2023-02-20 13:28:35 -05:00
|
|
|
|
2023-03-25 15:17:55 -04:00
|
|
|
programs = {
|
|
|
|
mosh.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-12-15 22:28:14 -05:00
|
|
|
system = {
|
|
|
|
autoUpgrade = {
|
|
|
|
enable = true;
|
|
|
|
flake = "github:walkah/athens#${config.networking.hostName}";
|
|
|
|
dates = "daily";
|
|
|
|
randomizedDelaySec = "5m";
|
|
|
|
};
|
|
|
|
stateVersion = "23.05";
|
|
|
|
};
|
2022-11-09 23:24:40 -05:00
|
|
|
}
|