diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 92a31715..f5314a26 100644 --- a/flake.nix +++ b/flake.nix @@ -6,9 +6,11 @@ nixos-hardware.url = github:NixOS/nixos-hardware; darwin.url = github:lnl7/nix-darwin/master; darwin.inputs.nixpkgs.follows = "nixpkgs-unstable"; + home-manager.url = github:nix-community/home-manager; + home-manager.inputs.nixpkgs.follows = "nixpkgs-unstable"; }; - outputs = { self, darwin, nixos-unstable, ... }@attrs: { + outputs = { self, darwin, home-manager, nixos-unstable, ... }@attrs: { nixosConfigurations.prefect = nixos-unstable.lib.nixosSystem { system = "x86_64-linux"; specialArgs = attrs; @@ -19,5 +21,10 @@ specialArgs = attrs; modules = [ ./system/mba.nix ]; }; + homeConfigurations.mba = home-manager.lib.homeManagerConfiguration { + system = "x86_64-darwin"; + specialArgs = attrs; + modules = [ ./user/mba.nix ]; + }; }; } |