This commit is contained in:
Patrick Neff 2024-11-05 06:48:15 +01:00
parent 5f17ad166f
commit db2412e9ec
2 changed files with 5 additions and 2 deletions

View File

@ -1,14 +1,15 @@
{overlays, ...}: { { inputs, overlays, ... }: {
nixpkgs = { nixpkgs = {
config.allowUnfree = true; config.allowUnfree = true;
inherit overlays; inherit overlays;
}; };
nix = { nix = {
registry.nixpkgs.flake = inputs.nixpkgs;
optimise = { optimise = {
automatic = true; automatic = true;
}; };
settings = { settings = {
experimental-features = ["nix-command" "flakes"]; experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true; auto-optimise-store = true;
}; };
gc = { gc = {

View File

@ -16,6 +16,8 @@
inherit (vars) hostName domain; inherit (vars) hostName domain;
}; };
programs.nix-ld.enable = true;
services = { services = {
postgresql.enable = true; postgresql.enable = true;
open-webui = { open-webui = {