mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
Merge pull request #4 from smg1024/refactor/darwin-modules
This commit is contained in:
commit
2488f849c6
6 changed files with 9 additions and 6 deletions
|
|
@ -57,8 +57,6 @@
|
||||||
nvf,
|
nvf,
|
||||||
sops-nix,
|
sops-nix,
|
||||||
nix-homebrew,
|
nix-homebrew,
|
||||||
homebrew-core,
|
|
||||||
homebrew-cask,
|
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
system = "aarch64-darwin";
|
system = "aarch64-darwin";
|
||||||
|
|
@ -75,10 +73,7 @@
|
||||||
darwinConfigurations."${hostname}" = darwin.lib.darwinSystem {
|
darwinConfigurations."${hostname}" = darwin.lib.darwinSystem {
|
||||||
inherit system specialArgs;
|
inherit system specialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
./modules/nix-core.nix
|
./hosts
|
||||||
./modules/system.nix
|
|
||||||
./modules/apps.nix
|
|
||||||
./modules/host-users.nix
|
|
||||||
nix-homebrew.darwinModules.nix-homebrew
|
nix-homebrew.darwinModules.nix-homebrew
|
||||||
home-manager.darwinModules.home-manager
|
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