Added keybindings
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user