Separate hosts for X220 and T430, generic VirtualBox host
This commit is contained in:
parent
f3b3397f9c
commit
4f9ca94dc4
6 changed files with 40 additions and 13 deletions
20
hosts/thinkpads/default.nix
Normal file
20
hosts/thinkpads/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ (import ./hardware-configuration.nix) ];
|
||||
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
grub = {
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
};
|
||||
};
|
||||
|
||||
# Use X11 caps lock to escape remap in TTY
|
||||
console.useXkbConfig = true;
|
||||
services.xserver.xkbOptions = "caps:escape";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue