nixpkgs: init config as separate file
This commit is contained in:
parent
4ed696e5b1
commit
4c07feb21a
3 changed files with 19 additions and 14 deletions
|
@ -5,6 +5,7 @@
|
|||
./environment.nix
|
||||
./home-manager.nix
|
||||
./nginx.nix
|
||||
./nixpkgs.nix
|
||||
./openssh.nix
|
||||
./security.nix
|
||||
./zsh.nix
|
||||
|
|
14
common/nixpkgs.nix
Normal file
14
common/nixpkgs.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: {
|
||||
agenix = inputs.agenix.packages.${config.nixpkgs.hostPlatform.system}.default;
|
||||
};
|
||||
};
|
||||
|
||||
overlays = [ inputs.nur.overlay ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue