determinate nix breaks my systems

This commit is contained in:
William 2026-02-19 09:10:44 -03:00
parent be4553046c
commit 09b0e64708
3 changed files with 75 additions and 279 deletions

View file

@ -3,25 +3,24 @@
flake.modules.nixos.nix =
{ inputs, pkgs, ... }:
{
imports = [
inputs.nixos-cli.nixosModules.nixos-cli
inputs.determinate.nixosModules.default
];
imports = [ inputs.nixos-cli.nixosModules.nixos-cli ];
nix.gc = {
automatic = true;
options = "--delete-older-than 8d";
nix = {
settings = {
auto-optimise-store = true;
connect-timeout = 10;
log-lines = 25;
min-free = 128000000;
max-free = 1000000000;
trusted-users = [ "@wheel" ];
};
extraOptions = "experimental-features = nix-command flakes";
gc = {
automatic = true;
options = "--delete-older-than 8d";
};
};
environment.etc."nix/nix.custom.conf".text = ''
auto-optimise-store = true
connect-timeout = 10
log-lines = 25
min-free = 128000000
max-free = 1000000000
trusted-users = @wheel
'';
nixpkgs.config = {
allowUnfree = true;
enableParallelBuilding = true;