nixos-config/config/host-config/lambda.nix

30 lines
526 B
Nix
Raw Normal View History

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