rename configurations to hosts
This commit is contained in:
parent
e35652cac0
commit
1f55960518
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -35,7 +35,7 @@ let
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
configurations =
|
hosts =
|
||||||
reqImport { dir = ./.; _import = config; };
|
reqImport { dir = ./.; _import = config; };
|
||||||
in
|
in
|
||||||
configurations
|
hosts
|
Loading…
Reference in a new issue