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
|
let
|
||||||
port = 31350;
|
port = 31350;
|
||||||
in
|
in
|
||||||
|
@ -6,6 +8,13 @@ in
|
||||||
services.cockpit = {
|
services.cockpit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit port;
|
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}";
|
services.hyprspace.services.manage = "/tcp/${toString port}";
|
||||||
|
|
Loading…
Reference in a new issue