mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 03:29:20 +00:00
auto allocate uids and nix update
This commit is contained in:
parent
ddcc48c006
commit
f366e320df
1 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
nix = {
|
nix = {
|
||||||
|
package = pkgs.nixVersions.latest;
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
|
|
@ -7,7 +8,9 @@
|
||||||
};
|
};
|
||||||
extraOptions = "gc-keep-outputs = true";
|
extraOptions = "gc-keep-outputs = true";
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes" "auto-allocate-uids"];
|
||||||
|
auto-optimise-store = true;
|
||||||
|
auto-allocate-uids = true;
|
||||||
|
|
||||||
substituters = [
|
substituters = [
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue