NixOS/profiles/homeserver.nix

37 lines
733 B
Nix
Raw Normal View History

2024-06-12 18:09:56 +07:00
{ ... }:
{
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;
openssh.enable = true;
2024-06-12 19:25:36 +07:00
go.enable = true;
2024-06-12 20:25:30 +07:00
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
2024-06-13 00:50:38 +07:00
cockpit.enable = true;
2024-06-12 23:37:10 +07:00
docker = {
2024-06-13 00:50:38 +07:00
enable = false;
caddy.enable = false;
kavita.enable = false;
};
podman = {
2024-06-12 23:37:10 +07:00
enable = true;
2024-06-13 00:50:38 +07:00
caddy.enable = false;
kavita.enable = true;
2024-06-12 23:37:10 +07:00
};
2024-06-12 18:09:56 +07:00
};
}