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,7 +1,7 @@
{ config, ... }:
{ config, lib, ... }:
{
security = {
polkit.enable = config.system.desktop.enable;
rtkit.enable = config.system.desktop.enable;
security = lib.mkIf config.system.desktop.enable {
polkit.enable = true;
rtkit.enable = true;
};
}

View file

@ -1,6 +1,6 @@
{ ... }:
{ lib, config, ... }:
{
security.pam.loginLimits = [
security.pam.loginLimits = lib.mkIf config.system.desktop.enable [
{
domain = "@users";
item = "rtprio";