home: add direnv
This commit is contained in:
parent
def36f2ab3
commit
749d45df3c
5 changed files with 10 additions and 2 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,3 +2,5 @@ result
|
|||
result-*
|
||||
|
||||
.DS_Store
|
||||
|
||||
/.direnv
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
legacyPackages = import ./pkgs pkgs;
|
||||
|
||||
### nix develop
|
||||
devShells.default = pkgs.mkShell {
|
||||
devShells.default = pkgs.mkShellNoCC {
|
||||
packages = with pkgs; [
|
||||
colmena
|
||||
sops
|
||||
|
|
6
home/applications/direnv/default.nix
Normal file
6
home/applications/direnv/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
colmena
|
||||
deadnix
|
||||
nh
|
||||
nil
|
||||
|
|
Loading…
Reference in a new issue