make mkFlake per-system
This commit is contained in:
parent
70dd3a104a
commit
0a2dd27902
2 changed files with 21 additions and 19 deletions
|
@ -33,7 +33,9 @@
|
|||
# ];
|
||||
# };
|
||||
in {
|
||||
mkFlake = config: let
|
||||
mkFlake = config:
|
||||
flake-utils.lib.eachDefaultSystem(system:
|
||||
let
|
||||
vm = oslib.mkVM {
|
||||
inherit (config) name uuid;
|
||||
beforeInstall = [
|
||||
|
@ -47,7 +49,7 @@
|
|||
packages.afterInstall = vm.afterInstallDrv;
|
||||
packages.beforeBoot = vm.beforeBootDrv;
|
||||
packages.afterBoot = vm.afterBootDrv;
|
||||
};
|
||||
});
|
||||
|
||||
apps = {
|
||||
# hello-start-vm = flake-utils.lib.mkApp {
|
||||
|
|
8
server/flakes/windows/test/flake.lock
generated
8
server/flakes/windows/test/flake.lock
generated
|
@ -126,11 +126,11 @@
|
|||
"zig2nix": "zig2nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719258655,
|
||||
"narHash": "sha256-bzoB79jZjBrdSk6cRf3OdUUdMmutij9Tl3uvLj3zzFY=",
|
||||
"lastModified": 1719259537,
|
||||
"narHash": "sha256-oHrDpHmZCZY+i3FT3NGPqeQCBoAFu5kLJMe2mRSofDc=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "1531a79212f5ad05439c89ab463aa037f02da4c1",
|
||||
"revCount": 2,
|
||||
"rev": "70dd3a104a3d42c18586cc8e687f760ab77714e1",
|
||||
"revCount": 3,
|
||||
"type": "git",
|
||||
"url": "https://git.jeevio.xyz/jeeves/oslib"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue