Nix configurations for my homelab
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

modules/remote-builder.nix: allow lily to use other machines to build

yemou 120db71c 7a50b971

+10 -1
+1
lily/config.nix
··· 13 13 ../modules/netbird.nix 14 14 ../modules/network-info.nix 15 15 ../modules/nix.nix 16 + ../modules/remote-build-machines.nix 16 17 ../modules/remote-builder.nix 17 18 ../modules/smartd.nix 18 19
+9 -1
modules/remote-builder.nix
··· 1 - { config, pkgs, ... }: 1 + { 2 + config, 3 + lib, 4 + pkgs, 5 + ... 6 + }: 2 7 { 3 8 imports = [ ./openssh.nix ]; 4 9 ··· 19 24 20 25 nix.settings.trusted-users = [ "nixremote" ]; 21 26 27 + services.openssh.settings.AllowUsers = [ 28 + (lib.mkIf (config.networking.hostName != "lily") "nixremote@${config.garden.info.network.lily.netbird-ip}") 29 + ]; 22 30 }