From e6d2dca199942f49de9e0e35d7e18f1b27fb6cd3 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 10 Oct 2022 23:03:38 -0400 Subject: [PATCH] Oops --- modules/linux/hardware.nix | 2 +- modules/linux/user.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/linux/hardware.nix b/modules/linux/hardware.nix index 67b5bda..b096481 100644 --- a/modules/linux/hardware.nix +++ b/modules/linux/hardware.nix @@ -26,8 +26,8 @@ with lib; ovmf = { enable = true; package = pkgs.OVMFFull; - runAsRoot = true; }; + runAsRoot = true; swtpm.enable = true; }; }; diff --git a/modules/linux/user.nix b/modules/linux/user.nix index c3e9bb2..a44cf71 100644 --- a/modules/linux/user.nix +++ b/modules/linux/user.nix @@ -50,7 +50,7 @@ with lib; { # Configure the timezone time.timeZone = "America/New_York"; } - (mkIf config.nathan.config.hardware.amdPassthrough { + (mkIf config.nathan.hardware.amdPassthrough { users.users."${nc.user}".extraGroups = [ "libvirtd" ]; }) ];