mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-09-12 05:47:19 -05:00
37 lines
709 B
Nix
37 lines
709 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix.package = pkgs.nixUnstable;
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
nix.optimise.automatic = true;
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
nix-output-monitor
|
|
alejandra
|
|
inputs.self.packages.${pkgs.system}.styx
|
|
];
|
|
|
|
nix.settings = {
|
|
trusted-users = ["@wheel"];
|
|
accept-flake-config = true;
|
|
|
|
substituters = [
|
|
"https://daylin.cachix.org"
|
|
];
|
|
trusted-public-keys = [
|
|
"daylin.cachix.org-1:fLdSnbhKjtOVea6H9KqXeir+PyhO+sDSPhEW66ClE/k="
|
|
];
|
|
};
|
|
}
|