diff options
author | ene <ene@sils.li> | 2023-03-22 20:32:37 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-22 20:33:48 +0100 |
commit | eafafdaaeb54960ef6cafb977b07bea49a4aae58 (patch) | |
tree | f792aaaedcdac0690873d7dd3468c9b16adc88ba /system/libvirtd/default.nix | |
parent | Feat(hm/conf/zsh): Add fzf hotkeys (diff) | |
download | nixos-config-eafafdaaeb54960ef6cafb977b07bea49a4aae58.tar.gz nixos-config-eafafdaaeb54960ef6cafb977b07bea49a4aae58.zip |
Feat(system/libvirtd): Add libvirtd support
Diffstat (limited to 'system/libvirtd/default.nix')
-rw-r--r-- | system/libvirtd/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/system/libvirtd/default.nix b/system/libvirtd/default.nix new file mode 100644 index 00000000..33736dfa --- /dev/null +++ b/system/libvirtd/default.nix @@ -0,0 +1,21 @@ +# vim: ts=2 +{ + config, + pkgs, + ... +}: { + virtualisation = { + cores = 8; + diskSize = 25000; + useEFIBoot = true; + resolution = { + x = 1920; + y = 1080; + }; + memorySize = 8024; + sharedDirectories = {}; # TODO add some + }; + virtialisation.libvirtd = { + enable = true; + }; +} |