Files
.dotfiles/system/security/default.nix
T

28 lines
442 B
Nix

{ config, pkgs, ... }:
{
imports = [
./sops.nix
./sudo.nix
./systemd.nix
./users.nix
];
security = {
pam.services.swaylock = {};
polkit.enable = true;
rtkit.enable = true;
tpm2 = {
enable = true;
pkcs11.enable = true;
tctiEnvironment.enable = true;
};
};
services.udev.extraRules = ''
KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"
'';
}