mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-26 03:11:32 +01:00
16 lines
363 B
Nix
16 lines
363 B
Nix
{ config, ...}:
|
|
{
|
|
nix.extraOptions = ''
|
|
!include ${config.age.secrets.nix-access-tokens.path}
|
|
'';
|
|
|
|
# security with polkit
|
|
services.power-profiles-daemon = {
|
|
enable = true;
|
|
};
|
|
security.polkit.enable = true;
|
|
# security with gnome-kering
|
|
services.gnome.gnome-keyring.enable = true;
|
|
security.pam.services.greetd.enableGnomeKeyring = true;
|
|
}
|