feat: borrows stuff from current nixos-wsl stuff
This commit is contained in:
15
hosts/nixosWSL/nixos-wsl/syschdemd.nix
Normal file
15
hosts/nixosWSL/nixos-wsl/syschdemd.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ 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;
|
||||
}
|
||||
Reference in New Issue
Block a user