diff --git a/flake.nix b/flake.nix index f09016b..7949554 100644 --- a/flake.nix +++ b/flake.nix @@ -11,15 +11,19 @@ # the `inputs.nixpkgs` of the current flake, # to avoid problems caused by different versions of nixpkgs. inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, ... }@inputs: { - # Please replace my-nixos with your hostname nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { modules = [ - # Import the previous configuration.nix we used, - # so the old configuration file still takes effect ./configuration.nix + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.yisroel = import ./home-manager/home.nix; + } ]; }; };