Compare commits

...

2 commits

Author SHA1 Message Date
cf18b231c4
ssh stuff, pam u2f, fixing touchpad tapping on mbp 2024-02-06 19:33:09 +01:00
89faa2c6b0
some formatting 2024-02-06 19:32:18 +01:00
4 changed files with 21 additions and 2 deletions

View file

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

View file

@ -55,7 +55,13 @@
services.xserver.libinput.touchpad.tapping = false;
environment.systemPackages = [pkgs.plantuml pkgs.mqttui pkgs.mobile-broadband-provider-info pkgs.modem-manager-gui pkgs.wireshark];
environment.systemPackages = [
pkgs.plantuml
pkgs.mqttui
pkgs.mobile-broadband-provider-info
pkgs.modem-manager-gui
pkgs.wireshark
];
# Bootloader.
boot.loader.systemd-boot.enable = true;

View file

@ -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

View file

@ -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
}
}