nix-dotfiles/systems/palatine-hill/configuration.nix

48 lines
937 B
Nix
Raw Normal View History

2023-12-24 18:48:52 +01:00
{ pkgs, ... }:
{
2023-12-23 07:39:10 +01:00
time.timeZone = "America/New_York";
console.keyMap = "us";
networking.hostId = "dc2f9781";
2023-12-25 18:54:38 +01:00
boot.zfs.extraPools = [ "ZFS-primary" ];
2023-12-23 07:39:10 +01:00
virtualisation = {
docker = {
enable = true;
recommendedDefaults = true;
logDriver = "local";
daemon."settings" = {
exec-opts = [ "native.cgroupdriver=systemd" ];
log-opts = {
max-size = "10m";
max-file = "5";
};
data-root = "/var/lib/docker2";
};
storageDriver = "overlay2";
};
podman = {
enable = true;
recommendedDefaults = true;
};
};
environment.systemPackages = with pkgs; [
docker-compose
];
services = {
samba.enable = true;
nfs.server.enable = true;
haproxy = {
enable = true;
config = builtins.readFile ./conf/haproxy.conf;
};
};
networking.firewall.enable = false;
2023-12-23 08:27:00 +01:00
system.stateVersion = "23.05";
}