From 8506c6922293877476a64ddb93b7484b3da7788c Mon Sep 17 00:00:00 2001 From: Paulo L F Casaretto Date: Wed, 19 Apr 2023 10:08:50 -0300 Subject: [PATCH] home-manager: quote username in init template This helps when the username contains, for example, the '.' character. --- home-manager/home-manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/home-manager b/home-manager/home-manager index ad4e739a3..979865299 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -406,7 +406,7 @@ EOF system = "$nixSystem"; pkgs = nixpkgs.legacyPackages.\${system}; in { - homeConfigurations.$USER = home-manager.lib.homeManagerConfiguration { + homeConfigurations."$USER" = home-manager.lib.homeManagerConfiguration { inherit pkgs; # Specify your home configuration modules here, for example,