From 73c440c9cd5c4a3c0e10d802a52cb5a223938c19 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Tue, 22 Apr 2025 21:15:13 +0200 Subject: [PATCH] Add shell and direnv --- .envrc | 1 + shell.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..fe77b22 --- /dev/null +++ b/shell.nix @@ -0,0 +1,19 @@ +{ + pkgs ? import { }, + ... +}: +{ + 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 + ]; + }; +}