frcc experiments #1

Merged
flowey merged 6 commits from frcc-kvm into master 2026-09-11 07:31:33 +00:00
Showing only changes of commit bb79660386 - Show all commits
+2 -3
View File
@@ -67,7 +67,7 @@ let
inherit name; inherit name;
inherit net resources; inherit net resources;
svc.autoStart = true; svc.autoStart = true;
isolation = { nixDaemon = nixDaemon; } // isolation; isolation = { inherit nixDaemon; } // isolation;
traits = [ sshTrait ] ++ traits; traits = [ sshTrait ] ++ traits;
packages = with pkgs; [ tmux ] ++ packages; packages = with pkgs; [ tmux ] ++ packages;
miscProperties = self._sshpiperRegister routingInfo; miscProperties = self._sshpiperRegister routingInfo;
@@ -77,8 +77,7 @@ let
containerConfig = containerConfig =
{ pkgs, ... }: { pkgs, ... }:
{ {
users.users.runner.extraGroups = [ "wheel" ]; users.users.runner.extraGroups = [ "kvm" ];
security.sudo.wheelNeedsPassword = false;
environment.systemPackages = [ pkgs.qemu_kvm ]; environment.systemPackages = [ pkgs.qemu_kvm ];
}; };
}; };