add laptop version
This commit is contained in:
parent
0ba7bf856f
commit
c7db34c243
729 changed files with 286689 additions and 18 deletions
20
hosts/nixos-laptop/config/boot.nix
Normal file
20
hosts/nixos-laptop/config/boot.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
# Noyau standard (pas forcément le _latest : plus léger à récupérer
|
||||
# depuis le cache et suffisant pour du Skylake).
|
||||
boot.kernelPackages = pkgs.linuxPackages;
|
||||
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
useOSProber = true;
|
||||
configurationLimit = 5; # moins de générations = moins de disque
|
||||
};
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# NB : si tu as choisi le chiffrement LUKS à l'installation, l'entrée
|
||||
# boot.initrd.luks.devices.* correspondante est déjà générée dans
|
||||
# hardware-configuration.nix par nixos-generate-config. On ne la
|
||||
# duplique donc PAS ici (l'UUID est propre à ce disque).
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue