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:
parent
81431b6d6f
commit
4e7ee4d02c
1 changed files with 4 additions and 2 deletions
|
|
@ -451,11 +451,13 @@ EOF
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, ... }:
|
outputs =
|
||||||
|
{ nixpkgs, home-manager, ... }:
|
||||||
let
|
let
|
||||||
system = "$nixSystem";
|
system = "$nixSystem";
|
||||||
pkgs = nixpkgs.legacyPackages.\${system};
|
pkgs = nixpkgs.legacyPackages.\${system};
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
homeConfigurations."$(escapeForNix "$USER")" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."$(escapeForNix "$USER")" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue