feat: borrows stuff from current nixos-wsl stuff

This commit is contained in:
2022-03-29 21:39:26 +00:00
parent ed5f21e48c
commit f5ddfd72e2
18 changed files with 965 additions and 48 deletions

View 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;
}