More server changes and generalization of the waybar
This commit is contained in:
parent
7540a2156a
commit
ba65a9a177
36 changed files with 213 additions and 402 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ ... }:
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
security.pam.loginLimits = [
|
||||
security.pam.loginLimits = lib.mkIf config.system.desktop.enable [
|
||||
{
|
||||
domain = "@users";
|
||||
item = "rtprio";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue