Further hyprland config

This commit is contained in:
LarsZauberer 2024-04-13 19:00:23 +02:00
commit b61b33c7c4
2 changed files with 11 additions and 3 deletions

View file

@ -11,6 +11,11 @@ in {
default = ",preferred,auto,1";
type = types.listOf(types.str);
};
extra = mkOption {
description = "any extra configuration to add to the hyprland config file";
default = {};
type = types.attrs;
};
};
config = mkIf cfg.enable {
@ -40,7 +45,7 @@ in {
home-manager.users.${username} = {
wayland.windowManager.hyprland = {
enable = true;
settings = {
settings = lib.mkMerge [{
# Monitor config
monitor = cfg.monitor;
@ -50,6 +55,10 @@ in {
kb_layout = "ch";
};
animation = [
"workspaces,1,10,default"
];
bind = [
"$mod, Q, killactive"
"$mod, return, exec, alacritty"
@ -87,7 +96,7 @@ in {
)
10)
);
};
} cfg.extra];
};
};
};

View file

@ -46,7 +46,6 @@ in {
rustdesk
neovim
tmux
firefox
kitty
nextcloud-client
vscode