From 5bfa9a63220b910c40fcf6c925de83f2b937a6bb Mon Sep 17 00:00:00 2001 From: NullBite Date: Mon, 15 Jan 2024 11:02:48 +0100 Subject: [PATCH] work around an infinite recursion or something? --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d01d7b1..2ac174e 100644 --- a/flake.nix +++ b/flake.nix @@ -42,10 +42,13 @@ }; + # this is needed to work around an infinite recursion (it probably isn't + # but i'm stupid) + _username=username; # This function produces a module that adds the home-manager module to the # system and configures the given module to the user's Home Manager # configuration - homeManagerInit = {system, username ? username , module}: { config, lib, pkgs, ... }: { + homeManagerInit = {system, username ? _username , module}: { config, lib, pkgs, ... }: { imports = [ inputs.home-manager.nixosModules.home-manager ];