ssh-remote

This commit is contained in:
Lilith 2025-03-17 19:11:32 +01:00
parent 56ea69ea23
commit a22cc6450e
Signed by: lilith
GPG key ID: 8712A0F317C37175
5 changed files with 74 additions and 7 deletions

View file

@ -1,15 +1,23 @@
{ config, lib, ...}: {
{
config,
lib,
pkgs,
hyprland,
...
}:
{
options.desktop.enable = lib.mkEnableOption "Enable Wayland compositor with hyprland login";
config = lib.mkIf config.desktop.enable {
hardware.graphics.enable = true;
security.polkit.enable = true;
security.pam.services.hyprlock = {};
security.pam.services.hyprlock = { };
services.dbus.enable = true;
programs.hyprland.enable = true;
programs.hyprland.package = hyprland.packages.${pkgs.stdenv.system}.hyprland;
services.greetd = {
enable = true;