determinate nix breaks my systems
This commit is contained in:
parent
be4553046c
commit
09b0e64708
3 changed files with 75 additions and 279 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue