chore: let hm inherit inputs

This commit is contained in:
notohh 2023-04-09 13:54:56 -04:00
parent 891cefac30
commit d203f87c51
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -10,7 +10,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = { self, nixpkgs, home-manager, hyprland, deploy-rs, ... }: outputs = { self, nixpkgs, home-manager, hyprland, deploy-rs, ... }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -29,6 +29,9 @@
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs;
};
home-manager.users.notoh = { home-manager.users.notoh = {
imports = [ imports = [
hyprland.homeManagerModules.default hyprland.homeManagerModules.default