nixos/nixos/server.nix
2023-12-22 18:31:56 -05:00

30 lines
502 B
Nix

{ lib, pkgs, inputs, ... }: {
imports = [
./base.nix
./features/tailscale.nix
];
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
services.openssh.settings.PasswordAuthentication = false;
system.autoUpgrade = {
enable = true;
allowReboot = true;
rebootWindow = {
lower = "05:00";
upper = "07:00";
};
flake = inputs.self.outPath;
};
environment.systemPackages = with pkgs; [
curl
btop
htop
neofetch
];
}