21 lines
391 B
Nix
21 lines
391 B
Nix
{ pkgs, ... }:
|
|
|
|
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
|
|
'';
|
|
};
|
|
};
|
|
|
|
services.hyprspace.services.manage = "/tcp/${toString port}";
|
|
}
|