From 1f55960518c4e3583f995f9ea3dca093b7ca5033 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sat, 21 Dec 2019 18:39:19 -0700 Subject: [PATCH] rename configurations to hosts --- configuration.nix | 2 +- flake.nix | 2 +- {configurations => hosts}/default.nix | 4 ++-- {configurations => hosts}/hp500281.nix | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename {configurations => hosts}/default.nix (95%) rename {configurations => hosts}/hp500281.nix (100%) diff --git a/configuration.nix b/configuration.nix index 6ceaef6..a8909a3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -9,7 +9,7 @@ in imports = [ "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos" /etc/nixos/profiles/core.nix - "/etc/nixos/configurations/${host}.nix" + "/etc/nixos/hosts/${host}.nix" ]; networking.hostName = host; diff --git a/flake.nix b/flake.nix index ecdac19..c40b384 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,7 @@ outputs = { self, home, nixpkgs }: { nixosConfigurations = let - configs = import ./configurations { + configs = import ./hosts { inherit nixpkgs; flake = self; home = home.nixosModules.home-manager; diff --git a/configurations/default.nix b/hosts/default.nix similarity index 95% rename from configurations/default.nix rename to hosts/default.nix index 2a51cc5..dd5424e 100644 --- a/configurations/default.nix +++ b/hosts/default.nix @@ -35,7 +35,7 @@ let }; - configurations = + hosts = reqImport { dir = ./.; _import = config; }; in -configurations +hosts diff --git a/configurations/hp500281.nix b/hosts/hp500281.nix similarity index 100% rename from configurations/hp500281.nix rename to hosts/hp500281.nix