improve nixos wrapper module

This commit is contained in:
atagen 2026-02-26 15:20:32 +11:00
parent cb9cdc8501
commit 80af5f69dc
3 changed files with 52 additions and 17 deletions

View file

@ -46,11 +46,9 @@
sys = pkgs.stdenv.hostPlatform.system;
in
{
config = {
imports = [ ./nix/module.nix ];
wrapperPkg = self.packages.${sys}.yoke-lite;
environment.systemPackages = [ self.packages.${sys}.yoke ];
};
imports = [ ./nix/module.nix ];
security.yoke.wrapperPkg = self.packages.${sys}.yoke-lite;
environment.systemPackages = [ self.packages.${sys}.yoke ];
};
};
}