This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Preparing to install code-server." | |
| # Get the current user's username and assign it before using it | |
| USER=$(whoami) | |
| echo "user: $USER" | |
| # Install code-server using nix | |
| nix-env -iA nixpkgs.code-server |