This commit is contained in:
Robin Appelman 2026-04-06 22:30:53 +02:00
commit 40560f2129
11 changed files with 68 additions and 69 deletions

View file

@ -5,10 +5,10 @@
...
}:
with lib; let
cfg = config.services.palantir;
cfg = config.services.sidewindow;
in {
options.services.palantir = {
enable = mkEnableOption "Enables the palantir service";
options.services.sidewindow = {
enable = mkEnableOption "Enables the sidewindow service";
port = mkOption rec {
type = types.int;
@ -73,7 +73,7 @@ in {
services.udev.packages = [cfg.package];
systemd.services."palantir" = {
systemd.services."sidewindow" = {
wantedBy = ["multi-user.target"];
after = ["systemd-networkd-wait-online.service"];
path = lib.optional cfg.zfs pkgs.zfs;
@ -93,7 +93,7 @@ in {
serviceConfig = {
Restart = "on-failure";
ExecStart = "${cfg.package}/bin/palantir";
ExecStart = "${cfg.package}/bin/sidewindow";
DynamicUser = true;
PrivateTmp = true;
ProtectSystem = "strict";