54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.hyprland = {
|
|
enable = true;
|
|
package = pkgs.unstable.hyprland;
|
|
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";
|
|
# };
|
|
# };
|
|
# };
|
|
|
|
# SDDM configuration
|
|
environment.systemPackages = with pkgs; [
|
|
libsForQt5.qt5.qtquickcontrols2
|
|
libsForQt5.qt5.qtgraphicaleffects
|
|
];
|
|
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
theme = "${import ./sddm-theme.nix { inherit pkgs; }}";
|
|
};
|
|
|
|
# Sound configuration
|
|
sound.enable = true;
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
# Keyring configuration
|
|
security.polkit.enable = true;
|
|
services.gnome.gnome-keyring.enable = true;
|
|
security.pam.services.greetd.enableGnomeKeyring = true;
|
|
programs.ssh.startAgent = true;
|
|
|
|
# Configure networking
|
|
networking.networkmanager.enable = true;
|
|
networking.wireless.iwd.enable = true;
|
|
}
|