Add extra package repos as nixpkgs overrides instead of independent references
This commit is contained in:
parent
7899127c05
commit
3e9901bd2a
3 changed files with 36 additions and 36 deletions
13
hive.nix
13
hive.nix
|
@ -6,7 +6,18 @@ in {
|
|||
deployment.replaceUnknownProfiles = false;
|
||||
networking.hostName = name;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: {
|
||||
agenix = (import sources.agenix { inherit pkgs; }).agenix;
|
||||
vscode-extensions = (import sources.nix-vscode-extensions).extensions.x86_64-linux; # TODO: This should check the host architecture
|
||||
};
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
};
|
||||
|
||||
imports = [
|
||||
(import "${sources.home-manager}/nixos")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue