nixcfg/common/nix.nix
Aly Raffauf 97db653259
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / hd-ui-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
flake: reorg outputs (#132)
* overlays: init with tablet overlays

* flake: add overlays.tablet

* overlays.tablet: document

* pacifidlog: migrate to overlays.tablet

* pacvifidlog: cleanup

* overlays: add rofi-bluetooth

* flake: output adjustor and hhd-ui

* flake: reorg packages and overlays

* flake.devShells.default: add nix-update

* github: add adjustor and hhd-ui to ci

* githuib: test builds

* github: undo test change

* pkgs: update descriptions

* pkgs: reformat
2024-10-19 14:43:33 -04:00

51 lines
1.3 KiB
Nix

{self, ...}: {
nix = {
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 14d";
persistent = true;
randomizedDelaySec = "60min";
};
# Run GC when there is less than 100MiB left.
extraOptions = ''
min-free = ${toString (100 * 1024 * 1024)}
max-free = ${toString (1024 * 1024 * 1024)}
'';
optimise.automatic = true;
settings = {
auto-optimise-store = false;
experimental-features = ["nix-command" "flakes"];
substituters = [
"https://alyraffauf.cachix.org"
"https://cache.nixos.org/"
"https://jovian-nixos.cachix.org"
"https://nix-community.cachix.org"
"https://nix-gaming.cachix.org"
];
trusted-public-keys = [
"alyraffauf.cachix.org-1:GQVrRGfjTtkPGS8M6y7Ik0z4zLt77O0N25ynv2gWzDM="
"jovian-nixos.cachix.org-1:mAWLjAxLNlfxAnozUjOqGj4AxQwCl7MXwOfu7msVlAo="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
];
trusted-users = ["aly"];
};
};
nixpkgs = {
config.allowUnfree = true; # Allow unfree packages
overlays = [
self.overlays.default
self.overlays.rofi-bluetooth
];
};
}