mirror of
https://github.com/divnix/digga.git
synced 2024-12-24 16:44:52 +03:00
rename configurations to hosts
This commit is contained in:
parent
e35652cac0
commit
1f55960518
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -35,7 +35,7 @@ let
|
||||
|
||||
};
|
||||
|
||||
configurations =
|
||||
hosts =
|
||||
reqImport { dir = ./.; _import = config; };
|
||||
in
|
||||
configurations
|
||||
hosts
|
Loading…
Reference in New Issue
Block a user