nixos/tests/sudo.nix: get rid of with lib
This commit is contained in:
parent
5f00f1f49c
commit
bef35b3b88
|
@ -2,17 +2,13 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
password = "helloworld";
|
password = "helloworld";
|
||||||
|
|
||||||
in
|
in
|
||||||
import ./make-test-python.nix ({ pkgs, ...} : {
|
import ./make-test-python.nix ({ lib, pkgs, ...} : {
|
||||||
name = "sudo";
|
name = "sudo";
|
||||||
meta = with pkgs.lib.maintainers; {
|
meta.maintainers = with lib.maintainers; [ lschuermann ];
|
||||||
maintainers = [ lschuermann ];
|
|
||||||
};
|
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
with lib;
|
|
||||||
{
|
{
|
||||||
users.groups = { foobar = {}; barfoo = {}; baz = { gid = 1337; }; };
|
users.groups = { foobar = {}; barfoo = {}; baz = { gid = 1337; }; };
|
||||||
users.users = {
|
users.users = {
|
||||||
|
|
Loading…
Reference in a new issue