From 20dd47c51ff9a1d003d54d34b946f19abba1d723 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 8 Jan 2022 23:05:12 +0100 Subject: [PATCH] storage-ng: install ceph, use linuxPackages_latest --- hosts/glotzbert/default.nix | 1 - hosts/storage-ng/default.nix | 1 + lib/ceph-storage.nix | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/glotzbert/default.nix b/hosts/glotzbert/default.nix index ab86e12e..9248b3a2 100644 --- a/hosts/glotzbert/default.nix +++ b/hosts/glotzbert/default.nix @@ -43,7 +43,6 @@ firefox mpv kodi - ceph ]; systemd.user.services.x11vnc = { diff --git a/hosts/storage-ng/default.nix b/hosts/storage-ng/default.nix index 0fcc9a40..b03d1a23 100644 --- a/hosts/storage-ng/default.nix +++ b/hosts/storage-ng/default.nix @@ -28,6 +28,7 @@ in efiSupport = true; devices = [ "nodev" ]; }; + boot.kernelPackages = pkgs.linuxPackages_latest; boot.loader.efi.canTouchEfiVariables = true; systemd.enableEmergencyMode = false; diff --git a/lib/ceph-storage.nix b/lib/ceph-storage.nix index a6e6958a..d7b397ff 100644 --- a/lib/ceph-storage.nix +++ b/lib/ceph-storage.nix @@ -36,6 +36,10 @@ in { ]; }; + environment.systemPackages = with pkgs; [ + ceph + ]; + warnings = lib.optionals config.boot.isContainer [ '' Mounting CephFS on containers (on the same kernel that runs the servers) is discouraged! Ask Poelzi why.