dotfiles/host/lindberg/networking.nix
2021-04-10 18:37:07 +02:00

15 lines
301 B
Nix

{ config, pkgs, ... }:
let meta = import ../../meta;
in {
networking.hostName = "lindberg"; # TODO: Extract into meta
networking.useDHCP = false;
networking.interfaces.enp5s0.useDHCP = true;
services.qois.luks-ssh = {
enable = true;
interface = "enp5s0";
sshPort = 2222;
};
}