nixos-config/systems/mc3/configuration.nix

40 lines
848 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
2021-11-17 17:05:26 +01:00
#unstable = import <nixos-unstable> {};
2021-11-06 00:07:40 +01:00
mc1 = "192.168.0.167";
in
{
imports =
[
./hardware-configuration.nix
./modules/generic.nix
2021-11-17 17:05:26 +01:00
./modules/invidious.nix
2021-11-06 00:07:40 +01:00
];
2021-11-17 17:05:26 +01:00
#nixpkgs.overlays = [
# (self: super: {
# gitea = unstable.gitea;
# htop = unstable.htop;
# })
#];
2021-11-06 00:07:40 +01:00
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: