1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00

chore: more changes to filesystems

This commit is contained in:
Thomas Boerger 2022-11-18 15:33:26 +01:00
parent 6cae8a7cfd
commit e0de02a873
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
4 changed files with 27 additions and 13 deletions

@ -14,18 +14,18 @@
personal = {
services = {
authentik = {
enable = config.personal.services.enable;
};
media = {
enable = config.personal.services.enable;
};
minecraft = {
enable = config.personal.services.enable;
};
nextcloud = {
enable = config.personal.services.enable;
};
# authentik = {
# enable = config.personal.services.enable;
# };
# media = {
# enable = config.personal.services.enable;
# };
# minecraft = {
# enable = config.personal.services.enable;
# };
# nextcloud = {
# enable = config.personal.services.enable;
# };
tailscale = {
enable = config.personal.services.enable;
};

@ -45,6 +45,14 @@
];
};
fileSystems."/var/lib/nextcloud" = {
device = "/dev/disk/by-label/nextcloud";
fsType = "ext4";
options = [
"noatime"
];
};
fileSystems."/var/lib/nzbget" = {
device = "/dev/disk/by-label/nzbget";
fsType = "ext4";

@ -161,7 +161,7 @@ mount /dev/disk/by-partlabel/boot1 /mnt/boot
# STORAGE
#
for PARTITION in acme nzbget jellyfin radarr sonarr lidarr readarr bazarr prowlarr; do
for PARTITION in acme nextcloud nzbget jellyfin radarr sonarr lidarr readarr bazarr prowlarr; do
echo "-----> Create ${PARTITION} volume"
lvcreate -y --size 5G --name ${PARTITION} system

@ -111,6 +111,12 @@ in
# # url = "https://github.com/nextcloud/cookbook/releases/download/v0.10.1/Cookbook-0.10.1.tar.gz";
# # version = "0.10.1";
# # };
# # drawio = pkgs.fetchNextcloudApp {
# # name = "drawio";
# # sha256 = "";
# # url = "https://github.com/jgraph/drawio-nextcloud/releases/download/v1.0.5/drawio-v1.0.5.tar.gz";
# # version = "1.0.5";
# # };
# # guests = pkgs.fetchNextcloudApp {
# # name = "guests";
# # sha256 = "";