From b0b98ed2ccd9291d53b1fc4ace09c056073e7b04 Mon Sep 17 00:00:00 2001 From: mat ess Date: Sun, 30 Jul 2023 19:42:05 -0400 Subject: [PATCH] VSCodium -> VSCode only on matbook --- flake.nix | 57 +++++++++++++++++++++++------------------------ home/programs.nix | 8 +++---- 2 files changed, 32 insertions(+), 33 deletions(-) diff --git a/flake.nix b/flake.nix index 6f5b9e8..b605910 100644 --- a/flake.nix +++ b/flake.nix @@ -108,36 +108,35 @@ # M1 MBP matbook = mkDarwinSystem { primaryUser = primaryUserInfo; - modules = [ - ({ pkgs, ... }: { - networking.computerName = "matbook pro m1"; - networking.hostName = "matbook"; - networking.knownNetworkServices = [ - "Wi-Fi" - ]; - nix.settings.cores = 2; - nix.settings.max-jobs = 4; + modules = [{ + networking.computerName = "matbook pro m1"; + networking.hostName = "matbook"; + networking.knownNetworkServices = [ + "Wi-Fi" + ]; + nix.settings.cores = 2; + nix.settings.max-jobs = 4; - homebrew.casks = [ - # games - "gog-galaxy" - "origin" - "sony-ps-remote-play" - "steam" - ]; - home-manager.sharedModules = [{ - programs.fish.shellAliases = { - code = "${pkgs.vscodium}/bin/codium"; - }; - programs.ssh.matchBlocks.remarkable = { - hostname = "10.11.99.1"; - user = "root"; - port = 22; - }; - programs.vscode.package = pkgs.vscodium; - }]; - }) - ]; + homebrew.casks = [ + # games + "gog-galaxy" + "origin" + "sony-ps-remote-play" + "steam" + ]; + home-manager.sharedModules = [{ + # programs.fish.shellAliases = { + # code = "${pkgs.vscodium}/bin/codium"; + # }; + programs.ssh.matchBlocks.remarkable = { + hostname = "10.11.99.1"; + user = "root"; + port = 22; + }; + # programs.vscode.package = pkgs.vscodium; + programs.vscode.enable = true; + }]; + }]; }; yelpbook-m1 = mkDarwinSystem { diff --git a/home/programs.nix b/home/programs.nix index 750f9ff..97c6e79 100644 --- a/home/programs.nix +++ b/home/programs.nix @@ -29,10 +29,10 @@ AddKeysToAgent = "yes"; }; }; - vscode = { - enable = true; - # extensions = [ pijul-vscode ]; - }; + # vscode = { + # enable = true; + # extensions = [ pijul-vscode ]; + # }; zoxide = { enable = true; };