1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

home-manager: quote username in init template

This helps when the username contains, for example, the '.' character.
This commit is contained in:
Paulo L F Casaretto 2023-04-19 10:08:50 -03:00 committed by Robert Helgesson
parent cc05d26326
commit 8506c69222
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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,