Compare commits
4 Commits
router/mod
...
router/kee
Author | SHA1 | Date | |
---|---|---|---|
b06982a443
|
|||
2bd88d7a93
|
|||
5ec716919d
|
|||
47c9cff8f5
|
@@ -14,6 +14,7 @@ in
|
||||
./kea.nix
|
||||
./glance.nix
|
||||
./services.nix
|
||||
./keepalived.nix
|
||||
];
|
||||
# Secrix for secrets management
|
||||
secrix.hostPubKey = vars.pubkey;
|
||||
|
10
modules/router/keepalived.nix
Normal file
10
modules/router/keepalived.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
vaks = import ./vaks.nix config;
|
||||
in
|
||||
{
|
||||
services.keepalived = {
|
||||
enable = true;
|
||||
|
||||
};
|
||||
}
|
@@ -5,7 +5,7 @@
|
||||
isNormalUser = true;
|
||||
description = "Yura";
|
||||
group = "cazzzer";
|
||||
extraGroups = [ "wheel" ]
|
||||
extraGroups = [ "wheel" "dialout" ]
|
||||
++ lib.optionals config.networking.networkmanager.enable [ "networkmanager" ]
|
||||
++ lib.optionals config.virtualisation.docker.enable [ "docker" ]
|
||||
++ lib.optionals config.programs.wireshark.enable [ "wireshark" ]
|
||||
|
Reference in New Issue
Block a user