fix vikunja, mastodon and bit of refactoring
This commit is contained in:
parent
3fd6838367
commit
5eb540281d
7 changed files with 66 additions and 55 deletions
24
configs/containers/netcup_pve/vikunja_container.nix
Normal file
24
configs/containers/netcup_pve/vikunja_container.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
{
|
||||
deployment = {
|
||||
targetHost = "10.0.0.5";
|
||||
targetPort = 22;
|
||||
targetUser = "root";
|
||||
tags = [ "netcup_pve" ];
|
||||
};
|
||||
networking = {
|
||||
hostName = "vikunja";
|
||||
interfaces.eth0 = {
|
||||
ipAddress = "10.0.0.5";
|
||||
prefixLength = 32;
|
||||
};
|
||||
defaultGateway = {
|
||||
address = "10.0.0.254";
|
||||
interface = "eth0";
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
../../container_config.nix
|
||||
../../services/vikunja.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue