4 Commits

7 changed files with 4 additions and 13 deletions

View File

@@ -43,7 +43,6 @@
modules = [
secrix.nixosModules.default
./modules
./modules/router
./hosts/common.nix
hostFile
./users/cazzzer

View File

@@ -1,5 +1,6 @@
{
imports = [
../../modules/router
../hw-vm.nix
];

View File

@@ -1,5 +1,6 @@
{
imports = [
../../modules/router
../hw-vm.nix
];

View File

@@ -1,5 +1,6 @@
{
imports = [
../../modules/router
./hardware-configuration.nix
./private.nix
];

View File

@@ -14,7 +14,6 @@ in
./kea.nix
./glance.nix
./services.nix
./keepalived.nix
];
# Secrix for secrets management
secrix.hostPubKey = vars.pubkey;

View File

@@ -1,10 +0,0 @@
{ config, lib, pkgs, ... }:
let
vaks = import ./vaks.nix config;
in
{
services.keepalived = {
enable = true;
};
}

View File

@@ -5,7 +5,7 @@
isNormalUser = true;
description = "Yura";
group = "cazzzer";
extraGroups = [ "wheel" "dialout" ]
extraGroups = [ "wheel" ]
++ lib.optionals config.networking.networkmanager.enable [ "networkmanager" ]
++ lib.optionals config.virtualisation.docker.enable [ "docker" ]
++ lib.optionals config.programs.wireshark.enable [ "wireshark" ]