Separated concerns in desktop environment

This commit is contained in:
marc
2022-11-19 17:13:59 +01:00
parent 2d20a13d7d
commit c335d7b082
4 changed files with 42 additions and 63 deletions

View File

@@ -2,6 +2,7 @@
let
cfg = config.samfelag.modules.app.firefox;
i3Cfg = config.samfelag.modules.desktop.i3;
in
{
options.samfelag.modules.app.firefox = {
@@ -11,5 +12,9 @@ in
environment.systemPackages = with pkgs; [
firefox
];
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
"${i3Cfg.mod}+Control+3" = "exec ${pkgs.firefox}/bin/firefox";
};
};
}