virt only on North
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{ config, pkgs, user, ... }:
|
||||
{ config, pkgs, lib, user, host, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
virtiofsd
|
||||
];
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
users.users."${user}".extraGroups = [ "libvirtd" ];
|
||||
config = lib.mkIf (host == "NxNORTH") {
|
||||
environment.systemPackages = with pkgs; [
|
||||
virtiofsd
|
||||
];
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
users.users."${user}".extraGroups = [ "libvirtd" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user