diff --git a/flake.nix b/flake.nix index 167972b..015544f 100644 --- a/flake.nix +++ b/flake.nix @@ -15,20 +15,16 @@ nixosConfigurations = { thegibson = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - modules = [ - ./configuration.nix - - home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - - # TODO replace ryan with your own username - home-manager.users.emenel = import ./home.nix; - - # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix - } - ]; + modules = [ ./configuration.nix ]; }; }; + + + homeConfigurations = { + "emenel" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages.x86_64-linux; + modules = [ ./home.nix ]; + }; + }; }; } diff --git a/home.nix b/home.nix index 692d096..6164d39 100644 --- a/home.nix +++ b/home.nix @@ -10,7 +10,6 @@ fzf bat jq - rg ]; # This needs to actually be set to your username