34 lines
648 B
Nix
34 lines
648 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 = false;
|
|
};
|
|
openssh.enable = true;
|
|
go.enable = true;
|
|
networking.firewall.enable = true;
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
cockpit.enable = false;
|
|
docker = {
|
|
enable = true;
|
|
caddy.enable = true;
|
|
};
|
|
};
|
|
}
|