wip - fixes to import and config location

This commit is contained in:
2025-01-30 10:54:27 +01:00
parent 1cd68c8ce1
commit 5c79c29b7d
10 changed files with 110 additions and 109 deletions

View File

@@ -5,31 +5,21 @@
...
}:
{
programs.uwsm.enable = true;
# Use hyprland as the main desktop environment but use gdm as desktop manager
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
];
services.displayManager = {
defaultSession = "hyprland";
};
services.xserver.displayManager.gdm = {
enable = true;
wayland = true;
};
}