diff --git a/flakes/emacs/home.nix b/flakes/emacs/home.nix index b452105..fbd5b58 100644 --- a/flakes/emacs/home.nix +++ b/flakes/emacs/home.nix @@ -16,23 +16,10 @@ cider clojure-mode consult - (trivialBuild { - pname = "copilot"; - version = "master-12-28-2024"; - src = pkgs.fetchFromGitHub { - owner = "copilot-emacs"; - repo = "copilot.el"; - rev = "c5dfa99f05878db5e6a6a378dc7ed09f11e803d4"; - hash = "sha256-FzI08AW7a7AleEM7kSQ8LsWsDYID8SW1SmSN6/mIB/A="; - }; - packageRequires = [ - editorconfig - dash - f - jsonrpc - ]; - }) + consult-denote + copilot corfu + denote dockerfile-mode eat ef-themes @@ -74,6 +61,7 @@ smartparens swift-mode super-save + terraform-mode treesit-auto ob-typescript yaml-mode diff --git a/system/darwin.nix b/system/darwin.nix index 35db3fc..6df4d4e 100644 --- a/system/darwin.nix +++ b/system/darwin.nix @@ -18,6 +18,13 @@ inputs.darwin.lib.darwinSystem { users.users.${username}.home = "/Users/${username}"; } + { + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (inputs.nixpkgs.lib.getName pkg) [ + "copilot-language-server" + ]; + } + systemConfig inputs.home-manager.darwinModules.home-manager