Update modules/users.nix modules/workspace/misc.nix
This commit is contained in:
parent
cac7cd00ab
commit
675fce1770
@ -32,8 +32,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.balsoft.xdg.configFile."Yubico/u2f_keys".text = "balsoft:CicONGIHB4jL1NuHA36oPlPn5qsAQgIjQKGTSC3F-XZEAWdRVBX0jr8I_PxbgQR6Ys1toFJhaXtqYjY__uVhgg,04f580832926c646e918123bd516851ac5bf7d54482c1e2eb05e0e3f6aae197e4fc4853a2760794cf597001498f1833b3d36015cafa5f61703f3fbf59b73e05eca";
|
||||||
|
|
||||||
home-manager.users.balsoft.home.sessionVariables.XDG_RUNTIME_DIR = "/run/user/1000";
|
home-manager.users.balsoft.home.sessionVariables.XDG_RUNTIME_DIR = "/run/user/1000";
|
||||||
|
|
||||||
|
security.pam.u2f = {
|
||||||
|
control = "required";
|
||||||
|
interactive = true;
|
||||||
|
cue = true;
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
security.sudo = {
|
security.sudo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -15,14 +15,7 @@
|
|||||||
NIX_AUTO_RUN = "1";
|
NIX_AUTO_RUN = "1";
|
||||||
};
|
};
|
||||||
services.atd.enable = true;
|
services.atd.enable = true;
|
||||||
security.pam.services.sudo = {
|
|
||||||
u2fAuth = true;
|
|
||||||
unixAuth = true;
|
|
||||||
};
|
|
||||||
security.pam.u2f = {
|
|
||||||
control = "sufficient";
|
|
||||||
cue = true;
|
|
||||||
};
|
|
||||||
home-manager.users.balsoft = {
|
home-manager.users.balsoft = {
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user