Skip to content

Commit 6b76498

Browse files
committed
feature(flakes): add bash-it
1 parent 9c34be9 commit 6b76498

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

flake.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,20 @@
77
home-manager.inputs.nixpkgs.follows = "nixpkgs";
88
sops-nix.url = "github:mic92/sops-nix";
99
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
10+
bash-it = {
11+
url = "github:Bash-it/bash-it";
12+
flake = false;
13+
};
1014
};
1115

12-
outputs = { self, nixpkgs, home-manager, sops-nix }:
16+
outputs = { self, nixpkgs, home-manager, sops-nix, bash-it }@inputs:
1317
let
1418
mkHome = { username, system ? "x86_64-linux" }: home-manager.lib.homeManagerConfiguration {
1519
pkgs = nixpkgs.legacyPackages.${system};
16-
extraSpecialArgs = { inherit sops-nix; };
20+
extraSpecialArgs = {
21+
inherit sops-nix;
22+
inherit inputs;
23+
};
1724
modules = [
1825
{
1926
home.username = username;

0 commit comments

Comments
 (0)