From 86fb7036cb4279abfc4ffc2bfa6b3a432c8700b5 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 21 Aug 2025 12:27:51 -0500 Subject: refactor project to prioritize correctness. place custom nixos options into existing 'modules' and prefix them with '_'. use _archetypes module for software collections, system profiles, etc. personal configs moved to _archetypes.tjkeller. probably changed or fixed or broke a few other things in the process --- modules/root/suspend.nix | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 modules/root/suspend.nix (limited to 'modules/root/suspend.nix') diff --git a/modules/root/suspend.nix b/modules/root/suspend.nix deleted file mode 100644 index 814ae95..0000000 --- a/modules/root/suspend.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ lib, config, ... }: { - options = { - suspend.enable = lib.mkEnableOption "enables suspend"; - }; - - config = lib.mkIf (! config.suspend.enable) { - # Disable suspend targets - systemd.targets = builtins.listToAttrs (map (name: { - inherit name; - value = { - enable = false; - unitConfig.DefaultDependencies = "no"; - }; - }) ["sleep" "suspend" "hibernate" "hybrid-sleep"]); - }; -} -- cgit v1.2.3