diff --git a/hosts/yodaNas/configuration.nix b/hosts/yodaNas/configuration.nix index d49f752..4881939 100644 --- a/hosts/yodaNas/configuration.nix +++ b/hosts/yodaNas/configuration.nix @@ -63,8 +63,5 @@ in boot.kernelParams = []; - # Allow unfree packages. - nixpkgs.config.allowUnfree = false; - boot.kernelPackages = pkgs.linuxPackages; } diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index bb2691a..a805feb 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -62,8 +62,5 @@ in boot.kernelParams = []; - # Allow unfree packages. - nixpkgs.config.allowUnfree = true; - boot.kernelPackages = pkgs.linuxPackages_latest; } diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index f87768a..312e420 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -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'. boot.kernelParams = [ "tsc=unstable" ]; - # Allow unfree packages. - nixpkgs.config.allowUnfree = false; - # List all available kernel versions: # `nix repl` -> `:l ` -> `pkgs.linuxPackages` and press `TAB` # Default. diff --git a/hosts/yodaYoga/configuration.nix b/hosts/yodaYoga/configuration.nix index 8e561fe..51c6632 100644 --- a/hosts/yodaYoga/configuration.nix +++ b/hosts/yodaYoga/configuration.nix @@ -63,8 +63,5 @@ in boot.kernelParams = []; - # Allow unfree packages. - nixpkgs.config.allowUnfree = false; - boot.kernelPackages = pkgs.linuxPackages; } diff --git a/modules/base.nix b/modules/base.nix index c6f5955..1b3babc 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -2,9 +2,14 @@ { # Firmware. + # # Enables e.g. Intel microcode updates. - hardware.enableRedistributableFirmware = true; - #hardware.enableAllFirmware = true; + # Defaults to `config.hardware.enableAllFirmware`. + #hardware.enableRedistributableFirmware = true; + hardware.enableAllFirmware = true; + + # Allow unfree packages. + nixpkgs.config.allowUnfree = true; # Bootloader. boot.loader.systemd-boot.enable = true;