diff --git a/nix/home-manager/modules/default.nix b/nix/home-manager/modules/default.nix index 6b18e34..6dd7f4a 100644 --- a/nix/home-manager/modules/default.nix +++ b/nix/home-manager/modules/default.nix @@ -4,7 +4,6 @@ ./alacritty ./bash ./ssh - ./shh ./emacs # ./pulseaudio ./xmonad diff --git a/nix/home-manager/modules/shh/Shell.hs b/nix/home-manager/modules/shh/Shell.hs deleted file mode 100644 index a6bef48..0000000 --- a/nix/home-manager/modules/shh/Shell.hs +++ /dev/null @@ -1,7 +0,0 @@ -{-# LANGUAGE TemplateHaskell #-} -module Shell where -import Shh -$(loadEnv SearchPath) - -e :: Cmd -e = emacsclient diff --git a/nix/home-manager/modules/shh/default.nix b/nix/home-manager/modules/shh/default.nix deleted file mode 100644 index a1c7908..0000000 --- a/nix/home-manager/modules/shh/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, lib, pkgs, ... }: -with lib; -let - cfg = config.magic_rb.programs.shh; -in -{ - options.magic_rb.programs.shh = { - enable = mkEnableOption "Enable shh, the Haskell shell."; - }; - - config = mkIf cfg.enable { - home.file.".shh/Shell.hs".source = ./Shell.hs; - home.file.".shh/init.ghci".source = ./init.ghci; - - home.packages = [ - pkgs.magic_rb.shh - ]; - }; -} diff --git a/nix/home-manager/modules/shh/init.ghci b/nix/home-manager/modules/shh/init.ghci deleted file mode 100644 index de5b746..0000000 --- a/nix/home-manager/modules/shh/init.ghci +++ /dev/null @@ -1,5 +0,0 @@ -:seti -XNoOverloadedLists -import Shh -import Shh.Prompt -:set prompt-function formatPrompt "%u@\ESC[37m%h\ESC[m:\ESC[32m%w\ESC[31m$\ESC[m " -:set prompt-cont "| " diff --git a/nix/overlays/shh/default.nix b/nix/overlays/shh/default.nix deleted file mode 100644 index 165a1ba..0000000 --- a/nix/overlays/shh/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -final: prev: -let - ghc = prev.haskellPackages.ghcWithPackages (p: with p; [shh shh-extras word8]); -in -{ - magic_rb = prev.magic_rb or {} // { - shh = prev.writeShellScriptBin "shh" '' - export PATH=${ghc}/bin:${prev.haskellPackages.shh}/bin:$PATH - - exec shh $@ - ''; - }; -} diff --git a/nix/systems/heater.nix b/nix/systems/heater.nix index 63e25eb..38a6ae9 100644 --- a/nix/systems/heater.nix +++ b/nix/systems/heater.nix @@ -27,7 +27,6 @@ inputs: { enable = true; enableDirenv = true; }; - shh.enable = true; ssh.enable = true; emacs.enable = true; xmonad.enable = true;