1 { inputs, pkgs, lib, config, ... }:
3 inherit (builtins) readFile;
4 inherit (config.users) users;
19 openssh.authorizedKeys.keys =
20 users."julm".openssh.authorizedKeys.keys ++
21 [ (readFile (inputs.secrets + "/machines/losurdo/ssh/root.ssh-ed25519.pub")) ];
32 networking.nftables.ruleset = ''
33 add rule inet filter fw2net tcp dport {25,465} skuid ${users.julm.name} counter accept comment "SMTP"
34 add rule inet filter fw2net tcp dport 43 skuid ${users.julm.name} counter accept comment "Whois"
35 add rule inet filter fw2net tcp dport 563 skuid ${users.julm.name} counter accept comment "NNTPS"
36 add rule inet filter fw2net tcp dport 6697 skuid ${users.julm.name} counter accept comment "IRCS"
37 add rule inet filter fw2net tcp dport 11371 skuid ${users.julm.name} counter accept comment "HKP"