Enable compression, change the mpd path, disable MC server backups

This commit is contained in:
Jimbo 2024-10-24 06:20:31 -04:00
parent d17c4c169e
commit 8115900d7c
3 changed files with 14 additions and 18 deletions

View file

@ -53,7 +53,7 @@
"/srv/minecraft" = { "/srv/minecraft" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@minecraft" ]; options = [ "subvol=@minecraft" "compress=zstd" ];
}; };
"/.snapshots" = { "/.snapshots" = {
device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287"; device = "/dev/disk/by-uuid/b8b7ed47-c98c-4a49-af01-b2832dde1287";
@ -70,52 +70,52 @@
"/export/JimboNFS/Downloads" = { "/export/JimboNFS/Downloads" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@downloads" ]; options = [ "subvol=@downloads" "compress=zstd" ];
}; };
"/export/JimboNFS/Documents" = { "/export/JimboNFS/Documents" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@docs" ]; options = [ "subvol=@docs" "compress=zstd" ];
}; };
"/export/JimboNFS/Photos" = { "/export/JimboNFS/Photos" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@photos" ]; options = [ "subvol=@photos" "compress=zstd" ];
}; };
"/export/JimboNFS/Videos/Random" = { "/export/JimboNFS/Videos/Random" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@videos-random" ]; options = [ "subvol=@videos-random" "compress=zstd" ];
}; };
"/export/JimboNFS/Videos/Media" = { "/export/JimboNFS/Videos/Media" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@videos-media" ]; options = [ "subvol=@videos-media" "compress=zstd" ];
}; };
"/export/JimboNFS/Music/Synced" = { "/export/JimboNFS/Music/Synced" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@music-synced" ]; options = [ "subvol=@music-synced" "compress=zstd" ];
}; };
"/export/JimboNFS/Music/Unsynced" = { "/export/JimboNFS/Music/Unsynced" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@music-unsynced" ]; options = [ "subvol=@music-unsynced" "compress=zstd" ];
}; };
"/export/JimboNFS/Projects" = { "/export/JimboNFS/Projects" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@projects" ]; options = [ "subvol=@projects" "compress=zstd" ];
}; };
"/export/JimboNFS/School" = { "/export/JimboNFS/School" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@school" ]; options = [ "subvol=@school" "compress=zstd" ];
}; };
"/export/JimboNFS/Snapshots" = { "/export/JimboNFS/.snapshots" = {
device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325"; device = "/dev/disk/by-uuid/acf95700-8669-45c7-9a72-bf3215b3c325";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@snapshots" ]; options = [ "subvol=@snapshots" "compress=zstd" ];
}; };
}; };

View file

@ -4,8 +4,8 @@
enable = true; enable = true;
user = "jimbo"; user = "jimbo";
group = "users"; group = "users";
musicDirectory = "/home/jimbo/JimboNFS/Music"; musicDirectory = "/home/jimbo/JimboNFS/Music/Synced";
playlistDirectory = "/home/jimbo/JimboNFS/Music/Playlists"; playlistDirectory = "/home/jimbo/JimboNFS/Music/Synced/Playlists";
extraConfig = '' extraConfig = ''
audio_output { audio_output {
type "pipewire" type "pipewire"

View file

@ -27,10 +27,6 @@
# Common plugins # Common plugins
paperSymlinks = { paperSymlinks = {
"plugins/Backuper.jar" = builtins.fetchurl {
url = "https://cdn.modrinth.com/data/7cMAqMND/versions/DqtME18V/Backuper-3.1.0.jar";
sha256 = "0lml9mz8ky2g9iy5xb61s15biwlbxfi5w4mfamxfin2kl4w6ggq9";
};
"plugins/BungeeGuard.jar" = builtins.fetchurl { "plugins/BungeeGuard.jar" = builtins.fetchurl {
url = "https://github.com/lucko/BungeeGuard/releases/download/v1.3.3/BungeeGuard.jar"; url = "https://github.com/lucko/BungeeGuard/releases/download/v1.3.3/BungeeGuard.jar";
sha256 = "0cackavwk7kl71hn1i78hcvkdp7q81srq35nranpvysbmm8v34vk"; sha256 = "0cackavwk7kl71hn1i78hcvkdp7q81srq35nranpvysbmm8v34vk";