16 lines
345 B
Nix
16 lines
345 B
Nix
{ lib, pkgs, config, defaultUser, ... }:
|
|
|
|
pkgs.substituteAll {
|
|
name = "syschdemd";
|
|
src = ./syschdemd.sh;
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
|
|
buildInputs = with pkgs; [ daemonize ];
|
|
|
|
inherit (pkgs) daemonize;
|
|
inherit defaultUser;
|
|
inherit (config.security) wrapperDir;
|
|
fsPackagesPath = lib.makeBinPath config.system.fsPackages;
|
|
}
|