2019-12-10 14:34:13 +00:00
|
|
|
# Configuration for a Lenovo x201
|
|
|
|
{
|
2022-03-07 14:26:15 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2021-11-16 04:57:23 +00:00
|
|
|
imports = [
|
|
|
|
../hardware/lenovo_x201.nix
|
|
|
|
../profiles/desktop_common.nix
|
|
|
|
../profiles/haskell-dev.nix
|
|
|
|
../profiles/kids-dev.nix
|
|
|
|
];
|
2019-12-10 14:34:13 +00:00
|
|
|
|
|
|
|
# Use the GRUB 2 boot loader.
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
|
2021-09-28 01:15:12 +00:00
|
|
|
deployment.targetHost = "10.42.0.127";
|
2021-11-16 04:57:23 +00:00
|
|
|
networking.hostName = "teintidh"; # Define your hostname.
|
2019-12-10 14:34:13 +00:00
|
|
|
|
2021-11-16 04:57:23 +00:00
|
|
|
system.stateVersion = "18.09"; # The version of NixOS originally installed
|
2019-12-10 14:34:13 +00:00
|
|
|
}
|