nixpkgs-fmt
This commit is contained in:
parent
6a9a43478c
commit
04091588ee
10 changed files with 185 additions and 169 deletions
|
@ -2,7 +2,8 @@
|
|||
|
||||
let
|
||||
home-manager = (import ../nix/sources.nix).home-manager;
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
"${home-manager}/nixos"
|
||||
];
|
||||
|
@ -10,8 +11,8 @@ in {
|
|||
|
||||
home-manager.users.fleaz = { pkgs, ... }: {
|
||||
imports = [
|
||||
modules/neovim.nix
|
||||
modules/vscode.nix
|
||||
modules/neovim.nix
|
||||
modules/vscode.nix
|
||||
];
|
||||
|
||||
services.gnome-keyring.enable = true;
|
||||
|
@ -194,66 +195,68 @@ in {
|
|||
|
||||
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
|
||||
|
||||
keybindings = let mod = "Mod4";
|
||||
in {
|
||||
"${mod}+Return" = "exec foot";
|
||||
"${mod}+p" = "exec ${pkgs.wofi}/bin/wofi --show drun";
|
||||
keybindings =
|
||||
let mod = "Mod4";
|
||||
in
|
||||
{
|
||||
"${mod}+Return" = "exec foot";
|
||||
"${mod}+p" = "exec ${pkgs.wofi}/bin/wofi --show drun";
|
||||
|
||||
"${mod}+Shift+c" = "reload";
|
||||
"${mod}+Shift+q" = "kill";
|
||||
"${mod}+Shift+e" =
|
||||
"exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'";
|
||||
"${mod}+x" = "move workspace to output right";
|
||||
"${mod}+Shift+c" = "reload";
|
||||
"${mod}+Shift+q" = "kill";
|
||||
"${mod}+Shift+e" =
|
||||
"exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'";
|
||||
"${mod}+x" = "move workspace to output right";
|
||||
|
||||
"${mod}+h" = "focus left";
|
||||
"${mod}+j" = "focus down";
|
||||
"${mod}+k" = "focus up";
|
||||
"${mod}+l" = "focus right";
|
||||
"${mod}+h" = "focus left";
|
||||
"${mod}+j" = "focus down";
|
||||
"${mod}+k" = "focus up";
|
||||
"${mod}+l" = "focus right";
|
||||
|
||||
"${mod}+Shift+h" = "move left";
|
||||
"${mod}+Shift+j" = "move down";
|
||||
"${mod}+Shift+k" = "move up";
|
||||
"${mod}+Shift+l" = "move right";
|
||||
"${mod}+Shift+h" = "move left";
|
||||
"${mod}+Shift+j" = "move down";
|
||||
"${mod}+Shift+k" = "move up";
|
||||
"${mod}+Shift+l" = "move right";
|
||||
|
||||
"${mod}+s" = "split v";
|
||||
"${mod}+w" = "split h";
|
||||
"${mod}+s" = "split v";
|
||||
"${mod}+w" = "split h";
|
||||
|
||||
"${mod}+t" = "layout tabbed";
|
||||
"${mod}+r" = "mode resize";
|
||||
"${mod}+t" = "layout tabbed";
|
||||
"${mod}+r" = "mode resize";
|
||||
|
||||
"${mod}+f" = "fullscreen toggle";
|
||||
"${mod}+Shift+space" = "floating toggle";
|
||||
"${mod}+f" = "fullscreen toggle";
|
||||
"${mod}+Shift+space" = "floating toggle";
|
||||
|
||||
"${mod}+1" = "workspace 1";
|
||||
"${mod}+2" = "workspace 2";
|
||||
"${mod}+3" = "workspace 3";
|
||||
"${mod}+4" = "workspace 4";
|
||||
"${mod}+5" = "workspace 5";
|
||||
"${mod}+6" = "workspace 6";
|
||||
"${mod}+7" = "workspace 7";
|
||||
"${mod}+8" = "workspace 8";
|
||||
"${mod}+9" = "workspace 9";
|
||||
"${mod}+0" = "workspace 10";
|
||||
"${mod}+1" = "workspace 1";
|
||||
"${mod}+2" = "workspace 2";
|
||||
"${mod}+3" = "workspace 3";
|
||||
"${mod}+4" = "workspace 4";
|
||||
"${mod}+5" = "workspace 5";
|
||||
"${mod}+6" = "workspace 6";
|
||||
"${mod}+7" = "workspace 7";
|
||||
"${mod}+8" = "workspace 8";
|
||||
"${mod}+9" = "workspace 9";
|
||||
"${mod}+0" = "workspace 10";
|
||||
|
||||
"${mod}+Shift+1" = "move container to workspace 1";
|
||||
"${mod}+Shift+2" = "move container to workspace 2";
|
||||
"${mod}+Shift+3" = "move container to workspace 3";
|
||||
"${mod}+Shift+4" = "move container to workspace 4";
|
||||
"${mod}+Shift+5" = "move container to workspace 5";
|
||||
"${mod}+Shift+6" = "move container to workspace 6";
|
||||
"${mod}+Shift+7" = "move container to workspace 7";
|
||||
"${mod}+Shift+8" = "move container to workspace 8";
|
||||
"${mod}+Shift+9" = "move container to workspace 9";
|
||||
"${mod}+Shift+0" = "move container to workspace 10";
|
||||
"${mod}+Shift+1" = "move container to workspace 1";
|
||||
"${mod}+Shift+2" = "move container to workspace 2";
|
||||
"${mod}+Shift+3" = "move container to workspace 3";
|
||||
"${mod}+Shift+4" = "move container to workspace 4";
|
||||
"${mod}+Shift+5" = "move container to workspace 5";
|
||||
"${mod}+Shift+6" = "move container to workspace 6";
|
||||
"${mod}+Shift+7" = "move container to workspace 7";
|
||||
"${mod}+Shift+8" = "move container to workspace 8";
|
||||
"${mod}+Shift+9" = "move container to workspace 9";
|
||||
"${mod}+Shift+0" = "move container to workspace 10";
|
||||
|
||||
# Multimedia Keys
|
||||
"XF86AudioMute" =
|
||||
"exec ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||
"XF86AudioRaiseVolume" =
|
||||
"exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
||||
"XF86AudioLowerVolume" =
|
||||
"exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
||||
};
|
||||
# Multimedia Keys
|
||||
"XF86AudioMute" =
|
||||
"exec ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||
"XF86AudioRaiseVolume" =
|
||||
"exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
||||
"XF86AudioLowerVolume" =
|
||||
"exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
plugins = with pkgs.vimPlugins; [ vim-airline neoformat vim-monokai ];
|
||||
settings = { ignorecase = true; };
|
||||
extraConfig = ''
|
||||
set mouse=a
|
||||
'';
|
||||
};
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
plugins = with pkgs.vimPlugins; [ vim-airline neoformat vim-monokai ];
|
||||
settings = { ignorecase = true; };
|
||||
extraConfig = ''
|
||||
set mouse=a
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium; # You can skip this if you want to use the unfree version
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
dracula-theme.theme-dracula
|
||||
vscodevim.vim
|
||||
yzhang.markdown-all-in-one
|
||||
ms-python.python
|
||||
];
|
||||
};
|
||||
enable = true;
|
||||
package = pkgs.vscodium; # You can skip this if you want to use the unfree version
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
dracula-theme.theme-dracula
|
||||
vscodevim.vim
|
||||
yzhang.markdown-all-in-one
|
||||
ms-python.python
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue