mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 04:51:08 +01:00
Apply nixfmt on many files
This commit is contained in:
parent
9799d3de2d
commit
45abf3d38a
177 changed files with 2850 additions and 3565 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
{ config, ... }: {
|
||||
config = {
|
||||
services.sxhkd = {
|
||||
enable = true;
|
||||
|
|
@ -13,7 +12,7 @@
|
|||
extraConfig = ''
|
||||
super + c
|
||||
call command c
|
||||
|
||||
|
||||
# comment
|
||||
super + d
|
||||
call command d
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
{
|
||||
i3-keybindings = ./i3-keybindings.nix;
|
||||
}
|
||||
{ i3-keybindings = ./i3-keybindings.nix; }
|
||||
|
|
|
|||
|
|
@ -8,29 +8,21 @@ with lib;
|
|||
enable = true;
|
||||
|
||||
config.keybindings =
|
||||
let
|
||||
modifier = config.xsession.windowManager.i3.config.modifier;
|
||||
in
|
||||
lib.mkOptionDefault {
|
||||
"${modifier}+Left" = "overridden-command";
|
||||
"${modifier}+Right" = null;
|
||||
"${modifier}+Invented" = "invented-key-command";
|
||||
};
|
||||
let modifier = config.xsession.windowManager.i3.config.modifier;
|
||||
in lib.mkOptionDefault {
|
||||
"${modifier}+Left" = "overridden-command";
|
||||
"${modifier}+Right" = null;
|
||||
"${modifier}+Invented" = "invented-key-command";
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
dmenu = super.dmenu // {
|
||||
outPath = "@dmenu@";
|
||||
};
|
||||
dmenu = super.dmenu // { outPath = "@dmenu@"; };
|
||||
|
||||
i3 = super.i3 // {
|
||||
outPath = "@i3@";
|
||||
};
|
||||
i3 = super.i3 // { outPath = "@i3@"; };
|
||||
|
||||
i3status = super.i3status // {
|
||||
outPath = "@i3status@";
|
||||
};
|
||||
i3status = super.i3status // { outPath = "@i3status@"; };
|
||||
})
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue