peerix: add peerix to nix.settings.allowed-users

This commit is contained in:
Aaron Bieber 2022-08-31 08:44:42 -06:00
parent 82d792b5f8
commit 6cbe2cdf41
No known key found for this signature in database
2 changed files with 7 additions and 5 deletions

View File

@ -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 = {

View File

@ -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";