1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

chore: update flake inputs

This commit is contained in:
oddlama 2024-01-10 16:03:24 +01:00
parent 714dec1c33
commit ab9c6fc507
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 145 additions and 81 deletions

View file

@ -73,16 +73,9 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nixseparatedebuginfod = {
url = "github:symphorien/nixseparatedebuginfod";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.pre-commit-hooks.follows = "pre-commit-hooks";
};
@ -264,6 +257,22 @@
package = pkgs.nix-diff;
help = "Explain why two Nix derivations differ";
}
{
package = pkgs.nix-output-monitor;
help = "Nix Output Monitor (a drop alternative for `nix` which shows a build graph)";
}
{
package = pkgs.writeShellApplication {
name = "build";
text = ''
set -euo pipefail
[[ "$#" -eq 1 ]] \
|| { echo "usage: build <host>" >&2; exit 1; }
nom build --no-link --print-out-paths --show-trace .#nodes."$1".config.system.build.toplevel
'';
};
help = "Build a host configuration";
}
];
devshell.startup.pre-commit.text = self.checks.${system}.pre-commit-hooks.shellHook;