From 3b6be8a2fc1b52a090799feb1a7ffb65fef79352 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 4 Sep 2023 21:59:04 +0200 Subject: [PATCH] Move the ceph client config to an external module --- m/hut/configuration.nix | 2 +- m/{hut => module}/ceph.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename m/{hut => module}/ceph.nix (93%) diff --git a/m/hut/configuration.nix b/m/hut/configuration.nix index 1be9dc3..c3e72ab 100644 --- a/m/hut/configuration.nix +++ b/m/hut/configuration.nix @@ -4,11 +4,11 @@ imports = [ ../common/main.nix + ../module/ceph.nix ./gitlab-runner.nix ./monitoring.nix ./nfs.nix ./slurm-daemon.nix - ./ceph.nix #./pxe.nix agenix.nixosModules.default ]; diff --git a/m/hut/ceph.nix b/m/module/ceph.nix similarity index 93% rename from m/hut/ceph.nix rename to m/module/ceph.nix index ebbb885..ff3fd22 100644 --- a/m/hut/ceph.nix +++ b/m/module/ceph.nix @@ -1,5 +1,6 @@ { config, pkgs, ... }: +# Mounts the /ceph filesystem at boot { environment.systemPackages = with pkgs; [ ceph