mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-24 22:18:43 +01:00
ssh stuff, pam u2f, fixing touchpad tapping on mbp
This commit is contained in:
parent
89faa2c6b0
commit
cf18b231c4
|
@ -156,6 +156,9 @@ with builtins; {
|
|||
packages = [
|
||||
pkgs.marksman
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOaE8TFsIazpn4OnHvHcRpOFr9FfvMaWOiEjmHsmnAoE cardno:000F_70CD7D05"
|
||||
];
|
||||
};
|
||||
|
||||
zramSwap = {
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
services.xserver.libinput.touchpad.disableWhileTyping = true;
|
||||
services.xserver.libinput.touchpad.tapping = false;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
@ -115,8 +116,17 @@
|
|||
services.gnome.gnome-keyring.enable = true;
|
||||
programs.seahorse.enable = true;
|
||||
security.pam.services.jade.enableGnomeKeyring = true;
|
||||
security.pam.services.jade.u2fAuth = true;
|
||||
|
||||
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 =
|
||||
# let
|
||||
|
|
|
@ -13,7 +13,7 @@ def main [
|
|||
|
||||
systemd-cat echo $"($currentnet) \(($interface)): ($type)";
|
||||
|
||||
if $interface == 'wlp2s0' {
|
||||
if $interface starts-with 'wlp' {
|
||||
^$"/etc/networkhooks/($currentnet).nu" $interface $type
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue