modularizing kernel and loader settings

This commit is contained in:
cnst
2024-09-22 14:30:06 +02:00
parent 6f53da8393
commit 50d554b6f6
22 changed files with 294 additions and 84 deletions

View File

@@ -10,7 +10,6 @@ in {
modules.terminal.alacritty.enable = mkEnableOption "Enables firefox";
};
config = mkIf cfg.enable {
home.sessionVariables.TERMINAL = "alacritty";
programs.alacritty = {
enable = true;
settings = {

View File

@@ -11,7 +11,6 @@ in {
modules.terminal.foot.enable = mkEnableOption "Enables foot terminal";
};
config = mkIf cfg.enable {
home.sessionVariables.TERMINAL = "foot";
programs.foot = {
enable = true;
package = pkgs.foot;

View File

@@ -10,7 +10,6 @@ in {
modules.terminal.kitty.enable = mkEnableOption "Enables kitty terminal";
};
config = mkIf cfg.enable {
home.sessionVariables.TERMINAL = "kitty";
programs.kitty = {
enable = true;
settings = {

View File

@@ -15,7 +15,6 @@ in {
modules.terminal.wezterm.enable = mkEnableOption "Enables wezterm terminal";
};
config = mkIf cfg.enable {
home.sessionVariables.TERMINAL = "wezterm";
programs.wezterm = {
enable = true;
package = weztermPkg;

View File

@@ -52,7 +52,7 @@ in {
#bind = $mod, M, exec, hyprctl dispatch exit
#bind = $mod, E, exec, $fileManager
"$mod, E, exec, $fileManager"
"$mod, r, exec, $tuirun"
"$mod, R, exec, $tuirun"
"$mod SHIFT, E, exec, $yazi"
"$mod, F, fullscreen,"
"$mod SHIFT, F, togglefloating,"

View File

@@ -19,7 +19,7 @@ in {
"float,initialTitle:(tuirun)"
"size 600 300,initialTitle:(tuirun)"
"center,initialTitle:(tuirun)"
# "workspace special:tuirun,initialTitle:(tuirun)"
"workspace special:tuirun,initialTitle:(tuirun)"
"noborder,initialTitle:(tuirun)"
#windowrulev2 = move 1708 32,class:(floatcal)
"float,class:(org.keepassxc.KeePassXC)"