kilgharrah: replace failed HDD
This commit is contained in:
parent
e078b80e24
commit
473e113c4f
|
@ -1,9 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
# FIXME: failing drive
|
||||
# services.sanoid.datasets."rpool_albion/state" = {
|
||||
# useTemplate = [ "production" ];
|
||||
# recursive = "zfs";
|
||||
# };
|
||||
services.sanoid.datasets."rpool_albion/state" = {
|
||||
useTemplate = [ "production" ];
|
||||
recursive = "zfs";
|
||||
};
|
||||
}
|
|
@ -9,8 +9,7 @@ in
|
|||
./filesystems.nix
|
||||
./hardware.nix
|
||||
./networking.nix
|
||||
# FIXME: failing drive
|
||||
# ./ftp.nix
|
||||
./ftp.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
@ -49,20 +48,20 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
# programs.steam.enable = true;
|
||||
# qenya.services.audiobookshelf = {
|
||||
# enable = true;
|
||||
# domain = "audiobookshelf.qenya.tel";
|
||||
# };
|
||||
# qenya.services.jellyfin = {
|
||||
# enable = true;
|
||||
# domain = "jellyfin.qenya.tel";
|
||||
# };
|
||||
# qenya.services.navidrome = {
|
||||
# enable = true;
|
||||
# domain = "music.qenya.tel";
|
||||
# dataDir = "/srv/music";
|
||||
# };
|
||||
programs.steam.enable = true;
|
||||
qenya.services.audiobookshelf = {
|
||||
enable = true;
|
||||
domain = "audiobookshelf.qenya.tel";
|
||||
};
|
||||
qenya.services.jellyfin = {
|
||||
enable = true;
|
||||
domain = "jellyfin.qenya.tel";
|
||||
};
|
||||
qenya.services.navidrome = {
|
||||
enable = true;
|
||||
domain = "music.qenya.tel";
|
||||
dataDir = "/srv/music";
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
|
|
|
@ -67,25 +67,24 @@
|
|||
|
||||
|
||||
# HDD in bay
|
||||
# FIXME: failing drive
|
||||
|
||||
# environment.etc.crypttab.text = ''
|
||||
# albion UUID=acda0e7a-069f-47c7-8e37-ec00e7cdde0f /root/luks-albion.key
|
||||
# '';
|
||||
environment.etc.crypttab.text = ''
|
||||
albion UUID=8a924f24-9b65-4f05-aeda-5b4080cc7aa1 /root/luks-albion.key
|
||||
'';
|
||||
|
||||
# randomcat.services.zfs.datasets = {
|
||||
# "rpool_albion/data" = { mountpoint = "none"; };
|
||||
# "rpool_albion/data/steam" = { mountpoint = "/home/qenya/.local/share/Steam"; };
|
||||
# "rpool_albion/state" = { mountpoint = "none"; };
|
||||
# "rpool_albion/state/audiobookshelf" = { mountpoint = "/var/lib/audiobookshelf"; };
|
||||
# "rpool_albion/state/jellyfin" = { mountpoint = "/var/lib/jellyfin"; };
|
||||
# "rpool_albion/state/navidrome" = { mountpoint = "/var/lib/navidrome"; };
|
||||
# "rpool_albion/srv" = { mountpoint = "none"; };
|
||||
# "rpool_albion/srv/audiobookshelf" = { mountpoint = "/srv/audiobookshelf"; };
|
||||
# "rpool_albion/srv/ftp" = { mountpoint = "/srv/ftp"; };
|
||||
# "rpool_albion/srv/jellyfin" = { mountpoint = "/srv/jellyfin"; };
|
||||
# "rpool_albion/srv/music" = { mountpoint = "/srv/music"; };
|
||||
# };
|
||||
randomcat.services.zfs.datasets = {
|
||||
"rpool_albion/data" = { mountpoint = "none"; };
|
||||
"rpool_albion/data/steam" = { mountpoint = "/home/qenya/.local/share/Steam"; };
|
||||
"rpool_albion/state" = { mountpoint = "none"; };
|
||||
"rpool_albion/state/audiobookshelf" = { mountpoint = "/var/lib/audiobookshelf"; };
|
||||
"rpool_albion/state/jellyfin" = { mountpoint = "/var/lib/jellyfin"; };
|
||||
"rpool_albion/state/navidrome" = { mountpoint = "/var/lib/navidrome"; };
|
||||
"rpool_albion/srv" = { mountpoint = "none"; };
|
||||
"rpool_albion/srv/audiobookshelf" = { mountpoint = "/srv/audiobookshelf"; };
|
||||
"rpool_albion/srv/ftp" = { mountpoint = "/srv/ftp"; };
|
||||
"rpool_albion/srv/jellyfin" = { mountpoint = "/srv/jellyfin"; };
|
||||
"rpool_albion/srv/music" = { mountpoint = "/srv/music"; };
|
||||
};
|
||||
|
||||
|
||||
# Other
|
||||
|
|
Loading…
Reference in a new issue