Update modules/users.nix

This commit is contained in:
Alexander Bantyev 2020-03-01 20:49:41 +03:00
parent 3ce31a7e12
commit 72a158d9d4
1 changed files with 5 additions and 3 deletions

View File

@ -27,9 +27,11 @@
systemd.services."user@" = { serviceConfig = { Restart = "always"; }; }; systemd.services."user@" = { serviceConfig = { Restart = "always"; }; };
home-manager.users.balsoft.xdg.configFile."Yubico/u2f_keys".text = home-manager.users.balsoft.home.activation.yubi = {
"balsoft:CicONGIHB4jL1NuHA36oPlPn5qsAQgIjQKGTSC3F-XZEAWdRVBX0jr8I_PxbgQR6Ys1toFJhaXtqYjY__uVhgg,04f580832926c646e918123bd516851ac5bf7d54482c1e2eb05e0e3f6aae197e4fc4853a2760794cf597001498f1833b3d36015cafa5f61703f3fbf59b73e05eca"; data = "[ -s $XDG_CONFIG_HOME/Yubico/u2f_keys ] || pamu2fcfg > $XDG_CONFIG_HOME/Yubico/u2f_keys";
after = [ "linkGeneration" ];
before = [ ];
};
home-manager.users.balsoft.home.sessionVariables.XDG_RUNTIME_DIR = home-manager.users.balsoft.home.sessionVariables.XDG_RUNTIME_DIR =
"/run/user/1000"; "/run/user/1000";