From a3862cbbd1865ee1dd25683cc2802a095cff5d5d Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 11 Dec 2019 00:34:13 +1000 Subject: [PATCH] Added teintidh Also corrected paths --- deployments/mio-ops.nix | 7 ++++--- hosts/teintidh.nix | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 hosts/teintidh.nix diff --git a/deployments/mio-ops.nix b/deployments/mio-ops.nix index 44ceaa9..a25b135 100644 --- a/deployments/mio-ops.nix +++ b/deployments/mio-ops.nix @@ -14,8 +14,9 @@ }; cuallaidh = import ../hosts/cuallaidh.nix; - pi-ceithir = import hosts/pi-ceithir.nix; - pi-coig = import hosts/pi-coig.nix; - pi-tri = import hosts/pi-tri.nix; + pi-ceithir = import ../hosts/pi-ceithir.nix; + pi-coig = import ../hosts/pi-coig.nix; + pi-tri = import ../hosts/pi-tri.nix; + teintidh = import ../hosts/teintidh.nix; } diff --git a/hosts/teintidh.nix b/hosts/teintidh.nix new file mode 100644 index 0000000..0eae189 --- /dev/null +++ b/hosts/teintidh.nix @@ -0,0 +1,26 @@ +# 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 + +}