From 041be554643157100b802b4bc70208cb2c94b9d7 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 14 Dec 2024 22:14:52 -0800 Subject: nara: move configuration to modules --- hosts/nara/configuration.nix | 42 ++---------------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) (limited to 'hosts/nara/configuration.nix') diff --git a/hosts/nara/configuration.nix b/hosts/nara/configuration.nix index 8536726..89b4dc7 100644 --- a/hosts/nara/configuration.nix +++ b/hosts/nara/configuration.nix @@ -1,43 +1,5 @@ -{ inputs, pkgs, ... }: +{ self, ... }: { + imports = [ "${self}/modules/mac" ]; system.stateVersion = 5; - - environment.systemPackages = with pkgs; [ - nixd - nixfmt-rfc-style - nil - just - ]; - - homebrew = { - enable = true; - - brews = [ - "swiftlint" - "gpg" - "pinentry-mac" - "sudo-touchid" - ]; - - casks = [ - "alt-tab" - "iina" - "aerospace" - ]; - }; - - nix-homebrew = { - enable = true; - enableRosetta = true; - user = "ebisu"; - mutableTaps = false; - - taps = with inputs; { - "artginzburg/homebrew-tap" = artginzburg-homebrew-tap; - "homebrew/homebrew-core" = homebrew-core; - "homebrew/homebrew-cask" = homebrew-cask; - "homebrew/homebrew-bundle" = homebrew-bundle; - "nikitabobko/homebrew-tap" = nikitabobko-homebrew-tap; - }; - }; } -- cgit v1.2.3