feat(networking): enable systemd-networkd

This commit is contained in:
Felix Schröter 2025-05-10 15:56:47 +02:00
parent d8d4b29769
commit 61b899ecb6
Signed by: felschr
GPG key ID: 671E39E6744C807D
6 changed files with 147 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{ config, lib, ... }:
let
cfg = config.custom.seven;
in
{
imports = [ ./seven-ntfy.nix ];
options = {
custom.seven = {
enable = lib.mkEnableOption (lib.mdDoc "Seven");
ssh.enable = lib.mkEnableOption (lib.mdDoc "Seven SSH");
};
};
config = lib.mkIf cfg.enable {
programs.ssh.extraConfig = lib.mkIf cfg.ssh.enable ''
Host *.factory.secunet.com
User fschroeter
'';
};
}