allow firmware and unfree

This commit is contained in:
Daniel Langbein 2023-09-25 22:52:32 +02:00
parent a69d669bb6
commit 6fddbc2f40
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
5 changed files with 7 additions and 14 deletions

View File

@ -63,8 +63,5 @@ in
boot.kernelParams = []; boot.kernelParams = [];
# Allow unfree packages.
nixpkgs.config.allowUnfree = false;
boot.kernelPackages = pkgs.linuxPackages; boot.kernelPackages = pkgs.linuxPackages;
} }

View File

@ -62,8 +62,5 @@ in
boot.kernelParams = []; boot.kernelParams = [];
# Allow unfree packages.
nixpkgs.config.allowUnfree = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
} }

View File

@ -63,9 +63,6 @@ in
# S Sat Sep 23 16:11:52 2023 p4 kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'. # S Sat Sep 23 16:11:52 2023 p4 kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
boot.kernelParams = [ "tsc=unstable" ]; boot.kernelParams = [ "tsc=unstable" ];
# Allow unfree packages.
nixpkgs.config.allowUnfree = false;
# List all available kernel versions: # List all available kernel versions:
# `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB` # `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB`
# Default. # Default.

View File

@ -63,8 +63,5 @@ in
boot.kernelParams = []; boot.kernelParams = [];
# Allow unfree packages.
nixpkgs.config.allowUnfree = false;
boot.kernelPackages = pkgs.linuxPackages; boot.kernelPackages = pkgs.linuxPackages;
} }

View File

@ -2,9 +2,14 @@
{ {
# Firmware. # Firmware.
#
# Enables e.g. Intel microcode updates. # Enables e.g. Intel microcode updates.
hardware.enableRedistributableFirmware = true; # Defaults to `config.hardware.enableAllFirmware`.
#hardware.enableAllFirmware = true; #hardware.enableRedistributableFirmware = true;
hardware.enableAllFirmware = true;
# Allow unfree packages.
nixpkgs.config.allowUnfree = true;
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;