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

treewide: reformat nixfmt-rfc-style

Reformat repository using new nixfmt-rfc-style.
This commit is contained in:
Austin Horstman 2025-04-07 16:11:29 -05:00
parent 5df48c4255
commit cba2f9ce95
1051 changed files with 37028 additions and 26594 deletions

View file

@ -2,8 +2,21 @@
{
imports = [
({ ... }: { config.home.sessionPath = [ "foo" ]; })
({ ... }: { config.home.sessionPath = [ "bar" "baz" ]; })
(
{ ... }:
{
config.home.sessionPath = [ "foo" ];
}
)
(
{ ... }:
{
config.home.sessionPath = [
"bar"
"baz"
];
}
)
];
nmt.script = ''

View file

@ -2,8 +2,21 @@
{
imports = [
({ ... }: { config.home.sessionSearchVariables.TEST = [ "foo" ]; })
({ ... }: { config.home.sessionSearchVariables.TEST = [ "bar" "baz" ]; })
(
{ ... }:
{
config.home.sessionSearchVariables.TEST = [ "foo" ];
}
)
(
{ ... }:
{
config.home.sessionSearchVariables.TEST = [
"bar"
"baz"
];
}
)
];
nmt.script = ''

View file

@ -33,10 +33,10 @@ let
'';
expected = pkgs.writeText "expected"
(if isDarwin then darwinExpected else linuxExpected);
expected = pkgs.writeText "expected" (if isDarwin then darwinExpected else linuxExpected);
in {
in
{
config = {
home.sessionVariables = {
V1 = "v1";