Skip to content

Commit

Permalink
ops: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
romelBen committed Jul 24, 2024
1 parent a14794f commit 082c090
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# $ nix-env -qaP | grep curl
environment.systemPackages = with pkgs; [
aria
asdf-vm
bat
cargo
colima
coreutils
curl
Expand Down Expand Up @@ -37,7 +37,6 @@
tree
unzip
watch
zoxide

# Language server
lua-language-server
Expand Down
6 changes: 0 additions & 6 deletions home-manager/vscode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 082c090

Please sign in to comment.