NixOS configuration 馃獎
1{
2 # include the formatter for this configuration
3 imports = [ ./formatter.nix ];
4
5 perSystem =
6 {
7 pkgs,
8 inputs',
9 config,
10 ...
11 }:
12 {
13 devShells.default = pkgs.mkShellNoCC {
14 name = "dotfiles";
15 meta.description = "development environment for this flake";
16
17 inputsFrom = [ config.formatter ];
18
19 DIRENV_LOG_FORMAT = "";
20
21 packages = [
22 pkgs.gitMinimal # git is needed for flake based configurations
23 inputs'.agenix-rekey.packages.default # manging secrets
24 config.formatter # nix formatter
25 pkgs.nix-output-monitor # detailed diff view between generations
26 ];
27 };
28 };
29}