feat: add a lot of stuff

This commit is contained in:
Jacob Bachmann 2023-12-11 15:48:55 +01:00
parent 8eb88574fb
commit 6067f0ff0b
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
47 changed files with 578 additions and 136 deletions

View file

@ -1,11 +1,13 @@
{ ... }: {
{ config, lib, ... }: {
security.polkit.enable = true;
# rtkit is optional but recommended
security.rtkit.enable = true;
} // (lib.mkIf (lib.elem "sway" config.bchmnn.gui.flavour) {
# TODO workaround to get swaylock accepting pw
# https://github.com/NixOS/nixpkgs/issues/158025
security.pam.services.swaylock = {};
security.pam.services.swaylock = { };
}
})