Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- users =
- {
- # Disable password auth for root user.
- # https://discourse.nixos.org/t/how-to-disable-root-user-account-in-configuration-nix/13235
- root.hashedPassword = "!";
- # Define a user account. Don't forget to set a password with ‘passwd’.
- # sudo useradd -m kopemon
- # sudo passwd kopemon
- username =
- {
- hashedPassword = "&%V**TKeyboardsmash/Oqtvgli";
- isNormalUser = true;
- description = "username";
- extraGroups = ["wheel" "storage" "networkmanager" "kvm" "libvirtd"];
- packages = with pkgs;
- [
- ## https://nixos.wiki/wiki/VSCodium
- ## Installs vscodium with extensions from [vscode marketplace](https://marketplace.visualstudio.com/VSCode)
- (vscode-with-extensions.override
- {
- # Override vscode package install with vscodium.
- vscode = vscodium;
- vscodeExtensions = with vscode-extensions;
- [
- dracula-theme.theme-dracula
- jnoortheen.nix-ide
- ms-python.python
- ## Enables Rust VSCodium integration
- rust-lang.rust-analyzer
- # ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace
- # [
- # {
- # name = "remote-ssh-edit";
- # publisher = "ms-vscode-remote";
- # version = "0.47.2";
- # sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
- # }
- ];
- }
- )
- ];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement