1
0
Fork 0

Use the latest kernel by default

master
dump_stack() 2023-02-13 09:07:36 +00:00
parent 77ae918d90
commit b7d2f56c96
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 2 additions and 7 deletions

View File

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

View File

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