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