{ pkgs, lib, config, inputs, ... }: { # https://devenv.sh/scripts/ scripts = { update.exec = '' # git submodule update --init --recursive # maybe don't do that nix flake update ''; check.exec = '' nix flake check ''; build.exec = '' nixos-rebuild switch --sudo --flake '.#' $@ ''; # nix-build.exec = '' NIXPKGS_ALLOW_UNFREE=1 nix build $1 -L --no-link --impure ''; }; # https://devenv.sh/basics/ enterShell = '' update ''; # See full reference at https://devenv.sh/reference/options/ }