feat: Add anvil's config

This commit is contained in:
Matthew Binning 2026-01-10 11:34:02 -08:00
parent b030b3a098
commit 964830082f
3 changed files with 80 additions and 62 deletions

19
anvil.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
networking.hostName = "anvil";
system.stateVersion = "24.11";
networking.firewall.allowedTCPPorts = [ 8384 ];
hardware.pulseaudio.enable = false;
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;
};
};
}