summaryrefslogtreecommitdiff
path: root/compositor.nix
diff options
context:
space:
mode:
Diffstat (limited to 'compositor.nix')
-rw-r--r--compositor.nix10
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";
};
};
};