diff options
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 6 | ||||
| -rw-r--r-- | home/default.nix | 14 |
2 files changed, 12 insertions, 8 deletions
@@ -37,7 +37,7 @@ home = platform: home-manager.lib.homeManagerConfiguration { system = "x86_64-linux"; - configuration = import ./home; + configuration = import ./home { inherit self nixpkgs nur; }; extraModules = [ platform ]; username = "ale"; @@ -50,9 +50,7 @@ # Optionally use extraSpecialArgs # to pass through arguments to home.nix - extraSpecialArgs = { - inherit nur self; - }; + extraSpecialArgs = {}; }; homeConfig = id: platform: { diff --git a/home/default.nix b/home/default.nix index 9a953cf..95e0893 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,12 +1,18 @@ -{ lib, config, pkgs, nur, self, ... }: +{ self, nixpkgs, nur }: +{ lib, config, pkgs, ... }: with lib; { imports = [ ./unfree.nix ]; nixpkgs.overlays = [ nur.overlay self.overlay ]; - nix.registry."system".to = { - type = "path"; - path = "/home/ale/nix"; + nix.registry = { + "nixpkgs".flake = nixpkgs; + "nur".flake = nur; + + "system".to = { + type = "path"; + path = "/home/ale/nix"; + }; }; home = { |
