nixfiles/boxes/colony.nix
2022-02-16 01:38:17 +00:00

37 lines
626 B
Nix

{ lib, pkgs, ... }:
{
my = {
firewall = {
trustedInterfaces = [ "blah" ];
nat = {
externalInterface = "eth0";
forwardPorts = [
{
proto = "tcp";
sourcePort = 2222;
destination = "127.0.0.1:22";
}
];
};
};
server.enable = true;
homeConfig = {
programs = {
lsd.enable = true;
starship.enable = true;
};
};
};
fileSystems = {
"/persist" = {
device = "/dev/disk/by-label/persist";
fsType = "ext4";
neededForBoot = true;
};
};
networking = { };
}