nvim: disable remaining containers
This commit is contained in:
parent
2361374a79
commit
3d65355cd0
3 changed files with 1 additions and 21 deletions
|
@ -47,8 +47,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.redis-proxitok.after = [ "podman-wait-for-host-interface.service" ];
|
|
||||||
|
|
||||||
networking.firewall.interfaces."podman+".allowedTCPPorts = [ 6381 ];
|
networking.firewall.interfaces."podman+".allowedTCPPorts = [ 6381 ];
|
||||||
|
|
||||||
services.nginx.virtualHosts."tictac.daniel.sx" = {
|
services.nginx.virtualHosts."tictac.daniel.sx" = {
|
||||||
|
|
|
@ -44,8 +44,6 @@ in
|
||||||
|
|
||||||
(import ../nixos/redlib.nix (args // { inherit secret; }))
|
(import ../nixos/redlib.nix (args // { inherit secret; }))
|
||||||
|
|
||||||
../nixos/linkding.nix
|
|
||||||
|
|
||||||
../nixos/mastodon.nix
|
../nixos/mastodon.nix
|
||||||
|
|
||||||
../nixos/miniflux.nix
|
../nixos/miniflux.nix
|
||||||
|
@ -60,9 +58,6 @@ in
|
||||||
../nixos/websites-tanker.nix
|
../nixos/websites-tanker.nix
|
||||||
|
|
||||||
../nixos/weewx.nix
|
../nixos/weewx.nix
|
||||||
|
|
||||||
../../container/proxitok
|
|
||||||
#../../container/weewx
|
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, lib, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
@ -29,19 +29,6 @@
|
||||||
allowedTCPPorts = [ 53 443 5432 ];
|
allowedTCPPorts = [ 53 443 5432 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# For services that listen on podman0
|
|
||||||
systemd.services.podman-wait-for-host-interface = {
|
|
||||||
description = "Wait for podman0 to be available";
|
|
||||||
after = [ "network.target" ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
ExecStart = "${lib.getExe pkgs.bash} -c 'until ${pkgs.iproute2}/bin/ip address show podman0; do sleep 1; done'";
|
|
||||||
TimeoutStartSec = 30;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# It looks like there is no way to activate the "built-in" service and timer ...
|
# It looks like there is no way to activate the "built-in" service and timer ...
|
||||||
systemd.services.podman-auto-update-custom = {
|
systemd.services.podman-auto-update-custom = {
|
||||||
description = "Run podman auto-update daily";
|
description = "Run podman auto-update daily";
|
||||||
|
|
Loading…
Reference in a new issue