config/modules/cockpit/default.nix

22 lines
400 B
Nix
Raw Normal View History

{ pkgs, ... }:
2024-05-14 16:08:23 +02: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 16:08:23 +02:00
};
2024-06-02 20:06:10 +02:00
services.hyprspace.settings.services.manage = "/tcp/${toString port}";
2024-05-14 16:08:23 +02:00
}