don't do the libvirt symlinks anymore, because they are buggy
This commit is contained in:
@@ -108,6 +108,14 @@
|
|||||||
device = "${workDir}/diplomarbeit";
|
device = "${workDir}/diplomarbeit";
|
||||||
options = [ "bind" ];
|
options = [ "bind" ];
|
||||||
};
|
};
|
||||||
|
# */
|
||||||
|
|
||||||
|
# */
|
||||||
|
system.activationScripts.makeBinBash = lib.stringAfter [ "var" ] ''
|
||||||
|
# there is no /bin/bash
|
||||||
|
# https://discourse.nixos.org/t/add-bin-bash-to-avoid-unnecessary-pain/5673
|
||||||
|
ln -nsf /run/current-system/sw/bin/bash /bin/bash
|
||||||
|
'';
|
||||||
# */
|
# */
|
||||||
|
|
||||||
################################ my youtube blocking service #############################
|
################################ my youtube blocking service #############################
|
||||||
@@ -435,7 +443,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# /*
|
/*
|
||||||
system.activationScripts.setupLibvirt = lib.stringAfter [ "var" ] ''
|
system.activationScripts.setupLibvirt = lib.stringAfter [ "var" ] ''
|
||||||
mkdir -p /var/lib/libvirt/storage
|
mkdir -p /var/lib/libvirt/storage
|
||||||
ln -nsf ${workDir}/vm/libvirt/my-image-pool.xml /var/lib/libvirt/storage/my-image-pool.xml
|
ln -nsf ${workDir}/vm/libvirt/my-image-pool.xml /var/lib/libvirt/storage/my-image-pool.xml
|
||||||
@@ -445,14 +453,8 @@
|
|||||||
ln -nsf ${workDir}/vm/qemu/$path /var/lib/libvirt/qemu/$path
|
ln -nsf ${workDir}/vm/qemu/$path /var/lib/libvirt/qemu/$path
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
# */
|
||||||
|
|
||||||
# */
|
|
||||||
system.activationScripts.makeBinBash = lib.stringAfter [ "var" ] ''
|
|
||||||
# there is no /bin/bash
|
|
||||||
# https://discourse.nixos.org/t/add-bin-bash-to-avoid-unnecessary-pain/5673
|
|
||||||
ln -nsf /run/current-system/sw/bin/bash /bin/bash
|
|
||||||
'';
|
|
||||||
# */
|
|
||||||
|
|
||||||
|
|
||||||
############################## swap and hibernate ###################################
|
############################## swap and hibernate ###################################
|
||||||
|
|||||||
Reference in New Issue
Block a user