30 lines
600 B
Nix
30 lines
600 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
programs.hyprland = {
|
|
enable = true;
|
|
xwayland.enable = false;
|
|
};
|
|
|
|
# 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" ];
|
|
|
|
}
|