config/modules/cockpit/default.nix

22 lines
391 B
Nix
Raw Normal View History

{ pkgs, ... }:
2024-05-14 17:08:23 +03:00
let
port = 31350;
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
'';
};
2024-05-14 17:08:23 +03:00
};
services.hyprspace.services.manage = "/tcp/${toString port}";
}