From 3230a5ec1e2a7085bb4029c36dbe175657945971 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 22 Jun 2023 07:56:59 -0400 Subject: [PATCH] meta: Use hardware directory for hardware configs This makes it easier to auto-complete home/ and hardware/ with tab, versus having to type 3 letters to auto-complete hosts/. --- {src => hardware}/laptop.nix | 0 src/variables.nix | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src => hardware}/laptop.nix (100%) diff --git a/src/laptop.nix b/hardware/laptop.nix similarity index 100% rename from src/laptop.nix rename to hardware/laptop.nix diff --git a/src/variables.nix b/src/variables.nix index 5992ff9..8dea357 100644 --- a/src/variables.nix +++ b/src/variables.nix @@ -2,7 +2,7 @@ hostname = "nixos"; system = "x86_64-linux"; timezone = "America/New_York"; - hostHardwareConfiguration = ./laptop.nix; + hostHardwareConfiguration = ../hardware/laptop.nix; stateVersion = "22.11"; defaultLocale = "ja_JP.UTF-8"; supportedLocales = [ "ja_JP.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "fr_FR.UTF-8/UTF-8" ];