Advertisement
Guest User

Nix VSCodium

a guest
Nov 4th, 2023
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | Source Code | 0 0
  1. users =
  2. {
  3. # Disable password auth for root user.
  4. # https://discourse.nixos.org/t/how-to-disable-root-user-account-in-configuration-nix/13235
  5. root.hashedPassword = "!";
  6.  
  7. # Define a user account. Don't forget to set a password with ‘passwd’.
  8. # sudo useradd -m kopemon
  9. # sudo passwd kopemon
  10. username =
  11. {
  12. hashedPassword = "&%V**TKeyboardsmash/Oqtvgli";
  13. isNormalUser = true;
  14. description = "username";
  15. extraGroups = ["wheel" "storage" "networkmanager" "kvm" "libvirtd"];
  16.  
  17. packages = with pkgs;
  18. [
  19. ## https://nixos.wiki/wiki/VSCodium
  20. ## Installs vscodium with extensions from [vscode marketplace](https://marketplace.visualstudio.com/VSCode)
  21. (vscode-with-extensions.override
  22. {
  23. # Override vscode package install with vscodium.
  24. vscode = vscodium;
  25. vscodeExtensions = with vscode-extensions;
  26. [
  27. dracula-theme.theme-dracula
  28. jnoortheen.nix-ide
  29. ms-python.python
  30.  
  31. ## Enables Rust VSCodium integration
  32. rust-lang.rust-analyzer
  33.  
  34. # ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace
  35. # [
  36. # {
  37. # name = "remote-ssh-edit";
  38. # publisher = "ms-vscode-remote";
  39. # version = "0.47.2";
  40. # sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
  41. # }
  42. ];
  43. }
  44. )
  45. ];
  46. };
  47. };
Tags: nix
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement