test
This commit is contained in:
parent
7c1c93e77c
commit
bb7d1a0253
1 changed files with 5 additions and 7 deletions
12
shell.nix
12
shell.nix
|
@ -8,17 +8,15 @@ let
|
||||||
in
|
in
|
||||||
# A nixpkgs instance that is grabbed from the pinned nixpkgs commit in the lock file
|
# A nixpkgs instance that is grabbed from the pinned nixpkgs commit in the lock file
|
||||||
# Useful to avoid using channels when using legacy nix commands
|
# Useful to avoid using channels when using legacy nix commands
|
||||||
{ pkgs ? import (
|
{ pkgs ? import ( fetchTarball {
|
||||||
fetchTarball {
|
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
|
||||||
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz"; sha256 = lock.narHash;
|
sha256 = lock.narHash;
|
||||||
}
|
} ) { } }: {
|
||||||
) { }
|
|
||||||
}: {
|
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||||
# imports all files ending in .asc/.gpg
|
# imports all files ending in .asc/.gpg
|
||||||
sopsPGPKeyDirs = [
|
sopsPGPKeyDirs = [
|
||||||
"${toString ./.}/keys/hosts"d
|
"${toString ./.}/keys/hosts"
|
||||||
"${toString ./.}/keys/users"
|
"${toString ./.}/keys/users"
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue