36 lines
625 B
Nix
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
|
|
];
|
|
|
|
|
|
}
|