mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-28 23:00:58 +01:00
feat(profiles/base): add coma/command-not-found
This commit is contained in:
parent
0a97492051
commit
ca342f9aff
2 changed files with 33 additions and 0 deletions
|
@ -56,6 +56,32 @@ import "${nixpkgs}/nixos/lib/eval-config.nix" {
|
||||||
hydrasect = prev.pkgs.callPackage ../packages/hydrasect { };
|
hydrasect = prev.pkgs.callPackage ../packages/hydrasect { };
|
||||||
codeberg-pages-custom = prev.pkgs.callPackage ../packages/codeberg-pages-custom { };
|
codeberg-pages-custom = prev.pkgs.callPackage ../packages/codeberg-pages-custom { };
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(
|
||||||
|
_final: prev:
|
||||||
|
let
|
||||||
|
generated = import "${inputs.nix-index-database}/generated.nix";
|
||||||
|
nix-index-database =
|
||||||
|
(prev.fetchurl {
|
||||||
|
url = generated.url + prev.stdenv.system;
|
||||||
|
hash = generated.hashes.${prev.stdenv.system};
|
||||||
|
}).overrideAttrs
|
||||||
|
{
|
||||||
|
__structuredAttrs = true;
|
||||||
|
unsafeDiscardReferences.out = true;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
inherit nix-index-database;
|
||||||
|
nix-index-with-db = prev.callPackage "${inputs.nix-index-database}/nix-index-wrapper.nix" {
|
||||||
|
inherit nix-index-database;
|
||||||
|
};
|
||||||
|
comma-with-db = prev.callPackage "${inputs.nix-index-database}/comma-wrapper.nix" {
|
||||||
|
inherit nix-index-database;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
kitty
|
kitty
|
||||||
tailscale
|
tailscale
|
||||||
step-cli
|
step-cli
|
||||||
|
comma-with-db
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables.EDITOR = "nvim";
|
environment.variables.EDITOR = "nvim";
|
||||||
|
@ -63,6 +64,12 @@
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
programs.command-not-found.enable = false;
|
||||||
|
programs.nix-index = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.nix-index-with-db;
|
||||||
|
};
|
||||||
|
|
||||||
age.identityPaths = [
|
age.identityPaths = [
|
||||||
"/etc/ssh/ssh_host_ed25519_key"
|
"/etc/ssh/ssh_host_ed25519_key"
|
||||||
"/persistent/etc/ssh/ssh_host_ed25519_key"
|
"/persistent/etc/ssh/ssh_host_ed25519_key"
|
||||||
|
|
Loading…
Add table
Reference in a new issue