trusted-users

trusted users workstation

trusted-users
This commit is contained in:
Danilo Reyes 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

View File

@ -181,6 +181,7 @@ nix = let featuresList = [
settings = {
cores = 12;
auto-optimise-store = true;
trusted-users = [ "nixremote" ];
system-features = featuresList;
substituters = [
"https://nix-gaming.cachix.org"
@ -417,6 +418,7 @@ Art and development applications are together, as a game-developer one of my
goals is to create a workflow between this ecosystem of applications.
#+begin_src nix
virt-manager
godot_4 # game development
gdtoolkit # gdscript language server
blender # cgi animation and sculpting
@ -1095,6 +1097,7 @@ defaulted to "performance".
#+begin_src nix
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
boot.extraModprobeConfig = "options kvm_intel nested=1";
hardware = {
cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;