nixos-config/systems/mc3/configuration.nix

39 lines
809 B
Nix
Raw Normal View History

2021-11-06 00:07:40 +01:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }:
let
unstable = import <nixos-unstable> {};
mc1 = "192.168.0.167";
in
{
imports =
[
./hardware-configuration.nix
./modules/generic.nix
];
nixpkgs.overlays = [
(self: super: {
gitea = unstable.gitea;
htop = unstable.htop;
})
];
networking.firewall.allowedTCPPorts = [ 3000 2222 ];
services = {
gitea = import ./modules/gitea.nix;
zabbixAgent = {
enable = true;
openFirewall = true;
server = mc1;
};
};
system.stateVersion = "21.05";
}
2021-11-17 10:20:02 +01:00
# vim: set et ts=2 sw=2 ai: