fix command-not-found issue with shells
This commit is contained in:
parent
ea16dabe34
commit
0dd443b4c3
3 changed files with 29 additions and 0 deletions
21
flake.lock
21
flake.lock
|
@ -264,6 +264,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1735443188,
|
||||
"narHash": "sha256-AydPpRBh8+NOkrLylG7vTsHrGO2b5L7XkMEL5HlzcA8=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "55ab1e1df5daf2476e6b826b69a82862dcbd7544",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-facter-modules": {
|
||||
"locked": {
|
||||
"lastModified": 1734596637,
|
||||
|
@ -353,6 +373,7 @@
|
|||
"catppuccin": "catppuccin",
|
||||
"home-manager": "home-manager_2",
|
||||
"nix-flatpak": "nix-flatpak",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixos-facter-modules": "nixos-facter-modules",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
alejandra.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
|
@ -27,6 +30,7 @@
|
|||
catppuccin,
|
||||
alejandra,
|
||||
nix-flatpak,
|
||||
nix-index-database,
|
||||
...
|
||||
}: let
|
||||
modules = {
|
||||
|
@ -210,6 +214,7 @@
|
|||
++ [
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
nix-flatpak.homeManagerModules.nix-flatpak
|
||||
nix-index-database.hmModules.nix-index
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
|
||||
programs.bat.enable = true;
|
||||
|
||||
programs.nix-index.enable = true;
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
|
|
Loading…
Reference in a new issue