nixos-config/systems/mc4/configuration.nix

41 lines
998 B
Nix
Raw Normal View History

2021-11-06 13:01:22 +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, ... }:
{
imports =
[
./hardware-configuration.nix
./modules/generic.nix
2021-11-23 11:17:26 +01:00
./modules/nextcloud.nix
./modules/postgresql.nix
2021-11-30 15:38:52 +01:00
./modules/rclone.nix
2021-12-21 14:41:36 +01:00
./modules/ceph-common.nix
./modules/borg.nix
./modules/ihatemoney.nix
2021-11-06 13:01:22 +01:00
];
#services.ceph = {
# mds.enable = true;
# mds.daemons = [ "mc4" ];
# mgr.enable = true;
# mgr.daemons = [ "mc4" ];
# mon.enable = true;
# mon.daemons = [ "mc4" ];
# mon.extraConfig = {
# "auth_allow_insecure_global_id_reclaim" = "false";
# };
# #osd.enable = true;
# #osd.daemons = [ "2" ];
#};
programs.atop.atopacctService.enable = false;
2021-12-18 22:26:58 +01:00
2021-12-21 14:41:36 +01:00
networking.firewall.allowedTCPPorts = [ 3300 ];
2021-12-18 22:26:58 +01:00
system.stateVersion = "22.05";
2021-11-06 13:01:22 +01:00
}
2021-11-17 10:20:02 +01:00
# vim: set et ts=2 sw=2 ai: