shared virtio fs

feat/kile-v2
Ricard Illa 2022-11-13 15:46:24 +01:00
parent dd2d11af32
commit f20612525e
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 14 additions and 0 deletions

View File

@ -61,6 +61,14 @@ in {
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=swap" ]; options = [ "subvol=swap" ];
}; };
"/mnt/vfs_share" = {
device = "/dev/mapper/root";
fsType = "btrfs";
options = [ "subvol=vfs_share" "compress=zstd" ];
neededForBoot = true;
};
}; };
environment.variables = { environment.variables = {

View File

@ -61,6 +61,11 @@
allowOther = true; allowOther = true;
}; };
"/mnt/vfs_share/${config.home.homeDirectory}" = {
directories = [ "vfs_share" ];
allowOther = true;
};
"/persist/${config.home.homeDirectory}" = { "/persist/${config.home.homeDirectory}" = {
directories = [ directories = [
".Slic3r" ".Slic3r"
@ -131,6 +136,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# calibre # calibre
R R
virtiofsd
acpi acpi
android-tools android-tools
ansible ansible