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:
parent
5df48c4255
commit
cba2f9ce95
1051 changed files with 37028 additions and 26594 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
|
|
@ -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 = ''
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue