27 lines
574 B
Nix
27 lines
574 B
Nix
|
# 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";
|
||
|
|
||
|
deployment.targetHost = "10.69.0.141";
|
||
|
networking.hostName = "teinatidh"; # Define your hostname.
|
||
|
|
||
|
nix.nixPath = [
|
||
|
"nixpkgs=https://nixos.org/channels/nixos-19.09/nixexprs.tar.xz"
|
||
|
];
|
||
|
|
||
|
system.stateVersion = "18.09"; # The version of NixOS originally installed
|
||
|
|
||
|
}
|