2021-06-07 00:53:00 +00:00
|
|
|
# NixOS Configuration for a Lenovo x201
|
2019-12-11 01:52:19 +00:00
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../hardware/lenovo_x201.nix
|
2021-03-03 05:52:21 +00:00
|
|
|
../profiles/desktop_common.nix
|
2021-09-28 01:16:18 +00:00
|
|
|
../profiles/wine.nix
|
2019-12-11 01:52:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Use the GRUB 2 boot loader.
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.version = 2;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
|
2021-09-28 01:16:18 +00:00
|
|
|
deployment.targetHost = "10.42.0.116";
|
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
|
|
|
|
|
|
|
|
}
|