nixos-config/systems/mc4/configuration.nix

36 lines
921 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-11-06 13:01:22 +01:00
];
2021-12-18 22:26:58 +01:00
services.ceph = {
enable = true;
global.fsid = "be1051e6-ee13-44d6-a9a1-96cc36300e13";
#global.monHost = "10.0.69.234";
global.monInitialMembers = "mc4";
mds.enable = true;
mds.daemons = [ "mc4"];
mon.enable = true;
mon.daemons = [ "mc4" ];
#osd.enable = true;
#osd.daemons = [ "0" ];
};
services.ceph.client.enable = true;
environment.systemPackages = [ pkgs.ceph ];
2021-11-06 13:01:22 +01:00
system.stateVersion = "21.05";
}
2021-11-17 10:20:02 +01:00
# vim: set et ts=2 sw=2 ai: