mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 10:14:09 +02:00
rename
This commit is contained in:
parent
76da726559
commit
40560f2129
11 changed files with 68 additions and 69 deletions
10
module.nix
10
module.nix
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue