shared virtio fs
parent
dd2d11af32
commit
f20612525e
|
@ -61,6 +61,14 @@ in {
|
|||
fsType = "btrfs";
|
||||
options = [ "subvol=swap" ];
|
||||
};
|
||||
|
||||
"/mnt/vfs_share" = {
|
||||
device = "/dev/mapper/root";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=vfs_share" "compress=zstd" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
|
|
|
@ -61,6 +61,11 @@
|
|||
allowOther = true;
|
||||
};
|
||||
|
||||
"/mnt/vfs_share/${config.home.homeDirectory}" = {
|
||||
directories = [ "vfs_share" ];
|
||||
allowOther = true;
|
||||
};
|
||||
|
||||
"/persist/${config.home.homeDirectory}" = {
|
||||
directories = [
|
||||
".Slic3r"
|
||||
|
@ -131,6 +136,7 @@
|
|||
home.packages = with pkgs; [
|
||||
# calibre
|
||||
R
|
||||
virtiofsd
|
||||
acpi
|
||||
android-tools
|
||||
ansible
|
||||
|
|
Loading…
Reference in New Issue