diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-07-31 21:19:39 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-07-31 21:19:39 +0200 |
commit | d36353cf86b485131d8220f952ce3cc5537687f1 (patch) | |
tree | 366d3402f46dcf71c8f9c3d86da2883c46d0e0a1 | |
parent | e6e16bc11843045aa95dbe1194f9bf0cbb083e0e (diff) | |
download | nixpkgs-d36353cf86b485131d8220f952ce3cc5537687f1.tar nixpkgs-d36353cf86b485131d8220f952ce3cc5537687f1.tar.gz nixpkgs-d36353cf86b485131d8220f952ce3cc5537687f1.tar.bz2 nixpkgs-d36353cf86b485131d8220f952ce3cc5537687f1.tar.lz nixpkgs-d36353cf86b485131d8220f952ce3cc5537687f1.tar.xz nixpkgs-d36353cf86b485131d8220f952ce3cc5537687f1.tar.zst nixpkgs-d36353cf86b485131d8220f952ce3cc5537687f1.zip |
nixos/oddjob: Maybe fix, but mark as broken
Unfortunately there's no test for me to confirm that it works, so all I can do is ask for maintainers, unfortunately -- I mean... This is your opportunity!
-rw-r--r-- | nixos/modules/programs/oddjobd.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/programs/oddjobd.nix b/nixos/modules/programs/oddjobd.nix index a37df0482c9..b0920d007c9 100644 --- a/nixos/modules/programs/oddjobd.nix +++ b/nixos/modules/programs/oddjobd.nix @@ -10,6 +10,11 @@ in }; config = lib.mkIf cfg.enable { + assertions = [ + { assertion = false; + message = "The oddjob service was found to be broken without NixOS test or maintainer. Please take ownership of this service."; + } + ]; systemd.packages = [ cfg.package ]; systemd.services.oddjobd = { @@ -21,7 +26,7 @@ in serviceConfig = { Type = "dbus"; BusName = "org.freedesktop.oddjob"; - ExecStart = "${lib.getExe cfg.package}/bin/oddjobd"; + ExecStart = "${lib.getBin cfg.package}/bin/oddjobd"; }; }; }; |