More server changes and generalization of the waybar

This commit is contained in:
Jimbo 2024-12-12 06:37:05 -05:00
parent 7540a2156a
commit ba65a9a177
36 changed files with 213 additions and 402 deletions

View file

@ -1,17 +1,19 @@
{ config, lib, ... }:
{
programs = {
sway.enable = config.system.desktop.enable;
niri.enable = config.system.desktop.enable;
hyprland.enable = config.system.desktop.enable;
xwayland.enable = lib.mkForce true;
};
config = lib.mkIf config.system.desktop.enable {
programs = {
sway.enable = true;
niri.enable = true;
hyprland.enable = true;
xwayland.enable = lib.mkForce true;
};
environment.sessionVariables = {
WLR_RENDERER = "vulkan";
NIXOS_OZONE_WL = "1";
};
environment.sessionVariables = {
WLR_RENDERER = "vulkan";
NIXOS_OZONE_WL = "1";
};
services.dbus.enable = config.system.desktop.enable;
security.pam.services.swaylock = {};
services.dbus.enable = true;
security.pam.services.swaylock = {};
};
}