athens/nix/modules/base/nixos.nix
James Walker 6d38e964e3
🔧 aristotle: move to raspberry-pi-nix
also re-deployed form, matter and purpose
2024-09-15 20:35:46 -04:00

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";
};
}