dotfiles-nixos/nixos/roles/base.nix

33 lines
744 B
Nix
Raw Normal View History

2023-06-11 15:53:13 +00:00
# Module arguments which our system can use to refer to its own configuration
{ config, lib, pkgs, ... }:
{
imports = [
2023-06-18 14:32:51 +00:00
../modules
2023-06-11 15:53:13 +00:00
];
options = {
};
config = {
2023-06-18 14:32:51 +00:00
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;
};
};
2023-06-11 15:53:13 +00:00
};
}