lib wasn't imported in virtbox.nix, so we'll include that
This commit is contained in:
parent
2830d98192
commit
7688715da5
|
@ -1,7 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
hostname = "virtbox";
|
||||
isVirtbox = hostname == "virtbox";
|
||||
in
|
||||
{
|
||||
imports =
|
||||
|
@ -33,7 +34,7 @@ in
|
|||
|
||||
# branch and enable different capabilities based on the system
|
||||
|
||||
lib.mkIf hostname == "virtbox" {
|
||||
test = lib.mkIf isVirtbox {
|
||||
services.virtbox.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ...}:
|
||||
{ lib, config, pkgs, ...}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
|
Loading…
Reference in New Issue