diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index 24620fcb..1e235810 100644 --- a/flake.nix +++ b/flake.nix @@ -7,9 +7,13 @@ 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 @@ }; homeConfigurations.mba = home-manager.lib.homeManagerConfiguration { pkgs = darwinPkgs; - modules = [ ./user/mba.nix ]; + modules = [ ./user/mba.nix (secrets + "/default.nix") ]; }; }; } |