diff --git a/modules/cockpit/default.nix b/modules/cockpit/default.nix index e23f5ac..2a04adc 100644 --- a/modules/cockpit/default.nix +++ b/modules/cockpit/default.nix @@ -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}";