nixos-server-conf/shared/system.nix

30 lines
360 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
modulesPath,
...
}:
{
system.stateVersion = "24.11";
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
};
environment.systemPackages = with pkgs; [
git
2025-06-11 09:25:09 +00:00
htop
];
2025-05-21 12:05:47 +00:00
networking.firewall = {
enable = true;
2025-06-10 07:14:33 +00:00
allowedTCPPorts = [ 80 443 ];
2025-05-21 12:05:47 +00:00
};
}