setup shell.nix + direnv
This commit is contained in:
parent
da9853bc31
commit
cb2916802c
|
@ -51,6 +51,7 @@
|
|||
|
||||
# Extra commands that should be added to '.zshrc'
|
||||
initExtra = ''
|
||||
eval "$(direnv hook zsh)"
|
||||
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
||||
PROMPT='%F{blue}%n %F{cyan}%~ %F{red}♥ %f';
|
||||
'';
|
||||
|
|
1
pkgs/xmobar-config/.envrc
Normal file
1
pkgs/xmobar-config/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use_nix
|
4
pkgs/xmobar-config/shell.nix
Normal file
4
pkgs/xmobar-config/shell.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs.buildPackages; [ cabal-install ghc ];
|
||||
}
|
1
pkgs/xmonad-config/.envrc
Normal file
1
pkgs/xmonad-config/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use_nix
|
4
pkgs/xmonad-config/shell.nix
Normal file
4
pkgs/xmonad-config/shell.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs.buildPackages; [ cabal-install ghc ];
|
||||
}
|
Loading…
Reference in a new issue