Nix configurations for my personal machines (Linux & macOS)

nightline: install all firmware

ovyerus.com 24eb8cd5 bb5eb9d5

verified
Changed files
+8 -1
hosts
wallsocket
modules
+1 -1
hosts/wallsocket/hardware.nix
···
nixpkgs.hostPlatform = platform;
system.stateVersion = stateVersion;
-
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
# Kernel
···
nixpkgs.hostPlatform = platform;
system.stateVersion = stateVersion;
+
hardware.enableAllFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
# Kernel
+7
modules/nix.nix
···
// {
xdg.configFile."nixpkgs/config.nix".source = ../files/nixpkgs-config.nix;
};
nixos.always =
shared
// {
···
type = "path";
path = inputs.nixpkgs;
narHash = inputs.nixpkgs.narHash;
};
};
···
// {
xdg.configFile."nixpkgs/config.nix".source = ../files/nixpkgs-config.nix;
};
+
nixos.always =
shared
// {
···
type = "path";
path = inputs.nixpkgs;
narHash = inputs.nixpkgs.narHash;
+
};
+
+
settings = {
+
auto-optimise-store = true;
+
experimental-features = ["nix-command" "flakes"];
+
trusted-users = ["root" "@wheel" "ovy"];
};
};