diff options
author | Robert Helgesson <robert@rycee.net> | 2020-02-02 00:39:17 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-02-02 01:07:28 +0100 |
commit | 45abf3d38a2b51c00c347cab6950f3734e023bba (patch) | |
tree | 414fde5d14d1d075fa65e59175660fd1fb680c43 /tests/modules/misc | |
parent | 9799d3de2d270a9c40fcf81d600bfd71088e144d (diff) |
Apply `nixfmt` on many files
Diffstat (limited to 'tests/modules/misc')
-rw-r--r-- | tests/modules/misc/pam/default.nix | 4 | ||||
-rw-r--r-- | tests/modules/misc/xdg/default.nix | 4 | ||||
-rw-r--r-- | tests/modules/misc/xdg/mime-apps-basics.nix | 4 | ||||
-rw-r--r-- | tests/modules/misc/xsession/basic.nix | 6 | ||||
-rw-r--r-- | tests/modules/misc/xsession/keyboard-without-layout.nix | 10 |
5 files changed, 8 insertions, 20 deletions
diff --git a/tests/modules/misc/pam/default.nix b/tests/modules/misc/pam/default.nix index 8a64f831caf..81c435e7641 100644 --- a/tests/modules/misc/pam/default.nix +++ b/tests/modules/misc/pam/default.nix @@ -1,3 +1 @@ -{ - pam-session-variables = ./session-variables.nix; -} +{ pam-session-variables = ./session-variables.nix; } diff --git a/tests/modules/misc/xdg/default.nix b/tests/modules/misc/xdg/default.nix index 5772becd712..e5d015759d5 100644 --- a/tests/modules/misc/xdg/default.nix +++ b/tests/modules/misc/xdg/default.nix @@ -1,3 +1 @@ -{ - xdg-mime-apps-basics = ./mime-apps-basics.nix; -} +{ xdg-mime-apps-basics = ./mime-apps-basics.nix; } diff --git a/tests/modules/misc/xdg/mime-apps-basics.nix b/tests/modules/misc/xdg/mime-apps-basics.nix index 2c32071064c..e181e8206f6 100644 --- a/tests/modules/misc/xdg/mime-apps-basics.nix +++ b/tests/modules/misc/xdg/mime-apps-basics.nix @@ -11,9 +11,7 @@ with lib; "mimetype1" = [ "foo1.desktop" "foo2.desktop" "foo3.desktop" ]; "mimetype2" = "foo4.desktop"; }; - removed = { - mimetype1 = "foo5.desktop"; - }; + removed = { mimetype1 = "foo5.desktop"; }; }; defaultApplications = { "mimetype1" = [ "default1.desktop" "default2.desktop" ]; diff --git a/tests/modules/misc/xsession/basic.nix b/tests/modules/misc/xsession/basic.nix index d86b57ddbe0..39df6362380 100644 --- a/tests/modules/misc/xsession/basic.nix +++ b/tests/modules/misc/xsession/basic.nix @@ -17,11 +17,9 @@ with lib; nixpkgs.overlays = [ (self: super: { xorg = super.xorg // { - setxkbmap = super.xorg.setxkbmap // { - outPath = "@setxkbmap@"; - }; + setxkbmap = super.xorg.setxkbmap // { outPath = "@setxkbmap@"; }; }; - }) + }) ]; nmt.script = '' diff --git a/tests/modules/misc/xsession/keyboard-without-layout.nix b/tests/modules/misc/xsession/keyboard-without-layout.nix index 5f89a29edf1..015efe6154a 100644 --- a/tests/modules/misc/xsession/keyboard-without-layout.nix +++ b/tests/modules/misc/xsession/keyboard-without-layout.nix @@ -8,9 +8,7 @@ with lib; home.homeDirectory = "/test-home"; - home.keyboard = { - options = [ "ctrl:nocaps" "altwin:no_win" ]; - }; + home.keyboard = { options = [ "ctrl:nocaps" "altwin:no_win" ]; }; xsession = { enable = true; @@ -23,11 +21,9 @@ with lib; nixpkgs.overlays = [ (self: super: { xorg = super.xorg // { - setxkbmap = super.xorg.setxkbmap // { - outPath = "@setxkbmap@"; - }; + setxkbmap = super.xorg.setxkbmap // { outPath = "@setxkbmap@"; }; }; - }) + }) ]; nmt.script = '' |