From 86dcbfbdf430ad44475fe6bbb2cc4d444c7c8d94 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 16 Mar 2022 13:06:36 -0400 Subject: [PATCH] Remove test module --- modules/default.nix | 5 ----- modules/hello.nix | 23 ----------------------- 2 files changed, 28 deletions(-) delete mode 100644 modules/default.nix delete mode 100644 modules/hello.nix diff --git a/modules/default.nix b/modules/default.nix deleted file mode 100644 index 06e1ccc..0000000 --- a/modules/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ - imports = [ - ./hello.nix - ]; -} diff --git a/modules/hello.nix b/modules/hello.nix deleted file mode 100644 index ed09a0a..0000000 --- a/modules/hello.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, pkgs, config, ...}: - -with lib; -let - cfg = config.services.hello; - -in { - options.services.hello = { - enable = mkEnableOption "Hello service."; - greeter = mkOption { - type = types.str; - default = "world"; - }; - }; - - config = mkIf cfg.enable { - environment.systemPackages = [ - (pkgs.writeShellScriptBin "hello" '' - echo "'Hello, ${escapeShellArg cfg.greeter}!'" - ''); - ]; - }; -}