nitrokey: Only enable on bare metal
This commit is contained in:
parent
04c7bc089f
commit
e600e15141
|
@ -5,9 +5,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
lib.mkMerge [
|
||||
{
|
||||
(lib.mkIf (!config.sbruder.machine.isVm) {
|
||||
hardware.nitrokey.enable = true;
|
||||
}
|
||||
})
|
||||
(lib.mkIf config.sbruder.gui.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# both depend on pypemicro, which is not needed, but nixpkgs requires it
|
||||
|
|
Loading…
Reference in a new issue