1
0

Use the latest kernel by default

Esse commit está contido em:
2023-02-13 09:07:36 +00:00
commit b7d2f56c96
2 arquivos alterados com 2 adições e 7 exclusões

Ver arquivo

@ -38,7 +38,6 @@ Notes:
cp local.nix.example local.nix
nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small
nix-channel --add https://nixos.org/channels/nixos-unstable unstable
nix-channel --update
@ -52,6 +51,5 @@ Notes:
Initial password for `user` is `user`.
sudo nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
sudo nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small
sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable
sudo nix-channel --update

Ver arquivo

@ -1,13 +1,10 @@
# nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
# nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small
# nix-channel --add https://nixos.org/channels/nixos-unstable unstable
# nix-channel --update
#
{ config, pkgs, ... }:
let
nixos-small = import <nixos-small> {};
in {
{
imports =
[ ./hardware-configuration.nix
./packages.nix
@ -21,7 +18,7 @@ in {
./local.nix
];
boot.kernelPackages = nixos-small.linuxPackages_6_0;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [ "nouveau.modeset=0" ]; # comment out in case of nvidia
time.timeZone = "UTC";