modules/cockpit: remove unnecessary plugins

This commit is contained in:
Max Headroom 2024-05-14 16:57:19 +02:00
parent 29e7717d30
commit 3592c33514

View file

@ -1,3 +1,5 @@
{ pkgs, ... }:
let
port = 31350;
in
@ -6,6 +8,13 @@ in
services.cockpit = {
enable = true;
inherit port;
package = pkgs.cockpit.overrideAttrs {
postFixup = ''
for package in apps kdump packagekit playground selinux sosreport; do
rm -rf $out/share/cockpit/$package
done
'';
};
};
services.hyprspace.services.manage = "/tcp/${toString port}";