Fix voyager; zfs, docker, metrics

This commit is contained in:
2023-04-16 16:49:08 +02:00
parent 9ce4b138cd
commit afc4b9f4bb
8 changed files with 63 additions and 57 deletions

View File

@@ -8,34 +8,34 @@
./hardware-configuration.nix
./containers.nix
./services/nginx
./services/metrics
# TODO:
# - Boots
# x Boot
# x Mount ZFS
# x Monitoring server
# x Podman
# x Flame
# - Transmission
# - Jellyfin
# - NFS exports
# x Monitoring server
# - FreeBSD VM
# - Kali VM
# - Kerberos / IPA
];
boot = {
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
kernelParams = [ "nohibernate" ]; # No swap, no hibernate
zfs.extraPools = [ "tank" ];
supportedFilesystems = [ "zfs" ];
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
};
# filesystems."/tank" = {
# device = "tank";
# fsType = "zfs";
# };
networking = {
hostName = "voyager";
defaultGateway = "192.168.10.1";
nameservers = [ "192.168.10.1" "1.1.1.1" ];
interfaces.eth0.ipv4 = {
interfaces.eno1.ipv4 = {
addresses = [
{ address = "192.168.10.165"; prefixLength = 24; }
];
@@ -81,16 +81,11 @@
'';
}
)
wget
git
tree
rsync
bottom
zfs
];
networking.firewall.allowedTCPPorts = [ 22 ];
system.stateVersion = "22.11";
}