ssh stuff, pam u2f, fixing touchpad tapping on mbp

This commit is contained in:
Jade 2024-02-06 19:33:09 +01:00
parent 89faa2c6b0
commit cf18b231c4
No known key found for this signature in database
3 changed files with 14 additions and 1 deletions

View file

@ -156,6 +156,9 @@ with builtins; {
packages = [ packages = [
pkgs.marksman pkgs.marksman
]; ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOaE8TFsIazpn4OnHvHcRpOFr9FfvMaWOiEjmHsmnAoE cardno:000F_70CD7D05"
];
}; };
zramSwap = { zramSwap = {

View file

@ -66,6 +66,7 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
services.xserver.libinput.touchpad.disableWhileTyping = true; services.xserver.libinput.touchpad.disableWhileTyping = true;
services.xserver.libinput.touchpad.tapping = false;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -115,8 +116,17 @@
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
programs.seahorse.enable = true; programs.seahorse.enable = true;
security.pam.services.jade.enableGnomeKeyring = true; security.pam.services.jade.enableGnomeKeyring = true;
security.pam.services.jade.u2fAuth = true;
systemd.services."NetworkManager-wait-online".enable = false; systemd.services."NetworkManager-wait-online".enable = false;
programs.i3lock.u2fSupport = true;
security.pam.u2f = {
enable = true;
cue = true;
control = "sufficient";
authFile = "/home/jade/.ssh/u2f_keys";
};
# services.pixiecore = # services.pixiecore =
# let # let

View file

@ -13,7 +13,7 @@ def main [
systemd-cat echo $"($currentnet) \(($interface)): ($type)"; systemd-cat echo $"($currentnet) \(($interface)): ($type)";
if $interface == 'wlp2s0' { if $interface starts-with 'wlp' {
^$"/etc/networkhooks/($currentnet).nu" $interface $type ^$"/etc/networkhooks/($currentnet).nu" $interface $type
} }
} }