mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 01:19:32 +08: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user