config/modules/cockpit/default.nix

22 lines
400 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
};
2024-06-02 21:06:10 +03:00
services.hyprspace.settings.services.manage = "/tcp/${toString port}";
2024-05-14 17:08:23 +03:00
}