nixos: nix: enable some settings

This commit is contained in:
Guanran Wang 2024-01-25 02:06:42 +08:00
parent 81be316643
commit 4083560054
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,6 +1,5 @@
{config, ...}: {
nix.settings = {
trusted-users = ["@wheel"];
substituters =
{
"Asia/Shanghai" = [
@ -25,6 +24,12 @@
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
];
trusted-users = ["@wheel"];
experimental-features = ["auto-allocate-uids" "cgroups"];
auto-allocate-uids = true;
builders-use-substitutes = true;
use-cgroups = true;
use-xdg-base-directories = true;
};