feat: added direnv support
This commit is contained in:
parent
c7d9818373
commit
e81d178e6e
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
.pre-commit-config.yaml
|
||||
templates
|
||||
.direnv
|
||||
|
|
11
users/common/devshell.nix
Normal file
11
users/common/devshell.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
nix.extraOptions = ''
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
'';
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
../common/programs/kitty.nix
|
||||
../common/graphical/hyprland.nix
|
||||
../common/programs/rofi.nix
|
||||
../common/devshell.nix
|
||||
./ssh.nix
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue