mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
refactor(darwin): import via ./hosts
rename modules/ -> hosts/
This commit is contained in:
parent
cf1d776efa
commit
fb3f35e153
6 changed files with 9 additions and 6 deletions
|
|
@ -57,8 +57,6 @@
|
|||
nvf,
|
||||
sops-nix,
|
||||
nix-homebrew,
|
||||
homebrew-core,
|
||||
homebrew-cask,
|
||||
...
|
||||
}: let
|
||||
system = "aarch64-darwin";
|
||||
|
|
@ -75,10 +73,7 @@
|
|||
darwinConfigurations."${hostname}" = darwin.lib.darwinSystem {
|
||||
inherit system specialArgs;
|
||||
modules = [
|
||||
./modules/nix-core.nix
|
||||
./modules/system.nix
|
||||
./modules/apps.nix
|
||||
./modules/host-users.nix
|
||||
./hosts
|
||||
nix-homebrew.darwinModules.nix-homebrew
|
||||
home-manager.darwinModules.home-manager
|
||||
{
|
||||
|
|
|
|||
8
hosts/default.nix
Normal file
8
hosts/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./apps.nix
|
||||
./host-users.nix
|
||||
./nix-core.nix
|
||||
./system.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue