2019-12-12 23:02:55 +00:00
|
|
|
# Configuration for sithlainnir, 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-10-10 04:07:20 +00:00
|
|
|
deployment.targetHost = "10.42.0.114";
|
2019-12-12 23:02:55 +00:00
|
|
|
networking.hostName = "sithlainnir"; # Define your hostname.
|
|
|
|
|
|
|
|
system.stateVersion = "18.09"; # The version of NixOS originally installed
|
|
|
|
|
|
|
|
}
|