Use the latest kernel by default
This commit is contained in:
parent
77ae918d90
commit
b7d2f56c96
@ -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
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user