From 6cbe2cdf418351ebd14100507ee721511b8350cb Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 31 Aug 2022 08:44:42 -0600 Subject: [PATCH] peerix: add peerix to nix.settings.allowed-users --- configs/peerix.nix | 4 ++++ flake.nix | 8 +++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/configs/peerix.nix b/configs/peerix.nix index 04a08ab..420add7 100644 --- a/configs/peerix.nix +++ b/configs/peerix.nix @@ -29,6 +29,9 @@ with lib; { group = "peerix"; isSystemUser = true; }; + + nix.settings.allowed-users = [ "peerix" ]; + services = { peerix = { enable = true; @@ -38,6 +41,7 @@ with lib; { publicKeyFile = ./peerix.pubs; }; }; + networking.firewall.interfaces = listToAttrs (flatten (map (i: { name = i; value = { diff --git a/flake.nix b/flake.nix index e613bb9..726ed98 100644 --- a/flake.nix +++ b/flake.nix @@ -126,14 +126,12 @@ nixosConfigurations = { box = buildSys "x86_64-linux" stable [ ] "box"; - europa = buildSys "x86_64-linux" unstable [ ] - "europa"; + europa = buildSys "x86_64-linux" unstable [ ] "europa"; faf = buildSys "x86_64-linux" stable [ ] "faf"; hass = buildSys "x86_64-linux" stable [ ] "hass"; h = buildSys "x86_64-linux" unstableSmall [ ] "h"; - stan = buildSys "x86_64-linux" unstable [ - nixos-hardware.nixosModules.framework - ] "stan"; + stan = buildSys "x86_64-linux" unstable + [ nixos-hardware.nixosModules.framework ] "stan"; weather = buildSys "aarch64-linux" stable [ nixos-hardware.nixosModules.raspberry-pi-4 ] "weather";