This commit is contained in:
muon 2025-01-02 11:53:41 +00:00
parent 7a0ea882c5
commit 7bf3d8fd7c
5 changed files with 15 additions and 44 deletions

View file

@ -1,7 +1,9 @@
{ inputs, system, pkgs, ... }: {
{ inputs, system, pkgs, ... }:
let nixpkgs = inputs.nixpkgs;
in {
mkHost = host:
inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system pkgs; };
nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system; };
modules = [
host