HermitCollective.nix/system/nixos.nix

39 lines
776 B
Nix
Raw Normal View History

2024-03-06 09:25:15 +00:00
{
2024-03-06 09:49:17 +00:00
boot = {
loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
editor = false;
};
};
};
nix = {
settings = {
# Enable flakes and new 'nix' command
experimental-features = "nix-command flakes";
# Deduplicate and optimize nix store
auto-optimise-store = true;
};
};
nixpkgs.config = {
allowUnfree = true;
};
2024-03-06 09:25:15 +00:00
networking = {
hostName = "HermitCollective";
domain = "hermitcollective.net";
2024-04-03 23:10:21 +00:00
firewall.allowedTCPPorts = [ 22 80 443 8080 8181 1935 6667 ];
2024-03-06 09:25:15 +00:00
};
security.acme = {
acceptTerms = true;
defaults.email = "hertog@fsfe.org";
};
# Hertog if you are wanting to change this don't oke? thanks
system.stateVersion = "23.05";
}