add nix-fast-build

This commit is contained in:
Dmitriy Kholkin 2023-10-13 19:52:54 +03:00
parent de5d8f08b8
commit 3871bf7c25
4 changed files with 8 additions and 0 deletions

View File

@ -51,6 +51,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nix-direnv.url = "github:nix-community/nix-direnv";
nix-fast-build = {
url = "github:Mic92/nix-fast-build";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-vscode-marketplace = {
url = "github:nix-community/nix-vscode-extensions";
inputs.nixpkgs.follows = "nixpkgs";

View File

@ -123,6 +123,7 @@
pkgs.radeontop
pkgs.wayvnc
pkgs.distrobox
pkgs.nix-fast-build
];
xdg.configFile."distrobox/distrobox.conf".text = ''
container_always_pull="1"

View File

@ -28,6 +28,7 @@ with lib; {
cassowary-py = inputs.cassowary.packages.${system}.cassowary;
devenv = inputs.devenv.packages.${system}.devenv;
nix-alien = inputs.nix-alien.packages.${system}.nix-alien;
nix-fast-build = inputs.nix-fast-build.packages.${system}.default;
nix-index-update = inputs.nix-alien.packages.${system}.nix-index-update;
prismlauncher = inputs.prismlauncher.packages.${system}.default;
ripgrep-all = stable.ripgrep-all;

View File

@ -70,6 +70,8 @@
"nsp" = "nix-shell --run zsh -p";
"nd" = "nix develop -c zsh";
"nb" = "nix build";
"nbf" = "nix-fast-build --flake";
"nbfc" = "nix-fast-build --skip-cached --flake";
"nr" = "nix run";
"e" = "$EDITOR";
"q" = "${pkgs.libqalculate}/bin/qalc";