From 060a8f28fa1fc648bdf66afb31a5d1efac868837 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 28 Jul 2023 22:24:15 +0200 Subject: makefu: move out to own repo, add vacation-note --- makefu/3modules/state.nix | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 makefu/3modules/state.nix (limited to 'makefu/3modules/state.nix') diff --git a/makefu/3modules/state.nix b/makefu/3modules/state.nix deleted file mode 100644 index a87f438fe..000000000 --- a/makefu/3modules/state.nix +++ /dev/null @@ -1,16 +0,0 @@ -{config, lib, pkgs, ... }: - -{ - options.state = lib.mkOption { - type = lib.types.listOf lib.types.str; - description = "state which is currently scattered on the machine"; - default = []; - }; - - config.system.activationScripts.state = lib.optionalString (config.state != []) '' - cat << EOF - This machine is burdened with state: - ${lib.concatMapStringsSep "\n" (d: "* ${d}") config.state} - EOF - ''; -} -- cgit v1.2.3