rename configurations to hosts

This commit is contained in:
Timothy DeHerrera 2019-12-21 18:39:19 -07:00
parent e35652cac0
commit 1f55960518
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -35,7 +35,7 @@ let
};
configurations =
hosts =
reqImport { dir = ./.; _import = config; };
in
configurations
hosts