1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-25 17:14:38 +03:00

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 = [ imports = [
"${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos" "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos"
/etc/nixos/profiles/core.nix /etc/nixos/profiles/core.nix
"/etc/nixos/configurations/${host}.nix" "/etc/nixos/hosts/${host}.nix"
]; ];
networking.hostName = host; networking.hostName = host;

View File

@ -9,7 +9,7 @@
outputs = { self, home, nixpkgs }: { outputs = { self, home, nixpkgs }: {
nixosConfigurations = nixosConfigurations =
let let
configs = import ./configurations { configs = import ./hosts {
inherit nixpkgs; inherit nixpkgs;
flake = self; flake = self;
home = home.nixosModules.home-manager; home = home.nixosModules.home-manager;

View File

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