commit cc7109d97d14c8996bfddec5119595bc93590e66 parent 90fa094ebf0cbb34a4800337f1511f53c4c488a9 Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 3 Oct 2023 16:51:13 +0200 Activate worker-2 Diffstat:
| M | flake.nix | | | 16 | ++++++++++++++++ |
| M | nixos/common/sops.nix | | | 2 | -- |
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/flake.nix b/flake.nix @@ -83,6 +83,14 @@ ./nixos/worker-1/configuration.nix ]; }; + worker-2 = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs outputs; }; + modules = [ + # > Our main nixos configuration file < + sops-nix.nixosModules.sops + ./nixos/worker-2/configuration.nix + ]; + }; }; # Standalone home-manager configuration entrypoint @@ -96,6 +104,14 @@ ./home-manager/home.nix ]; }; + "marcel@worker-2" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages.aarch64-linux; # Home-manager requires 'pkgs' instance + extraSpecialArgs = { inherit inputs outputs; }; + modules = [ + # > Our main home-manager configuration file < + ./home-manager/home.nix + ]; + }; }; }; } diff --git a/nixos/common/sops.nix b/nixos/common/sops.nix @@ -11,8 +11,6 @@ }; gnupg.sshKeyPaths = [ "/persist/etc/ssh/ssh_host_rsa_key" ]; - - defaultSopsFile = ./secrets/secrets.yaml; # keys