nixos/tests/userborn: inherit pkgs in specialisation

This commit is contained in:
nikstur 2026-01-26 00:05:41 +01:00
commit 8b80ecd252
4 changed files with 8 additions and 8 deletions

View file

@ -21,7 +21,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@ -38,7 +38,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];

View file

@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@ -33,7 +33,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];

View file

@ -20,7 +20,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@ -37,7 +37,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];

View file

@ -16,7 +16,7 @@ in
meta.maintainers = with lib.maintainers; [ nikstur ];
nodes.machine =
{ config, ... }:
{ pkgs, ... }:
{
imports = [ common ];
@ -34,7 +34,7 @@ in
inheritParentConfig = false;
configuration = {
nixpkgs = {
inherit (config.nixpkgs) hostPlatform;
inherit pkgs;
};
imports = [ common ];