summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-06-05 21:44:49 +0200
committerDaiderd Jordan <daiderd@gmail.com>2019-06-05 21:45:47 +0200
commitae58eb80d2f6a0610ffdae9dd32b9fbc69125e6a (patch)
treeb425eb5eb8c0d9fde6eb4fa7b33873cb52fc8f1f /modules/programs
parent7941b1368286c446e28f48c2981caf7adb0f6401 (diff)
nix-script: remove
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/nix-script.nix47
1 files changed, 0 insertions, 47 deletions
diff --git a/modules/programs/nix-script.nix b/modules/programs/nix-script.nix
deleted file mode 100644
index d970138..0000000
--- a/modules/programs/nix-script.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
-
- cfg = config.programs.nix-script;
-
- nix-script = pkgs.substituteAll {
- inherit (cfg) name;
- src = ../../pkgs/nix-tools/nix-script.sh;
- dir = "bin";
- isExecutable = true;
- };
-
-in
-
-{
- options = {
-
- programs.nix-script.enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to enable the nix script.
- '';
- };
-
- programs.nix-script.name = mkOption {
- type = types.str;
- default = "nix";
- description = ''
- Name to use for the nix script.
- '';
- };
-
- };
-
- config = mkIf cfg.enable {
-
- environment.systemPackages =
- [ # Nix wrapper script
- nix-script
- ];
-
- };
-}