nixos-config/modules/nixos/hyprland.nix

32 lines
664 B
Nix

{
config,
lib,
pkgs,
...
}:
{
# programs.hyprland = {
# enable = true;
# xwayland.enable = false;
# systemd.enable = true;
# };
# # launch hyprland on login
# # systemd.services.hyprland = {
# # description = "Hyprland";
# # wantedBy = [ "graphical.target" ];
# # after = [ "display-manager.service" ];
# # serviceConfig = {
# # Type = "simple";
# # ExecStart = "${pkgs.hyprland}/bin/hyprland";
# # Restart = "always";
# # RestartSec = "5";
# # User = config.var.username;
# # };
# # };
# systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ];
}