2024-09-15 20:35:46 -04:00
|
|
|
{ pkgs, ... }: {
|
2023-01-31 22:01:21 -05:00
|
|
|
|
2024-09-14 18:12:01 -04:00
|
|
|
imports = [ ./common.nix ../monitoring ../../users ];
|
|
|
|
|
2024-09-15 20:35:46 -04:00
|
|
|
documentation = {
|
|
|
|
enable = false;
|
|
|
|
};
|
|
|
|
|
2024-09-14 18:12:01 -04:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
htop
|
|
|
|
inetutils
|
|
|
|
vim
|
|
|
|
];
|
2023-01-31 22:01:21 -05:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2024-02-17 22:12:24 -05:00
|
|
|
services = {
|
|
|
|
openssh.enable = true;
|
|
|
|
tailscale.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-12-15 22:28:14 -05:00
|
|
|
system = {
|
|
|
|
stateVersion = "23.05";
|
|
|
|
};
|
2022-11-09 23:24:40 -05:00
|
|
|
}
|