1
0

Specific nixpkgs per host

This commit is contained in:
2023-03-23 17:09:54 +01:00
parent d30cbbf99d
commit e38180a5f0
3 changed files with 21 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
{ self, nixpkgs, nixos-exporter, solid-xmpp-alarm, ... }@inputs:
rec {
generateNixosSystem = name: nixpkgs.lib.nixosSystem {
generateNixosSystem = name: let
localNixpkgs = nixpkgs.lib.attrByPath [ "nixpkgs-${name}" ] nixpkgs inputs;
in localNixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
({ ... }: {