Revert "temporarily disable hdd dependant services"

This reverts commit 0a4a1126b8e0df3e71ea4aea1de17f470eb32df6.
This commit is contained in:
Dmitriy Kholkin 2024-07-02 18:34:55 +03:00
parent 2a04b4cccd
commit 97172de141
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 17 additions and 17 deletions

View File

@ -2,7 +2,7 @@
let persistRoot = config.autoinstall.persist.persistRoot or "/persist";
in {
imports = with inputs.self; [
# ./backups.nix
./backups.nix
./boot.nix
./hardware-configuration.nix
./usb-hdd.nix
@ -20,21 +20,21 @@ in {
customProfiles.coturn
customProfiles.fail2ban
customProfiles.gitea
# customProfiles.homepage
customProfiles.homepage
customProfiles.hoyolab
# customProfiles.inpx-web
customProfiles.inpx-web
customProfiles.it-tools
# customProfiles.media-stack
# customProfiles.metrics
# customProfiles.minio
customProfiles.media-stack
customProfiles.metrics
customProfiles.minio
customProfiles.netbird-server
customProfiles.nginx
# customProfiles.ocis
# customProfiles.onlyoffice
# customProfiles.openbooks
customProfiles.ocis
customProfiles.onlyoffice
customProfiles.openbooks
customProfiles.outline
customProfiles.radicale
# customProfiles.spdf
customProfiles.spdf
customProfiles.synapse
customProfiles.tinyproxy
customProfiles.vault

View File

@ -1,11 +1,11 @@
{ ... }: {
boot.initrd = rec {
# luks.devices = {
# "crypt-nas" = {
# device = "/dev/disk/by-id/usb-JMicron_Tech_A311737E-0:0";
# keyFile = "/nas_keyfile0.bin";
# };
# };
luks.devices = {
"crypt-nas" = {
device = "/dev/disk/by-id/usb-JMicron_Tech_A311737E-0:0";
keyFile = "/nas_keyfile0.bin";
};
};
secrets = {
"nas_keyfile0.bin" = "/etc/secrets/nas_keyfile0.bin";
};
@ -19,5 +19,5 @@
kernelModules = availableKernelModules;
};
# boot.zfs.extraPools = [ "nas-pool" ];
boot.zfs.extraPools = [ "nas-pool" ];
}