2019-12-11 01:52:19 +00:00
|
|
|
# Configuration for a Lenovo x201
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../hardware/lenovo_x201.nix
|
|
|
|
../roles/desktop_common.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Use the GRUB 2 boot loader.
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.version = 2;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
|
2020-12-31 02:03:37 +00:00
|
|
|
deployment.targetHost = "10.42.0.121";
|
2019-12-11 01:52:19 +00:00
|
|
|
networking.hostName = "iolear-beag"; # Define your hostname.
|
|
|
|
|
|
|
|
system.stateVersion = "18.09"; # The version of NixOS originally installed
|
|
|
|
|
|
|
|
}
|