From f2f483adf53443c134e702b93a0236ccc965b8d6 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 28 Nov 2023 15:19:30 +0100 Subject: [PATCH] refactor --- hosts/yodaHedgehog/configuration.nix | 1 + hosts/yodaHedgehog/host-specific.nix | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/yodaHedgehog/configuration.nix b/hosts/yodaHedgehog/configuration.nix index a6d3768..a26d453 100644 --- a/hosts/yodaHedgehog/configuration.nix +++ b/hosts/yodaHedgehog/configuration.nix @@ -41,6 +41,7 @@ # 6tb2; not supported by hdparm / does not support setting idle timer "ata-ST6000DM003-2CY186_ZR11WA9K" ]; + yoda.de-p1st-monitor = (builtins.readFile ../../assets/de-p1st-monitor/yodaHedgehog.ini); boot.kernelParams = []; boot.kernelPackages = pkgs.linuxPackages; diff --git a/hosts/yodaHedgehog/host-specific.nix b/hosts/yodaHedgehog/host-specific.nix index 83b95fe..3151fa5 100644 --- a/hosts/yodaHedgehog/host-specific.nix +++ b/hosts/yodaHedgehog/host-specific.nix @@ -16,8 +16,6 @@ let stay-awake-file = "${config.networking.hostName}.stay-awake"; in { - yoda.de-p1st-monitor = (builtins.readFile ../../assets/de-p1st-monitor/yodaHedgehog.ini); - assertions = [{ assertion = config.services.openssh.enable; message = "systemd service daily-backup-and-suspend requires SSH.";