From 4d92882f4e69f4db94ed161c623c4eec20994079 Mon Sep 17 00:00:00 2001 From: autumn-the-kitty-cat Date: Fri, 19 Dec 2025 02:44:02 -0500 Subject: [PATCH] fix: add userName argument to flake.nix --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 7ff20e4..ba3a865 100644 --- a/flake.nix +++ b/flake.nix @@ -24,12 +24,14 @@ }; }; outputs = - { ... }@inputs: - { + { ... }@inputs: let + userName = "autumn"; + in { nixosConfigurations = { "january" = inputs.nixpkgs.lib.nixosSystem { specialArgs = { hostName = "january"; + inherit userName; inherit inputs; }; @@ -39,6 +41,7 @@ "february" = inputs.nixpkgs.lib.nixosSystem { specialArgs = { hostName = "february"; + inherit userName; inherit inputs; modules = [ ./host/pc/february/configuration.nix ]; @@ -47,6 +50,7 @@ "march" = inputs.nixpkgs.lib.nixosSystem { specialArgs = { + inherit userName; hostName = "march"; };