my over complex system configurations
dotfiles.isabelroses.com/
nixos
nix
flake
dotfiles
linux
1{
2 perSystem =
3 {
4 pkgs,
5 config,
6 ...
7 }:
8 {
9 devShells = {
10 default = pkgs.mkShellNoCC {
11 name = "dotfiles";
12 meta.description = "Development shell for this configuration";
13
14 DIRENV_LOG_FORMAT = "";
15
16 packages = [
17 pkgs.just # quick and easy task runner
18 pkgs.gitMinimal # we need git
19 pkgs.sops # secrets management
20 config.formatter # nix formatter
21 pkgs.nix-output-monitor # get clean diff between generations
22 ];
23
24 inputsFrom = [ config.formatter ];
25 };
26
27 nixpkgs = pkgs.mkShellNoCC {
28 packages = builtins.attrValues {
29 inherit (pkgs)
30 # package creation helpers
31 nurl
32 nix-init
33
34 # nixpkgs dev stuff
35 hydra-check
36 nixpkgs-lint
37 nixpkgs-review
38 nixpkgs-hammering
39
40 # nix helpers
41 nix-melt
42 nix-tree
43 nix-inspect
44 nix-search-cli
45 ;
46 };
47 };
48 };
49 };
50}