flake cleanup and wg setup persistence
This commit is contained in:
parent
a1e9e81ae9
commit
0ac3bbfbe2
7 changed files with 80 additions and 32 deletions
12
configs/containers/wg_container.nix
Normal file
12
configs/containers/wg_container.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, pkgs, config, ... }: {
|
||||
deployment = {
|
||||
targetHost = "192.168.178.44";
|
||||
targetPort = 22;
|
||||
targetUser = "root";
|
||||
};
|
||||
networking.hostName = "wireguard";
|
||||
imports = [
|
||||
../container_config.nix
|
||||
../services/wireguard.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue