33 lines
744 B
Nix
33 lines
744 B
Nix
# Module arguments which our system can use to refer to its own configuration
|
|
{ config, lib, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
../modules
|
|
];
|
|
|
|
options = {
|
|
};
|
|
|
|
config = {
|
|
nixpkgs = {
|
|
# You can add overlays here
|
|
overlays = [
|
|
# If you want to use overlays exported from other flakes:
|
|
# neovim-nightly-overlay.overlays.default
|
|
|
|
# Or define it inline, for example:
|
|
# (final: prev: {
|
|
# hi = final.hello.overrideAttrs (oldAttrs: {
|
|
# patches = [ ./change-hello-to-hi.patch ];
|
|
# });
|
|
# })
|
|
];
|
|
# Configure your nixpkgs instance
|
|
config = {
|
|
# Disable if you don't want unfree packages
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
};
|
|
}
|