1 { inputs, pkgs, lib, config, ... }:
3 inherit (builtins) readFile;
4 inherit (config.users) users;
11 networking.nftables.ruleset = ''
12 add rule inet filter fw2net tcp dport {25,465} skuid ${users.julm.name} counter accept comment "SMTP"
13 add rule inet filter fw2net tcp dport 43 skuid ${users.julm.name} counter accept comment "Whois"
14 add rule inet filter fw2net tcp dport 563 skuid ${users.julm.name} counter accept comment "NNTPS"
15 add rule inet filter fw2net tcp dport 6697 skuid ${users.julm.name} counter accept comment "IRCS"
16 add rule inet filter fw2net tcp dport 11371 skuid ${users.julm.name} counter accept comment "HKP"
22 openssh.authorizedKeys.keys = [
23 (readFile (inputs.secrets + "/machines/losurdo/ssh/root.ssh-ed25519.pub"))