temporarily disable hdd dependant services

This commit is contained in:
Dmitriy Kholkin 2024-06-29 07:32:56 +03:00
parent 5c71130851
commit 0a4a1126b8
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
@ -17,20 +17,20 @@ in {
customProfiles.battery-historian
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.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" ];
}