Update the hardware conf of the server
This commit is contained in:
parent
03e7949ebf
commit
389258a617
|
@ -28,6 +28,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Main root
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
||||||
|
@ -45,10 +46,15 @@
|
||||||
options = [ "subvol=@nix" ];
|
options = [ "subvol=@nix" ];
|
||||||
};
|
};
|
||||||
"/var" = {
|
"/var" = {
|
||||||
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@var" ];
|
options = [ "subvol=@var" ];
|
||||||
};
|
};
|
||||||
|
"/srv/minecraft" = {
|
||||||
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=@minecraft" ];
|
||||||
|
};
|
||||||
"/.snapshots" = {
|
"/.snapshots" = {
|
||||||
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
@ -59,65 +65,61 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
"/export/JimboNFS" = {
|
|
||||||
device = "/dev/disk/by-uuid/713fcd92-534c-4153-8e04-e0c6fe5f6a51";
|
|
||||||
fsType = "ext4";
|
|
||||||
noCheck = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Atrocity of bindmounts
|
# Atrocity of subvols
|
||||||
"/home/jimbo/JimboNFS" = {
|
"/export/JimboNFS/Downloads" = {
|
||||||
device = "/export/JimboNFS";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@downloads" ];
|
||||||
};
|
};
|
||||||
"/mnt/nextcloud/data/JimboNFS" = {
|
"/export/JimboNFS/Documents" = {
|
||||||
device = "/export/JimboNFS";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@docs" ];
|
||||||
};
|
};
|
||||||
"/var/lib/bitwarden_rs" = {
|
"/export/JimboNFS/Photos" = {
|
||||||
device = "/export/JimboNFS/System/var/lib/bitwarden_rs";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@photos" ];
|
||||||
};
|
};
|
||||||
"/var/lib/forgejo" = {
|
"/export/JimboNFS/Videos/Random" = {
|
||||||
device = "/export/JimboNFS/System/var/lib/forgejo";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@videos-random" ];
|
||||||
};
|
};
|
||||||
"/var/lib/matrix-synapse" = {
|
"/export/JimboNFS/Videos/Media" = {
|
||||||
device = "/export/JimboNFS/System/var/lib/matrix-synapse";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@videos-media" ];
|
||||||
};
|
};
|
||||||
"/var/lib/nextcloud" = {
|
"/export/JimboNFS/Music/Synced" = {
|
||||||
device = "/export/JimboNFS/System/var/lib/nextcloud";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@music-synced" ];
|
||||||
};
|
};
|
||||||
"/var/lib/owncast" = {
|
"/export/JimboNFS/Music/Unsynced" = {
|
||||||
device = "/export/JimboNFS/System/var/lib/owncast";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@music-unsynced" ];
|
||||||
};
|
};
|
||||||
"/var/lib/mastodon" = {
|
"/export/JimboNFS/Projects" = {
|
||||||
device = "/export/JimboNFS/System/var/lib/mastodon";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@projects" ];
|
||||||
};
|
};
|
||||||
"/srv/minecraft" = {
|
"/export/JimboNFS/School" = {
|
||||||
device = "/export/JimboNFS/System/srv/minecraft";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@school" ];
|
||||||
};
|
};
|
||||||
"/var/lib/private/photoprism/originals" = {
|
"/export/JimboNFS/Snapshots" = {
|
||||||
device = "/export/JimboNFS/Photos/Galleries";
|
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=@snapshots" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{ device = "/dev/disk/by-uuid/57178cfc-3e71-4d35-8c7f-e355f9dc84df"; }
|
{ device = "/dev/disk/by-uuid/57178cfc-3e71-4d35-8c7f-e355f9dc84df"; }
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue