wip - fixes to import and config location
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user