-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevshell.nix
More file actions
29 lines (29 loc) · 1.02 KB
/
Copy pathdevshell.nix
File metadata and controls
29 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
_: {
# The repo's tasks, plus what I reach for by hand. 'nix develop' is the way
# in, and inside it every task in flake/tasks.nix is a bare command:
# 'rebuild endgame' rather than 'nix run .#rebuild endgame'.
#
# core/system-packages.nix only carries what my hosts need at runtime, not
# what working on this repo needs.
perSystem =
{ config, pkgs, ... }:
{
devShells.default = pkgs.mkShell {
packages =
# Every task, from the one place they are defined.
builtins.attrValues config.packages ++ [
# Not tasks, but the tools I use directly on this tree. The tasks
# declare their own runtimeInputs and do not rely on these.
#
# Spelled pkgs.* rather than opened with 'with', for the reason
# apps/spotify.nix gives: at a glance you can see where each name
# comes from.
pkgs.age
pkgs.nixfmt
pkgs.nvd
pkgs.sops
pkgs.ssh-to-age
];
};
};
}