This repository has been archived on 2025-11-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nixos-config/modules/core/security.nix

8 lines
295 B
Nix

{pkgs, ...}: {
security.rtkit.enable = true;
security.polkit.enable = true;
security.sudo.enable = true;
security.sudo.package = pkgs.sudo.override {withInsults = true;}; # I'm spanish and I love cursing
# security.pam.services.swaylock = { };
security.pam.services.hyprlock = {};
}