Add shell and direnv

This commit is contained in:
Julian Mutter 2025-04-22 21:15:13 +02:00
parent d0942d018b
commit 73c440c9cd
2 changed files with 20 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

19
shell.nix Normal file
View File

@ -0,0 +1,19 @@
{
pkgs ? import <nixpkgs> { },
...
}:
{
default = pkgs.mkShell {
NIX_CONFIG = "extra-experimental-features = nix-command flakes ca-derivations";
nativeBuildInputs = with pkgs; [
nix
home-manager
git
sops
ssh-to-age
gnupg
age
];
};
}