mirror of
https://github.com/larstvei/nix-config.git
synced 2025-12-31 12:10:12 +00:00
30 lines
611 B
Nix
30 lines
611 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = rec {
|
|
initial_session = {
|
|
command = "hyprland > /dev/null 2>&1";
|
|
user = "larstvei";
|
|
};
|
|
default_session = initial_session;
|
|
};
|
|
};
|
|
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
package = pkgs.hyprland;
|
|
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
|
};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
pkgs.xdg-desktop-portal-gtk
|
|
];
|
|
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
|
};
|
|
}
|