Simplify direnv
This commit is contained in:
parent
1d3727113f
commit
debb585cb7
|
@ -18,6 +18,7 @@ in {
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
enableNixDirenvIntegration = true;
|
||||||
};
|
};
|
||||||
tmux = {
|
tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -144,10 +145,9 @@ in {
|
||||||
"pass show eu/m-0/${config.m-0.hostName}.m-0.eu/${config.home.username}";
|
"pass show eu/m-0/${config.m-0.hostName}.m-0.eu/${config.home.username}";
|
||||||
in "${print-pw}/bin/print-pw";
|
in "${print-pw}/bin/print-pw";
|
||||||
};
|
};
|
||||||
file.".direnvrc".text = "source ${pkgs.sources.nix-direnv}/direnvrc";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user = { startServices = true; };
|
systemd.user.startServices = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gpg-agent = {
|
gpg-agent = {
|
||||||
|
|
|
@ -17,18 +17,6 @@
|
||||||
"rev": "8abb3558ac2253733cdc53d973ce283846f38984",
|
"rev": "8abb3558ac2253733cdc53d973ce283846f38984",
|
||||||
"type": "git"
|
"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": {
|
"nixos-hardware": {
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"description": "A collection of NixOS modules covering hardware quirks.",
|
"description": "A collection of NixOS modules covering hardware quirks.",
|
||||||
|
|
Loading…
Reference in a new issue