misc laptop things
This commit is contained in:
parent
1715f33f53
commit
8912f87918
|
@ -53,4 +53,8 @@
|
|||
rekeyFile = ./secrets/iwd/devolo-og.psk.age;
|
||||
path = "/var/lib/iwd/devolo-og.psk";
|
||||
};
|
||||
age.secrets.simonWlan = {
|
||||
rekeyFile = ./. + "/secrets/iwd/=467269747a21426f78373539302048616e7373656e.psk.age";
|
||||
path = "/var/lib/=467269747a21426f78373539302048616e7373656e.psk";
|
||||
};
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
{config, ...}: {
|
||||
agenix.secrets.usbguard.rekeyFile = ../../secrets/usbguard.rules.age;
|
||||
age.secrets.usbguard.rekeyFile = ../../secrets/usbguard.rules.age;
|
||||
services.usbguard = {
|
||||
rules = builtins.readFile config.age.secrets.usbguard.path;
|
||||
ruleFile = config.age.secrets.usbguard.path;
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -42,6 +42,9 @@
|
|||
"type:touch" = {
|
||||
map_to_output = "eDP-1";
|
||||
};
|
||||
"type:tablet_tool" = {
|
||||
map_to_output = "eDP-1";
|
||||
};
|
||||
};
|
||||
keybindings = let
|
||||
cfg = config.wayland.windowManager.sway.config;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
};
|
||||
|
||||
"gojo" = {
|
||||
hostname = "10.181.97.217";
|
||||
hostname = "gojo.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
|
@ -46,6 +46,10 @@
|
|||
hostname = "lel.lol";
|
||||
user = "patrick";
|
||||
};
|
||||
"binex" = {
|
||||
hostname = "praksrv.sec.in.tum.de";
|
||||
user = "team402";
|
||||
};
|
||||
"*" = {
|
||||
identitiesOnly = true;
|
||||
inherit identityFile;
|
||||
|
|
|
@ -39,6 +39,7 @@ lib.optionalAttrs (!minimal) {
|
|||
|
||||
./simon.nix
|
||||
./impermanence.nix
|
||||
./ssh.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
56
users/simon/ssh.nix
Normal file
56
users/simon/ssh.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
# yubikey public key parts
|
||||
home.file.".ssh/1.pub".text = ''
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZixkix0KfKuq7Q19whS5FQQg51/AJGB5BiNF/7h/LM cardno:15 489 049
|
||||
'';
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
controlMaster = "auto";
|
||||
controlPersist = "5s";
|
||||
matchBlocks = let
|
||||
identityFile = ["~/.ssh/1.pub"];
|
||||
in {
|
||||
"elisabeth" = {
|
||||
hostname = "lel.lol";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"gojo" = {
|
||||
hostname = "gojo.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"patricknix" = {
|
||||
hostname = "patricknix.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"testienix" = {
|
||||
hostname = "testienix.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"desktopnix" = {
|
||||
hostname = "desktopnix.local";
|
||||
user = "root";
|
||||
};
|
||||
|
||||
"valhalla" = {
|
||||
hostname = "valhalla.fs.tum.de";
|
||||
user = "hanssen";
|
||||
};
|
||||
"elisabethprivate" = {
|
||||
hostname = "lel.lol";
|
||||
user = "simon";
|
||||
};
|
||||
"binex" = {
|
||||
hostname = "praksrv.sec.in.tum.de";
|
||||
user = "team402";
|
||||
};
|
||||
"*" = {
|
||||
identitiesOnly = true;
|
||||
inherit identityFile;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue