1
0

Use kernel package from nixos-*-small (updates faster)

This commit is contained in:
dump_stack() 2020-06-27 17:37:08 +00:00
parent 3ed2413c3d
commit d070d1401f
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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";