Use kernel package from nixos-*-small (updates faster)
This commit is contained in:
parent
3ed2413c3d
commit
d070d1401f
@ -36,6 +36,7 @@ Notes:
|
||||
nano secrets.nix
|
||||
|
||||
nix-channel --add https://nixos.org/channels/nixos-unstable unstable
|
||||
nix-channel --add https://nixos.org/channels/nixos-20.03-small nixos-small
|
||||
nix-channel --update
|
||||
|
||||
nixos-generate-config --root /mnt
|
||||
@ -48,3 +49,4 @@ Notes:
|
||||
Initial password for `user` is `user`.
|
||||
|
||||
sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable
|
||||
sudo nix-channel --add https://nixos.org/channels/nixos-20.03-small nixos-small
|
||||
|
@ -1,4 +1,5 @@
|
||||
# nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
|
||||
# nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
|
||||
# nix-channel --add https://nixos.org/channels/nixos-20.03-small nixos-small
|
||||
# nix-channel --add https://nixos.org/channels/nixos-unstable unstable
|
||||
# nix-channel --update
|
||||
#
|
||||
@ -6,6 +7,7 @@
|
||||
|
||||
let
|
||||
unstable = import <unstable> {};
|
||||
nixos-small = import <nixos-small> {};
|
||||
in {
|
||||
imports =
|
||||
[ <nixpkgs/nixos/modules/profiles/hardened.nix>
|
||||
@ -23,7 +25,7 @@ in {
|
||||
|
||||
time.timeZone = "UTC";
|
||||
|
||||
boot.kernelPackages = unstable.linuxPackages_latest;
|
||||
boot.kernelPackages = nixos-small.linuxPackages_latest;
|
||||
boot.blacklistedKernelModules = [ "nouveau" ];
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
Loading…
Reference in New Issue
Block a user