NixOS/profiles/homeserver.nix

30 lines
576 B
Nix

{ ... }:
{
imports = [
../options
];
profile = {
hostname = "homeserver";
user = {
name = "homeserver";
fullName = "Homeserver";
};
system.stateVersion = "24.05";
grub.enable = false;
# There is no GUI on the server. No need for audio.
audio.enable = false;
security.sudo.wheelNeedsPassword = false;
podman = {
enable = true;
};
openssh.enable = true;
go.enable = true;
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
cockpit.enable = true;
};
}