Colin
b5dd04e127
notably, this avoids the problem where `co<tab>` can't auto-complete the trailing slash. `cf<tab>` autocompletes to `cfg/` in the same number of keystrokes :-)
33 lines
748 B
Nix
33 lines
748 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/mnt/storage" = {
|
|
device = "/dev/disk/by-uuid/2be70d38-79f4-41b6-bee2-bce5a25f8f7b";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/var/lib/pleroma" = {
|
|
device = "/mnt/storage/opt/pleroma.nix";
|
|
options = [ "bind" ];
|
|
};
|
|
|
|
fileSystems."/var/lib/transmission/Downloads" = {
|
|
device = "/mnt/storage/opt/uninsane/media";
|
|
options = [ "bind" ];
|
|
};
|
|
fileSystems."/var/lib/transmission/.incomplete" = {
|
|
device = "/mnt/storage/opt/uninsane/media/incomplete";
|
|
options = [ "bind" ];
|
|
};
|
|
|
|
# swapDevices = [
|
|
# { device = "/swapfile"; size = 4096; }
|
|
# ];
|
|
}
|
|
|