1
Fork 0

feat: nixos 20

This commit is contained in:
Matei Adriel 2020-05-10 20:48:52 +03:00
parent 63ba91ac97
commit 1a0058d027
9 changed files with 37 additions and 33 deletions

View file

@ -3,10 +3,9 @@ let hie = pkgs.all-hies.selection { selector = p: { inherit (p) ghc865; }; };
in {
home-manager.users.adrielus.home = {
file.".ghci".source = ./ghci;
# file.".stack/config.yaml".source = ./stack.yaml;
packages = with pkgs;
[ ghc ghcid hlint cabal-install snack stack hie ]
++ (with haskellPackages; [ brittany hoogle hpack pointfree pointful ]);
++ (with haskellPackages; [ brittany hoogle hpack pointfree ]);
};
}

View file

@ -7,4 +7,4 @@
:def pointfree \str -> return $ ":! pointfree " ++ show str
:def pf \str -> return $ ":! pointfree " ++ show str
:def pointful \str -> return $ ":! pointful " ++ show str
-- :def pointful \str -> return $ ":! pointful " ++ show str

View file

@ -1,14 +1,16 @@
{ pkgs, ... }:
let fromNpm = import ./npm { inherit pkgs; };
let
fromNpm = import ./npm { inherit pkgs; };
node = pkgs.nodejs_latest;
in {
home-manager.users.adrielus.home.packages = with pkgs;
with nodePackages;
with fromNpm; [
nodejs
node
node2nix
pnpm
yarn
(yarn.override { nodejs = node; })
tsdx
];