nixos-config/modules/nixos/hyprland.nix
2025-01-17 20:19:21 +01:00

36 lines
625 B
Nix

{
config,
lib,
pkgs,
...
}:
{
programs.uwsm.enable = true;
programs.hyprland = {
enable = true;
xwayland.enable = false;
withUWSM = 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;
# };
# };
environment.systemPackages = with pkgs; [
waybar
];
}