Add secrets to home-manager configuration
1 file changed, 6 insertions(+), 2 deletions(-)
changed files
M flake.nix → flake.nix
@@ -7,9 +7,13 @@ darwin.inputs.nixpkgs.follows = "nixpkgs"; home-manager.url = github:nix-community/home-manager; home-manager.inputs.nixpkgs.follows = "nixpkgs"; emacs-overlay.url = github:nix-community/emacs-overlay; + secrets = { + url = git+ssh://git.alanpearce.eu/nixfiles-private; + flake = false; + }; }; - outputs = { self, darwin, home-manager, nixpkgs, ... }@attrs: + outputs = { self, darwin, home-manager, nixpkgs, secrets, ... }@attrs: let darwinSystem = "x86_64-darwin"; # aarch64 is still failing on some compiler-rt derivation@@ -27,7 +31,7 @@ modules = [ ./system/mba.nix ]; }; homeConfigurations.mba = home-manager.lib.homeManagerConfiguration { pkgs = darwinPkgs; - modules = [ ./user/mba.nix ]; + modules = [ ./user/mba.nix (secrets + "/default.nix") ]; }; }; }