From f1f4255d7db1192a757615a44406294cb48b478a Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Sat, 8 Feb 2025 23:25:05 +0100 Subject: [PATCH] Moved env to shell --- shell-modules/env.nix | 11 ----------- shell-modules/shell.nix | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 11 deletions(-) delete mode 100644 shell-modules/env.nix create mode 100644 shell-modules/shell.nix diff --git a/shell-modules/env.nix b/shell-modules/env.nix deleted file mode 100644 index ea842e5..0000000 --- a/shell-modules/env.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ lib, ... }: - -with lib; -{ - options = { - env = mkOption { - type = types.attrsOf types.str; - default = [ ]; - }; - }; -} diff --git a/shell-modules/shell.nix b/shell-modules/shell.nix new file mode 100644 index 0000000..64015a4 --- /dev/null +++ b/shell-modules/shell.nix @@ -0,0 +1,17 @@ +{ lib, ... }: + +with lib; +{ + options = { + env = mkOption { + type = types.attrsOf types.str; + default = [ ]; + }; + + packages = mkOption { + type = types.listOf types.package; + default = [ ]; + description = "Packages to install"; + }; + }; +}