# 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 ./modules/nextcloud.nix ./modules/postgresql.nix ./modules/rclone.nix ./modules/ceph-common.nix ]; 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" ]; }; networking.firewall.allowedTCPPorts = [ 3300 ]; system.stateVersion = "21.05"; } # vim: set et ts=2 sw=2 ai: