mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Those virtualisation things should've been in that file. Oops.
This commit is contained in:
parent
1383d88b11
commit
bdbefcb23c
2 changed files with 10 additions and 8 deletions
|
|
@ -19,6 +19,16 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.supportedFilesystems = [ "zfs" "xfs" ];
|
boot.supportedFilesystems = [ "zfs" "xfs" ];
|
||||||
|
|
||||||
|
virtualisation.libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemuOvmf = true;
|
||||||
|
qemuRunAsRoot = false;
|
||||||
|
onBoot = "ignore";
|
||||||
|
onShutdown = "shutdown";
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.kat.extraGroups = [ "libvirtd" ];
|
||||||
|
|
||||||
# video=efifb:off allows the 580 to be passed through regardless of being the boot display and allows the 560 to act as a console device
|
# video=efifb:off allows the 580 to be passed through regardless of being the boot display and allows the 560 to act as a console device
|
||||||
# pci=noats means that it doesn't kernel panic on my specific configuration
|
# pci=noats means that it doesn't kernel panic on my specific configuration
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,6 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
virtualisation.libvirtd = {
|
|
||||||
enable = true;
|
|
||||||
qemuOvmf = true;
|
|
||||||
qemuRunAsRoot = false;
|
|
||||||
onBoot = "ignore";
|
|
||||||
onShutdown = "shutdown";
|
|
||||||
};
|
|
||||||
users.users.kat.extraGroups = [ "libvirtd" ];
|
|
||||||
|
|
||||||
environment.systemPackages = let
|
environment.systemPackages = let
|
||||||
python-env = python-packages:
|
python-env = python-packages:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue