Install unar on servers
This commit is contained in:
parent
05d65c969d
commit
9ed02dcc7d
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
self,
|
self,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options.pim.tailscale.advertiseExitNode = lib.mkOption {
|
options.pim.tailscale.advertiseExitNode = lib.mkOption {
|
||||||
|
@ -10,6 +11,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf (builtins.elem "server" config.deployment.tags) {
|
config = lib.mkIf (builtins.elem "server" config.deployment.tags) {
|
||||||
|
environment.systemPackages = [pkgs.unar];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.allowedTCPPorts = [config.services.prometheus.exporters.node.port];
|
firewall.allowedTCPPorts = [config.services.prometheus.exporters.node.port];
|
||||||
domain = "dmz";
|
domain = "dmz";
|
||||||
|
|
Loading…
Add table
Reference in a new issue