trusted-users

trusted users workstation

trusted-users
This commit is contained in:
2023-09-24 21:39:23 -06:00
parent b20d33172a
commit b3e3877e2c
2 changed files with 10 additions and 6 deletions

View File

@@ -176,6 +176,7 @@ nix = let featuresList = [
settings = {
cores = 6;
auto-optimise-store = true;
trusted-users = [ "nixremote" ];
system-features = featuresList;
substituters = [
"https://nix-gaming.cachix.org"
@@ -268,13 +269,13 @@ architecture and other build flags.
#+begin_src nix
nixpkgs = {
hostPlatform = lib.mkDefault "x86_64-linux";
# hostPlatform = lib.mkDefault "x86_64-linux";
config.allowUnfree = true;
# localSystem = {
# gcc.arch = cpuArchitecture;
# gcc.tune = cpuArchitecture;
# system = "x86_64-linux";
# };
localSystem = {
gcc.arch = cpuArchitecture;
gcc.tune = cpuArchitecture;
system = "x86_64-linux";
};
};
#+end_src