From dc9a8d6ca825a9072ea38080e77ab78e052db65f Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Tue, 12 Sep 2023 15:30:06 -0400 Subject: [PATCH] Install VS Code via Nix --- flake.nix | 5 ++++- modules/darwin/default.nix | 1 - modules/home-manager/default.nix | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 8052e070..4d354fe7 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,10 @@ # This is only set to work with x86 macOS right now... that will need to be updated darwinConfigurations.Blue-Rock = nix-darwin.lib.darwinSystem { system = "x86_64-darwin"; - pkgs = import nixpkgs { system = "x86_64-darwin"; }; + pkgs = import nixpkgs { + system = "x86_64-darwin"; + config.allowUnfree = true; + }; modules = [ nix-homebrew.darwinModules.nix-homebrew { diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix index 928f47c4..7e7f24be 100644 --- a/modules/darwin/default.nix +++ b/modules/darwin/default.nix @@ -85,7 +85,6 @@ "thunderbird" "vagrant" "virtualbox" - "visual-studio-code" "vivaldi" "vlc" "whatsapp" diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index ee8f1fcd..14b8804b 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -95,6 +95,9 @@ let g:airline_powerline_fonts = 1 ''; }; + vscode = { + enable = true; + }; zsh = { enable = true; enableCompletion = true;