From adf4e7e52cc4796c0300dc3dbf59839b07f3e7bd Mon Sep 17 00:00:00 2001 From: get Date: Fri, 12 Apr 2024 14:33:26 +0200 Subject: [PATCH] Hyprland try --- hosts/lars/dyonisos/default.nix | 1 + hosts/lars/hyprland.nix | 21 +++++++++++++++++++++ hosts/lars/programs.nix | 4 +++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 hosts/lars/hyprland.nix diff --git a/hosts/lars/dyonisos/default.nix b/hosts/lars/dyonisos/default.nix index 594cb67..2d68268 100644 --- a/hosts/lars/dyonisos/default.nix +++ b/hosts/lars/dyonisos/default.nix @@ -2,6 +2,7 @@ _: { imports = [ ../. ./../programs.nix + ./../hyprland.nix ./programs.nix ./configuration.nix ./hardware-configuration.nix diff --git a/hosts/lars/hyprland.nix b/hosts/lars/hyprland.nix new file mode 100644 index 0000000..a4e2123 --- /dev/null +++ b/hosts/lars/hyprland.nix @@ -0,0 +1,21 @@ +{ config, inputs, pkgs, ... }: +let + username = config.myOptions.other.system.username; +in { + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; + + wayland.windowManager.hyprland = { + enable = true; + settings = { + "$mod" = "SUPER"; + bind = [ + "$mod, Q, killactive" + "$mod, return, kitty" + "$mod SHIFT, return, firefox" + ]; + }; + }; +} diff --git a/hosts/lars/programs.nix b/hosts/lars/programs.nix index 6e7649d..97a5b03 100644 --- a/hosts/lars/programs.nix +++ b/hosts/lars/programs.nix @@ -15,7 +15,7 @@ in { libreoffice-fresh ventoy-full lazygit - # obsidian + obsidian neofetch zip vlc @@ -46,6 +46,8 @@ in { rustdesk neovim tmux + firefox + kitty ]; }; }