mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-15 11:34:11 -05:00
25 lines
439 B
Nix
25 lines
439 B
Nix
let
|
|
volumePath = "/overseer/services";
|
|
in
|
|
{
|
|
lib,
|
|
inputs,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
lib.mkIf config.user.overseer.enable {
|
|
# Base dir
|
|
systemd.tmpfiles.rules = [
|
|
"d ${volumePath}"
|
|
];
|
|
|
|
# NGINX Ports
|
|
networking.firewall.allowedTCPPorts = [
|
|
443
|
|
80
|
|
];
|
|
|
|
# Pin virtualisation backend to podman
|
|
virtualisation.oci-containers.backend = "podman";
|
|
}
|