diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-09 13:28:41 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-09 13:28:41 +0100 |
commit | 4211ed3b82be9af26460a0a8d88dce9ce319bb47 (patch) | |
tree | 5f00163d1dc86982c618f2780977ddcdf4d28308 /compositor.nix | |
parent | 691746148aaf53cb5f5c85db41d7aec7cc2d75cd (diff) |
Some changes
Diffstat (limited to 'compositor.nix')
-rw-r--r-- | compositor.nix | 10 |
1 files changed, 7 insertions, 3 deletions
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"; }; }; }; |