diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-11 12:49:11 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-11 12:49:11 +0100 |
| commit | 6ca27b9903ac862c2176fcb5d3809bc96f527167 (patch) | |
| tree | be2bac460c15dc1ce43768478d53cc4a64d59969 /default.nix | |
| parent | dae0095a4e734cdee9550a22676c7e97773acdb3 (diff) | |
add nix-tools and use <darwin-config> instead of config.nix
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/default.nix b/default.nix index 6cffc27..ae5156e 100644 --- a/default.nix +++ b/default.nix @@ -12,14 +12,20 @@ let ./modules/system/defaults ./modules/system/etc.nix ./modules/system/launchd.nix + ./modules/nix ./modules/environment ./modules/launchd ./modules/services/activate-system.nix ./modules/services/nix-daemon.nix ./modules/programs/tmux.nix - ./modules/programs/nix-darwin.nix ]; }; + system = eval.config.system.build.toplevel; + in - eval + +{ + inherit (eval) config; + inherit system; +} |
