feat: Add anvil's config
This commit is contained in:
parent
b030b3a098
commit
964830082f
3 changed files with 80 additions and 62 deletions
19
anvil.nix
Normal file
19
anvil.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue