better logic

This commit is contained in:
2026-03-03 10:43:21 +01:00
parent d99a9cd1f4
commit e4f1c5d84a
4 changed files with 11 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
{ inputs, ... }: {
flake.lib.mkHost = { system ? "x86_64-linux", user, extraModules ? [] }:
flake.lib.mkHost = { system, user, host, extraModules ? [] }:
inputs.nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit user;
inherit user host;
pkgs-unstable = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = true;