Compare commits

...

2 Commits

Author SHA1 Message Date
Emi Simpson 5b10b2a819
Move rclone cache to /tmp 2023-01-31 22:06:06 -05:00
Emi Simpson 91bdf946e9
Enable tmpfs 2023-01-31 22:05:43 -05:00
2 changed files with 9 additions and 1 deletions

View File

@ -33,6 +33,14 @@ let systemInformation = import ../system/system-information.nix; in
# Uncomment this once the root fs is actually btrfs
# fsType = "btrfs";
};
"/tmp" = {
device = "none";
fsType = "tmpfs";
options = [
"size=75%"
"mode=777"
];
};
"/boot/efi" = {
device = systemInformation.efiPartition;
fsType = "vfat";

View File

@ -25,7 +25,7 @@ pkgs: {
unlock-rclone = "set -x RCLONE_CONFIG_PASS (pass rclone)";
":qa" = "exit";
":q" = "exit";
"rmount" = "rclone mount --vfs-cache-mode full --vfs-cache-max-size 8Gi";
"rmount" = "rclone --cache-dir /tmp/rclone-cache mount --vfs-cache-mode full --vfs-cache-max-size 8Gi";
};
shellInit = ''
set -x PATH ~/.cargo/bin/ ~/go/bin ~/.local/bin ~/.gem/ruby/*/bin /var/lib/flatpak/exports/bin/ $PATH