add darawin flakes

This commit is contained in:
2022-05-31 10:38:16 -04:00
parent 8bb6ffce43
commit 860435e50d
4 changed files with 45 additions and 9 deletions

View File

@ -1,12 +1,6 @@
{ config, lib, pkgs, ... }:
let
dotfiles = builtins.fetchTarball
"https://github.com/walkah/dotfiles/archive/main.tar.gz";
in
{ config, lib, pkgs, dotfiles, ... }:
{
imports = [
<home-manager/nix-darwin>
./homebrew.nix
../../modules/builder
];
@ -33,7 +27,7 @@ in
nix = {
package = pkgs.nix;
trustedUsers = [ "root" "@wheel" ];
trustedUsers = [ "root" "@admin" ];
extraOptions = ''
extra-platforms = x86_64-darwin aarch64-darwin