diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-08 09:17:29 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-08 09:17:29 +0100 |
commit | 79b83161d4f90f10a76239e3dcbb4e8e086b72df (patch) | |
tree | dbb0d7278a07e8979e80bafa3e541e3839454a49 | |
parent | 6018f54efde04fd73700ac0260d943325e9a8261 (diff) |
Configure hyprland
-rw-r--r-- | compositor.nix | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/compositor.nix b/compositor.nix index d016236..716caef 100644 --- a/compositor.nix +++ b/compositor.nix @@ -1,26 +1,23 @@ # https://wiki.nixos.org/wiki/Sway { pkgs, ... }: { + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; + programs.hyprlock.enable = true; + environment.systemPackages = with pkgs; [ - grim - slurp - wl-clipboard - mako - wlr-randr + kitty # Required by Hyprland ]; services.gnome.gnome-keyring.enable = true; - programs.sway = { - enable = true; - wrapperFeatures.gtk = true; - }; - services.greetd = { enable = true; settings = { default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway"; + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd hyprland"; user = "greeter"; }; }; |