nixos-config/hosts/anvil/default.nix

25 lines
540 B
Nix
Raw Normal View History

2026-01-10 11:34:02 -08:00
{ config, pkgs, ... }:
{
2026-02-11 05:13:20 -08:00
imports = [
./hardware-configuration.nix
# ./nginx.nix # TODO
];
2026-01-10 11:34:02 -08:00
networking.hostName = "anvil";
system.stateVersion = "24.11";
networking.firewall.allowedTCPPorts = [ 8384 ];
2026-02-11 05:13:20 -08:00
services.pulseaudio.enable = false;
2026-01-10 11:34:02 -08:00
boot.initrd.luks.devices."luks-1f261d60-dfb4-4f63-9c77-f331a007108b".device = "/dev/disk/by-uuid/1f261d60-dfb4-4f63-9c77-f331a007108b";
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = true;
};
};
}