nix/modules/system/desktop/hyprland.nix

41 lines
800 B
Nix
Raw Normal View History

2024-03-09 17:18:36 +01:00
{ config, pkgs, ... }:
{
2024-06-06 09:43:48 +02:00
imports = [
./keyring.nix
];
2024-03-09 17:18:36 +01:00
programs.hyprland = {
enable = true;
2024-05-28 14:19:16 +02:00
package = pkgs.unstable.hyprland;
2024-03-09 17:18:36 +01:00
xwayland.enable = true;
};
# Configure display manager
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --time --cmd Hyprland";
user = "xeovalyte";
};
};
};
2024-03-12 17:31:56 +01:00
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
2024-03-14 22:46:49 +01:00
security.polkit.enable = true;
2024-03-09 17:18:36 +01:00
# Configure networking
networking.networkmanager.enable = true;
networking.wireless.iwd.enable = true;
}