kilgharrah: disable services related to failing HDD

This commit is contained in:
Katherina Walshe-Grey 2024-12-30 19:49:30 +00:00
parent 6168cd0f30
commit fc245b4619
3 changed files with 38 additions and 35 deletions

View file

@ -1,8 +1,9 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
services.sanoid.datasets."rpool_albion/state" = { # FIXME: failing drive
useTemplate = [ "production" ]; # services.sanoid.datasets."rpool_albion/state" = {
recursive = "zfs"; # useTemplate = [ "production" ];
}; # recursive = "zfs";
# };
} }

View file

@ -9,7 +9,8 @@ in
./filesystems.nix ./filesystems.nix
./hardware.nix ./hardware.nix
./networking.nix ./networking.nix
./ftp.nix # FIXME: failing drive
# ./ftp.nix
]; ];
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
@ -48,20 +49,20 @@ in
]; ];
}; };
programs.steam.enable = true; # programs.steam.enable = true;
qenya.services.audiobookshelf = { # qenya.services.audiobookshelf = {
enable = true; # enable = true;
domain = "audiobookshelf.qenya.tel"; # domain = "audiobookshelf.qenya.tel";
}; # };
qenya.services.jellyfin = { # qenya.services.jellyfin = {
enable = true; # enable = true;
domain = "jellyfin.qenya.tel"; # domain = "jellyfin.qenya.tel";
}; # };
qenya.services.navidrome = { # qenya.services.navidrome = {
enable = true; # enable = true;
domain = "music.qenya.tel"; # domain = "music.qenya.tel";
dataDir = "/srv/music"; # dataDir = "/srv/music";
}; # };
system.stateVersion = "24.05"; system.stateVersion = "24.05";

View file

@ -67,24 +67,25 @@
# HDD in bay # HDD in bay
# FIXME: failing drive
environment.etc.crypttab.text = '' # environment.etc.crypttab.text = ''
albion UUID=acda0e7a-069f-47c7-8e37-ec00e7cdde0f /root/luks-albion.key # albion UUID=acda0e7a-069f-47c7-8e37-ec00e7cdde0f /root/luks-albion.key
''; # '';
randomcat.services.zfs.datasets = { # randomcat.services.zfs.datasets = {
"rpool_albion/data" = { mountpoint = "none"; }; # "rpool_albion/data" = { mountpoint = "none"; };
"rpool_albion/data/steam" = { mountpoint = "/home/qenya/.local/share/Steam"; }; # "rpool_albion/data/steam" = { mountpoint = "/home/qenya/.local/share/Steam"; };
"rpool_albion/state" = { mountpoint = "none"; }; # "rpool_albion/state" = { mountpoint = "none"; };
"rpool_albion/state/audiobookshelf" = { mountpoint = "/var/lib/audiobookshelf"; }; # "rpool_albion/state/audiobookshelf" = { mountpoint = "/var/lib/audiobookshelf"; };
"rpool_albion/state/jellyfin" = { mountpoint = "/var/lib/jellyfin"; }; # "rpool_albion/state/jellyfin" = { mountpoint = "/var/lib/jellyfin"; };
"rpool_albion/state/navidrome" = { mountpoint = "/var/lib/navidrome"; }; # "rpool_albion/state/navidrome" = { mountpoint = "/var/lib/navidrome"; };
"rpool_albion/srv" = { mountpoint = "none"; }; # "rpool_albion/srv" = { mountpoint = "none"; };
"rpool_albion/srv/audiobookshelf" = { mountpoint = "/srv/audiobookshelf"; }; # "rpool_albion/srv/audiobookshelf" = { mountpoint = "/srv/audiobookshelf"; };
"rpool_albion/srv/ftp" = { mountpoint = "/srv/ftp"; }; # "rpool_albion/srv/ftp" = { mountpoint = "/srv/ftp"; };
"rpool_albion/srv/jellyfin" = { mountpoint = "/srv/jellyfin"; }; # "rpool_albion/srv/jellyfin" = { mountpoint = "/srv/jellyfin"; };
"rpool_albion/srv/music" = { mountpoint = "/srv/music"; }; # "rpool_albion/srv/music" = { mountpoint = "/srv/music"; };
}; # };
# Other # Other