From 59f8e9f21a7e28bfcb742c62e72f342a9198ea94 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Fri, 8 Oct 2021 10:54:39 +0200 Subject: [PATCH] default config for multi-machine added Signed-off-by: Stefan Ellmauthaler --- configuration.nix | 3 ++- machine/nucturne/default.nix | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 machine/nucturne/default.nix diff --git a/configuration.nix b/configuration.nix index a73d045..d620d31 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ./machine/current/hardware-configuration.nix + ./machine/current/default.nix ./programs/emacs ./programs/aspell.nix ]; @@ -17,7 +18,7 @@ boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages_latest; - networking.hostName = "nucturne"; # Define your hostname. + # networking.hostName = "nucturne"; # Define your hostname. - done in machine/current/default.nix #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.networkmanager.enable = true; #networking.networkmanager.unmanaged = [ "enp0s20f0u4u1u3" ]; diff --git a/machine/nucturne/default.nix b/machine/nucturne/default.nix new file mode 100644 index 0000000..43a8714 --- /dev/null +++ b/machine/nucturne/default.nix @@ -0,0 +1,4 @@ +{ config, pkgs, ...}: +{ + networking.hostName = "nucturne"; # define the hostname +} \ No newline at end of file