nixos-config/configuration.nix

37 lines
809 B
Nix
Raw Normal View History

2022-01-27 17:14:52 +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
./modules/invidious.nix
./modules/nitter.nix
./modules/borg.nix
];
#nixpkgs.overlays = [
# (self: super: {
# gitea = unstable.gitea;
# htop = unstable.htop;
# })
#];
networking.firewall.allowedTCPPorts = [ 3000 2222 ];
services = {
gitea = import ./modules/gitea.nix;
};
system.stateVersion = "21.05";
}
# vim: set et ts=2 sw=2 ai: