1
0
Fork 0

Simplify direnv

This commit is contained in:
Malte Brandy 2020-09-17 12:34:13 +02:00
parent 1d3727113f
commit debb585cb7
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 2 additions and 14 deletions

View file

@ -18,6 +18,7 @@ in {
direnv = {
enable = true;
enableZshIntegration = true;
enableNixDirenvIntegration = true;
};
tmux = {
enable = true;
@ -144,10 +145,9 @@ in {
"pass show eu/m-0/${config.m-0.hostName}.m-0.eu/${config.home.username}";
in "${print-pw}/bin/print-pw";
};
file.".direnvrc".text = "source ${pkgs.sources.nix-direnv}/direnvrc";
};
systemd.user = { startServices = true; };
systemd.user.startServices = true;
services = {
gpg-agent = {

View file

@ -17,18 +17,6 @@
"rev": "8abb3558ac2253733cdc53d973ce283846f38984",
"type": "git"
},
"nix-direnv": {
"branch": "master",
"description": "A fast, persistent use_nix implementation for direnv [maintainer=@Mic92] ",
"homepage": "",
"owner": "nix-community",
"repo": "nix-direnv",
"rev": "300258e2bded28c284451f4fac8475b2240b46f6",
"sha256": "1wx3hwyjaysr4wm2hbgr64r2a3bvqxfjvayijvg1sy4b8dxzmk64",
"type": "tarball",
"url": "https://github.com/nix-community/nix-direnv/archive/300258e2bded28c284451f4fac8475b2240b46f6.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixos-hardware": {
"branch": "master",
"description": "A collection of NixOS modules covering hardware quirks.",