Added keybindings

This commit is contained in:
marc committed 2022-11-21 11:22:41 +01:00
1 parent 740f440400
commit ae6a2fafa3
5 files changed
+17 -5

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ in
];
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
"${i3Cfg.mod}+Control+3" = "exec ${pkgs.firefox}/bin/firefox";
"${i3Cfg.mod}+Shift+i" = "exec ${pkgs.firefox}/bin/firefox";
};
};
}
+1 -1
View File
@@ -14,7 +14,7 @@ in
];
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
"${i3Cfg.mod}+Control+0" = "exec ${pkgs.spotify}/bin/spotify";
"${i3Cfg.mod}+Shift+m" = "exec ${pkgs.spotify}/bin/spotify";
};
};
}
+9 -2
View File
@@ -3,6 +3,9 @@
with lib;
let
cfg = config.samfelag.modules.editors.emacs;
i3Cfg = config.samfelag.modules.desktop.i3;
emacsWithPackages = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages
(epkgs: [epkgs.vterm]));
in {
options.samfelag.modules.editors.emacs = {
enable = mkEnableOption "emacs";
@@ -33,8 +36,8 @@ in {
environment.systemPackages = with pkgs; [
## Emacs itself
binutils
((emacsPackagesFor emacsNativeComp).emacsWithPackages
(epkgs: [ epkgs.vterm ]))
emacsWithPackages
# emacsPgtkGcc
## Doom dependencies
@@ -107,5 +110,9 @@ in {
'';
};
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
"${i3Cfg.mod}+Shift+e" = "exec ${emacsWithPackages}/bin/emacs";
};
};
}
+1 -1
View File
@@ -24,7 +24,7 @@ with lib.my;
config = {
user = {
description = "The primary user account";
extraGroups = [ "wheel" ];
extraGroups = [ "wheel" "networkmanager" ];
isNormalUser = true;
home = "/home/${config.user.name}";
group = "users";