again too lazy to sort out changes

This commit is contained in:
Sebastian Moser
2023-11-17 12:15:40 +01:00
parent 3ef7f87cfb
commit fd353abb94
11 changed files with 221 additions and 22 deletions

View File

@@ -20,6 +20,13 @@
../users/root/default.nix
];
services.avahi.enable = true;
environment.systemPackages = with pkgs; [
cifs-utils
ntfs3g
];
virtualisation.podman.enable = true;
hardware.bluetooth.settings = {
General = {
@@ -168,7 +175,10 @@
mkdir -p /var/lib/libvirt/storage
ln -nsf ${workDir}/vm/libvirt/my-image-pool.xml /var/lib/libvirt/storage/my-image-pool.xml
rm -rf /var/lib/libvirt/qemu/networks
ln -nsf ${workDir}/vm/qemu/* /var/lib/libvirt/qemu/
ls ${workDir}/vm/qemu | while read path
do
ln -nsf ${workDir}/vm/qemu/$path /var/lib/libvirt/qemu/$path
done
# there is no /bin/bash
# https://discourse.nixos.org/t/add-bin-bash-to-avoid-unnecessary-pain/5673