nix/modules/system/gui/hyprland.nix

53 lines
1.2 KiB
Nix
Raw Normal View History

2024-03-09 17:18:36 +01:00
{ config, pkgs, ... }:
{
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
2024-09-05 19:20:03 +02:00
# services.greetd = {
# enable = true;
# settings = {
# default_session = {
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --time --cmd Hyprland";
# user = "xeovalyte";
# };
# };
# };
# SDDM configuration
2024-12-10 18:38:17 +01:00
# environment.systemPackages = with pkgs; [
# libsForQt5.qt5.qtquickcontrols2
# libsForQt5.qt5.qtgraphicaleffects
# ];
2024-09-05 19:20:03 +02:00
2024-12-10 18:38:17 +01:00
# services.displayManager.sddm = {
# enable = true;
# wayland.enable = true;
# theme = "${import ./sddm-theme.nix { inherit pkgs; }}";
# };
2024-03-09 17:18:36 +01:00
2024-09-05 19:20:03 +02:00
# Sound configuration
2024-03-12 17:31:56 +01:00
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
2024-09-05 19:20:03 +02:00
# Keyring configuration
2024-03-14 22:46:49 +01:00
security.polkit.enable = true;
2024-06-20 13:41:57 +02:00
services.gnome.gnome-keyring.enable = true;
security.pam.services.greetd.enableGnomeKeyring = true;
programs.ssh.startAgent = true;
2024-03-14 22:46:49 +01:00
2024-03-09 17:18:36 +01:00
# Configure networking
networking.networkmanager.enable = true;
networking.wireless.iwd.enable = true;
}