This commit is contained in:
Cyryl Płotnicki 2019-07-14 09:26:24 +01:00
parent 57e1357569
commit 74b0ab107f

View file

@ -2,6 +2,7 @@
let let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
mod = "Mod4";
in in
{ {
nixpkgs.config = { nixpkgs.config = {
@ -33,7 +34,14 @@ in
enable = true; enable = true;
windowManager.i3 = { windowManager.i3 = {
enable = true; enable = true;
config.modifier = "Mod4"; config = {
modifier = mod;
keybindings = {
"${mod}+Return" = "exec i3-sensible-terminal";
"${mod}+Shift+q" = "kill";
"${mod}+d" = "exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi";
};
};
}; };
}; };
imports = [ imports = [
@ -46,6 +54,7 @@ in
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
rofi.enable = true;
fzf.enable = true; fzf.enable = true;
firefox.enable = true; firefox.enable = true;
chromium.enable = true; chromium.enable = true;