all repos — nixfiles @ 32bd166e364c68fb76c6748a3e5ee5d14982f02a

System and user configuration, managed by nix and home-manager

Set up home-manager flake on mba

Alan Pearce
commit

32bd166e364c68fb76c6748a3e5ee5d14982f02a

parent

fc975d16c41c4f92f3e3dde4a837be52051b4e77

1 file changed, 8 insertions(+), 1 deletion(-)

changed files
M flake.nixflake.nix
@@ -6,9 +6,11 @@ nixpkgs-unstable.url = github:NixOS/nixpkgs;
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;
@@ -18,6 +20,11 @@ darwinConfigurations.mba = darwin.lib.darwinSystem {
system = "x86_64-darwin"; # aarch64 is still failing on some compiler-rt derivation specialArgs = attrs; modules = [ ./system/mba.nix ]; + }; + homeConfigurations.mba = home-manager.lib.homeManagerConfiguration { + system = "x86_64-darwin"; + specialArgs = attrs; + modules = [ ./user/mba.nix ]; }; }; }