42 lines
601 B
Nix
42 lines
601 B
Nix
{ pkgs, ... }: {
|
|
|
|
imports = [ ./common.nix ../monitoring ../../users ];
|
|
|
|
documentation = {
|
|
enable = false;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
htop
|
|
inetutils
|
|
vim
|
|
];
|
|
|
|
nix = {
|
|
gc = {
|
|
persistent = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
|
|
settings = {
|
|
auto-optimise-store = true;
|
|
|
|
trusted-users = [ "root" "walkah" ];
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
mosh.enable = true;
|
|
};
|
|
|
|
services = {
|
|
openssh.enable = true;
|
|
tailscale.enable = true;
|
|
};
|
|
|
|
system = {
|
|
stateVersion = "23.05";
|
|
};
|
|
}
|