mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-12 01:00:43 +01:00
yodaTux: refactor lan driver config
This commit is contained in:
parent
d89f233247
commit
75de0e8bc9
@ -3,7 +3,11 @@
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
./lan.nix
|
||||
|
||||
# Chose one of these two:
|
||||
#./old-kernel-with-working-lan.nix
|
||||
./latest-kernel.nix
|
||||
|
||||
../../modules/home-manager.nix
|
||||
../../modules/nur-and-unstable.nix
|
||||
../../modules/unfree.nix
|
||||
|
21
hosts/yodaTux/latest-kernel.nix
Normal file
21
hosts/yodaTux/latest-kernel.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# https://nixos.wiki/wiki/Linux_kernel#List_available_kernels
|
||||
# List all available kernel versions:
|
||||
# `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB`
|
||||
|
||||
# Default value.
|
||||
#boot.kernelPackages = pkgs.linuxPackages;
|
||||
# Latest stable.
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
# Latest unstable.
|
||||
#boot.kernelPackages = pkgs.unstable.linuxPackages_latest;
|
||||
|
||||
# Hardened.
|
||||
# https://archlinux.org/packages/extra/x86_64/linux-hardened/
|
||||
# -> https://github.com/anthraxx/linux-hardened
|
||||
#boot.kernelPackages = pkgs.linuxPackages_hardened;
|
||||
# Free/Libre.
|
||||
# https://en.wikipedia.org/wiki/Linux-libre
|
||||
#boot.kernelPackages = pkgs.linuxPackages-libre;
|
||||
}
|
@ -17,17 +17,6 @@
|
||||
config.boot.kernelPackages.r8168
|
||||
];
|
||||
|
||||
# https://nixos.wiki/wiki/Linux_kernel#List_available_kernels
|
||||
# List all available kernel versions:
|
||||
# `nix repl` -> `:l <nixpkgs>` -> `pkgs.linuxPackages` and press `TAB`
|
||||
|
||||
# Default value.
|
||||
#boot.kernelPackages = pkgs.linuxPackages;
|
||||
# Latest stable.
|
||||
#boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
# Latest unstable.
|
||||
#boot.kernelPackages = pkgs.unstable.linuxPackages_latest;
|
||||
|
||||
# LTS, see https://endoflife.date/linux
|
||||
# TODO: When NixOS 26.05 is out, this kernel is near EOL
|
||||
#boot.kernelPackages = pkgs.linuxPackages_5_15;
|
||||
@ -36,12 +25,4 @@
|
||||
# TODO: When NixOS 26.05 is out, this kernel is near EOL
|
||||
boot.kernelPackages = pkgs.linuxPackages_6_1;
|
||||
nixpkgs.config.allowBroken = true;
|
||||
|
||||
# Hardened.
|
||||
# https://archlinux.org/packages/extra/x86_64/linux-hardened/
|
||||
# -> https://github.com/anthraxx/linux-hardened
|
||||
#boot.kernelPackages = pkgs.linuxPackages_hardened;
|
||||
# Free/Libre.
|
||||
# https://en.wikipedia.org/wiki/Linux-libre
|
||||
#boot.kernelPackages = pkgs.linuxPackages-libre;
|
||||
}
|
Loading…
Reference in New Issue
Block a user