32 lines
542 B
Nix
32 lines
542 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# TODO: remove?
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"openssh-with-gssapi-8.4p1" # CVE-2021-28041
|
|
];
|
|
|
|
fudo.slynk.enable = true;
|
|
|
|
networking = {
|
|
interfaces = {
|
|
enp3s0f0.useDHCP = false;
|
|
enp3s0f1.useDHCP = false;
|
|
enp4s0f0.useDHCP = false;
|
|
enp4s0f1.useDHCP = false;
|
|
|
|
intif0 = {
|
|
useDHCP = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
fudo.ipfs = {
|
|
enable = true;
|
|
users = [ "niten" ];
|
|
api-address = "/ip4/0.0.0.0/tcp/5001";
|
|
};
|
|
|
|
# TODO: add camera
|
|
}
|