feat(nixos): pass inputs to home-manager via extraSpecialArgs
This commit is contained in:
@@ -81,6 +81,7 @@ in
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
users.${username} = import ../../home/hosts/andromache {
|
users.${username} = import ../../home/hosts/andromache {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ in
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
users.${username} = import ../../home/hosts/astyanax {
|
users.${username} = import ../../home/hosts/astyanax {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit config;
|
inherit config;
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ in
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
users.${username} = import ../../home/hosts/vm {
|
users.${username} = import ../../home/hosts/vm {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit config;
|
inherit config;
|
||||||
|
|||||||
Reference in New Issue
Block a user