1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

home-manager: new formatting of generated configuration

Makes the formatting of the generated initial `flake.nix` match the
RFC style format.
This commit is contained in:
Robert Helgesson 2025-05-01 22:00:27 +02:00
parent 81431b6d6f
commit 4e7ee4d02c

View file

@ -451,11 +451,13 @@ EOF
};
};
outputs = { nixpkgs, home-manager, ... }:
outputs =
{ nixpkgs, home-manager, ... }:
let
system = "$nixSystem";
pkgs = nixpkgs.legacyPackages.\${system};
in {
in
{
homeConfigurations."$(escapeForNix "$USER")" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;