deprecate nixpkgs overwrite

This commit is contained in:
Jonas Rabenstein 2025-11-26 02:52:11 +01:00
commit 12b4f9957b
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{ nixosUsers ? {}, nixosGroups ? {}, nixosModules, hmModules ? { default = {}; }, ...}@flake: { ... }@inputs: { host, ... }@imports: let
host' = name: snippets: let
system = { namespace?"fbs42", nixpkgs?"nixpkgs" }: inputs.${nixpkgs}.lib.nixosSystem {
system = { namespace?"fbs42", nixpkgs?"nixpkgs" }: assert nixpkgs == "nixpkgs"; inputs.${nixpkgs}.lib.nixosSystem {
specialArgs = { inherit inputs flake namespace; };
modules = builtins.concatLists (map (base: builtins.attrValues (flake.lib.scan { base = "${base}/host/${name}"; })) flake.lib.schema.base)
++ [ { config.networking.hostName = name; } ]