2024-05-14 17:57:19 +03:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2024-05-14 17:08:23 +03:00
|
|
|
let
|
|
|
|
port = 31350;
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
services.cockpit = {
|
|
|
|
enable = true;
|
|
|
|
inherit port;
|
2024-05-14 17:57:19 +03:00
|
|
|
package = pkgs.cockpit.overrideAttrs {
|
|
|
|
postFixup = ''
|
|
|
|
for package in apps kdump packagekit playground selinux sosreport; do
|
|
|
|
rm -rf $out/share/cockpit/$package
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
};
|
2024-05-14 17:08:23 +03:00
|
|
|
};
|
|
|
|
|
2024-06-02 21:06:10 +03:00
|
|
|
services.hyprspace.settings.services.manage = "/tcp/${toString port}";
|
2024-05-14 17:08:23 +03:00
|
|
|
}
|