summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2024-11-08 09:17:29 +0100
committerJasper Ras <jaspert.ras@gmail.com>2024-11-08 09:17:29 +0100
commit79b83161d4f90f10a76239e3dcbb4e8e086b72df (patch)
treedbb0d7278a07e8979e80bafa3e541e3839454a49
parent6018f54efde04fd73700ac0260d943325e9a8261 (diff)
Configure hyprland
-rw-r--r--compositor.nix19
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";
};
};