From 8797880ee1c8d5b1a60d227de80a13c9b730fec7 Mon Sep 17 00:00:00 2001 From: pager Date: Wed, 24 Sep 2025 03:05:30 -0400 Subject: [PATCH] home-manager parameters --- configuration.nix | 2 +- flake.nix | 9 +++++++++ home.nix | 3 ++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index ec62c8a..da25775 100644 --- a/configuration.nix +++ b/configuration.nix @@ -182,7 +182,7 @@ # sha256 = "0hhfk86z1yq5gn9bzqpv46nb9bdx3fygi55b4ayzmnamva7rcajp"; # }) # ]; - })); + })) ]; diff --git a/flake.nix b/flake.nix index 94e8f22..3315cd9 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,11 @@ home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.abby = ./home.nix; + home-manager.extraSpecialArgs = { + username = "abby"; + inherit inputs; + system = "x86_64-linux"; + }; } ]; }; @@ -53,6 +58,10 @@ lix-module.nixosModules.default ./home.nix ]; + extraSpecialArgs = { + inherit inputs; + inherit system; + }; }; homeConfigurations."pager@nicrosil" = let diff --git a/home.nix b/home.nix index 5227f8a..ec96c12 100644 --- a/home.nix +++ b/home.nix @@ -1,4 +1,4 @@ -{ config, pkgs, inputs, username ? "abby", ... }: +{ config, pkgs, inputs, system ? "x86_64-linux", username ? "abby", ... }: { # Home Manager needs a bit of information about you and the @@ -22,6 +22,7 @@ home.packages = with pkgs; [ tmux htop + #inputs.baballonia.${system}.default ]; # Wayvr customization