mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
home-manager: quote username in init template
This helps when the username contains, for example, the '.' character.
This commit is contained in:
committed by
Robert Helgesson
parent
cc05d26326
commit
8506c69222
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user