Doing nfs through fstab seem to be incosistent, especially after waking up from sleep.
An alternative is using automount:
- In /etc/auto_master add:
/Volumes/mnt auto_nfs
| function fish_prompt | |
| # Add nix shell indicator if we're in one | |
| set -l nix_indicator "" | |
| set -l sub_by 3 | |
| if set -q ZELLIJ | |
| set sub_by (math $sub_by + 1) | |
| end | |
| if test $SHLVL -ge $sub_by | |
| set -l nix_level (math $SHLVL - $sub_by) | |
| if test $nix_level -gt 0 |
| function doasedit -d "A sudoedit alternative for doas" | |
| set -l filename $argv[1] | |
| if test -z "$filename" | |
| echo "Usage: doasedit <file>" | |
| return 1 | |
| end | |
| set -l ext (path extension $argv[1]) | |
| set -l editor $EDITOR | |
| if test -z "$editor" |
| { | |
| description = "Flexible C Development Environments with LLVM16 and GCC 13"; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
| }; | |
| outputs = { self, nixpkgs }: | |
| let | |
| supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; |