laptop: fix cursor and add pam u2f
This commit is contained in:
parent
803579c420
commit
b146f56e4f
5 changed files with 32 additions and 13 deletions
|
@ -195,7 +195,7 @@ in
|
|||
slurp
|
||||
gdb
|
||||
|
||||
swaylock-effects
|
||||
swaylock-effects # Has to be installed globally so that pam module works
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
|
@ -226,6 +226,15 @@ in
|
|||
keep-derivations = true
|
||||
'';
|
||||
|
||||
# Enables logging in with my Solokey
|
||||
security.pam.u2f = {
|
||||
enable = true;
|
||||
debug = false;
|
||||
cue = true;
|
||||
control = "sufficient";
|
||||
authFile = "/etc/u2f-mappings"; # use `pamu2fcfg` from `pkgs.pam_u2f` to generate this config
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue