18 lines
417 B
Nix
18 lines
417 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
repoHyprDir = ../../../files/conf/hypr;
|
|
in
|
|
{
|
|
programs.hyprland.enable = true;
|
|
|
|
services.dbus.enable = lib.mkDefault true;
|
|
security.polkit.enable = lib.mkDefault true;
|
|
|
|
# Publish to XDG config dir so Hyprland finds it
|
|
environment.etc."xdg/hypr".source = repoHyprDir;
|
|
|
|
# Optional breadcrumb
|
|
environment.etc."nixlog/loaded.nixos-desktop-wm-hyprland".text = "loaded\n";
|
|
}
|