lib wasn't imported in virtbox.nix, so we'll include that

This commit is contained in:
randomuser 2023-07-07 23:11:21 -05:00
parent 2830d98192
commit 7688715da5
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
{ config, pkgs, ... }: { lib, config, pkgs, ... }:
let let
hostname = "virtbox"; hostname = "virtbox";
isVirtbox = hostname == "virtbox";
in in
{ {
imports = imports =
@ -33,7 +34,7 @@ in
# branch and enable different capabilities based on the system # branch and enable different capabilities based on the system
lib.mkIf hostname == "virtbox" { test = lib.mkIf isVirtbox {
services.virtbox.enable = true; services.virtbox.enable = true;
}; };
} }

View File

@ -1,4 +1,4 @@
{ config, pkgs, ...}: { lib, config, pkgs, ...}:
with lib; with lib;
let let