modules/cockpit: remove unnecessary plugins
This commit is contained in:
parent
29e7717d30
commit
3592c33514
1 changed files with 9 additions and 0 deletions
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue