From 4211ed3b82be9af26460a0a8d88dce9ce319bb47 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Sat, 9 Nov 2024 13:28:41 +0100 Subject: Some changes --- compositor.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'compositor.nix') diff --git a/compositor.nix b/compositor.nix index 716caef..9805172 100644 --- a/compositor.nix +++ b/compositor.nix @@ -1,14 +1,18 @@ # https://wiki.nixos.org/wiki/Sway -{ pkgs, ... }: +{ inputs, pkgs, ... }: { programs.hyprland = { enable = true; xwayland.enable = true; + package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; programs.hyprlock.enable = true; environment.systemPackages = with pkgs; [ kitty # Required by Hyprland + rofi-wayland-unwrapped + rofi-rbw-wayland ]; services.gnome.gnome-keyring.enable = true; @@ -17,8 +21,8 @@ enable = true; settings = { default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd hyprland"; - user = "greeter"; + command = "${pkgs.hyprland}/bin/hyprland"; + user = "jras"; }; }; }; -- cgit v1.2.3