From 082c0907b29c050f7cc6b3a6947bdd4c821d0f35 Mon Sep 17 00:00:00 2001 From: Romel Benavides Date: Tue, 23 Jul 2024 21:46:46 -0500 Subject: [PATCH] ops: update docs --- README.md | 12 +++++------- configuration.nix | 3 +-- home-manager/vscode.nix | 6 ------ 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 13320f2..c865343 100644 --- a/README.md +++ b/README.md @@ -21,19 +21,17 @@ With Nix installed and flakes enabled, this is all that I need to run to stand u With this approach, this will eliminate [Homebrew] in use from my machine. ## Troubleshooting -You will receive an error in regards to `experimental-features = nix-command flakes` when running `make`. This is something I fixing currently so this will soon be removed. To fix this issue, all that is needed is to run the following: +You will receive an error when running the command `make`: +```sh +error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command'; to override +``` +This is something I am fixing currently so this will soon be removed. To fix this issue, all that is needed to run is the following command: ```shell echo "experimental-features = nix-command flakes" | sudo tee /etc/nix/nix.conf ``` Once ran, rerun `make` and you should be good as new. -## Things To Do -Still need to add/configure/remove programs: -- [] Remove homebrew, docker, and more -- [] Add k9s, rancher desktop, asdf, and more -- [] Fix layout of icons at the bottom of macOS dash - ## Testing For testing purposes in Mac, it will be best to use [UTM](https://getutm.app) and setup an environment similar to your own for macOS: 1. Install [UTM](https://getutm.app) diff --git a/configuration.nix b/configuration.nix index e514834..ca22130 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,8 +5,8 @@ # $ nix-env -qaP | grep curl environment.systemPackages = with pkgs; [ aria + asdf-vm bat - cargo colima coreutils curl @@ -37,7 +37,6 @@ tree unzip watch - zoxide # Language server lua-language-server diff --git a/home-manager/vscode.nix b/home-manager/vscode.nix index 8fff726..8e044ca 100644 --- a/home-manager/vscode.nix +++ b/home-manager/vscode.nix @@ -29,7 +29,6 @@ in matthewpi.caddyfile-support prisma.prisma phoenixframework.phoenix - rust-lang.rust-analyzer tamasfe.even-better-toml thenuprojectcontributors.vscode-nushell-lang unifiedjs.vscode-mdx @@ -66,10 +65,6 @@ in "editor.defaultFormatter" = "B4dM4n.nixpkgs-fmt"; "editor.formatOnSave" = true; }; - "[rust]" = { - "editor.defaultFormatter" = "rust-lang.rust-analyzer"; - "editor.formatOnSave" = true; - }; "[toml]" = { "editor.defaultFormatter" = "tamasfe.even-better-toml"; "editor.formatOnSave" = true; @@ -84,7 +79,6 @@ in "dist" = true; "tmp" = true; }; - "rust-analyzer.server.path" = "rust-analyzer"; # "editor.defaultFormatter" = "esbenp.prettier-vscode"; "terminal.integrated.fontFamily" = terminalFont; "workbench.colorTheme" = colorTheme;