overlays setup

This commit is contained in:
2024-04-19 12:44:04 -06:00
parent 99cf03a01e
commit 14676a34dc
2 changed files with 22 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
{ config, lib, pkgs, ... }: {
{ config, lib, pkgs, options, ... }: {
imports = [ ./modules/apps.nix ./modules/dev.nix ];
system = {
copySystemConfiguration = true;
stateVersion = "23.11";
@@ -30,6 +31,8 @@
}];
};
nix = {
nixPath = options.nix.nixPath.default
++ [ "nixpkgs-overlays=./overlays.nix" ];
optimise.automatic = true;
gc = {
automatic = true;