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"; let persistRoot = config.autoinstall.persist.persistRoot or "/persist";
in { in {
imports = with inputs.self; [ imports = with inputs.self; [
./backups.nix # ./backups.nix
./boot.nix ./boot.nix
./hardware-configuration.nix ./hardware-configuration.nix
./usb-hdd.nix ./usb-hdd.nix
@ -17,20 +17,20 @@ in {
customProfiles.battery-historian customProfiles.battery-historian
customProfiles.fail2ban customProfiles.fail2ban
customProfiles.gitea customProfiles.gitea
customProfiles.homepage # customProfiles.homepage
customProfiles.hoyolab customProfiles.hoyolab
customProfiles.inpx-web # customProfiles.inpx-web
customProfiles.it-tools customProfiles.it-tools
customProfiles.media-stack # customProfiles.media-stack
customProfiles.metrics # customProfiles.metrics
customProfiles.minio # customProfiles.minio
customProfiles.nginx customProfiles.nginx
customProfiles.ocis # customProfiles.ocis
customProfiles.onlyoffice # customProfiles.onlyoffice
customProfiles.openbooks # customProfiles.openbooks
customProfiles.outline customProfiles.outline
customProfiles.radicale customProfiles.radicale
customProfiles.spdf # customProfiles.spdf
customProfiles.synapse customProfiles.synapse
customProfiles.tinyproxy customProfiles.tinyproxy
customProfiles.vault customProfiles.vault

View File

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