From 0a4a1126b8e0df3e71ea4aea1de17f470eb32df6 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Sat, 29 Jun 2024 07:32:56 +0300 Subject: [PATCH] temporarily disable hdd dependant services --- machines/Home-Hypervisor/default.nix | 20 ++++++++++---------- machines/Home-Hypervisor/usb-hdd.nix | 14 +++++++------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/machines/Home-Hypervisor/default.nix b/machines/Home-Hypervisor/default.nix index 1715737..065ad10 100644 --- a/machines/Home-Hypervisor/default.nix +++ b/machines/Home-Hypervisor/default.nix @@ -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 diff --git a/machines/Home-Hypervisor/usb-hdd.nix b/machines/Home-Hypervisor/usb-hdd.nix index bde3f50..1e428ba 100644 --- a/machines/Home-Hypervisor/usb-hdd.nix +++ b/machines/Home-Hypervisor/usb-hdd.nix @@ -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" ]; } \ No newline at end of file