hisusqristos / nix-config

reviews are welcome
0 stars 0 forks source link

install vscode roseate theme #5

Closed hisusqristos closed 1 year ago

hisusqristos commented 1 year ago

my vinishko Roseate themed editor used to be the one and only joy source in my daily experience and now the absenece of it makes me feel empty

hisusqristos commented 1 year ago

30/05/23 :

m? : meh why : it says vscode isnt free -> i need to allow unfree packages, tho they are allowed u asenq vscodey ira unfree halov qashaca, petqa jogem xi a extensionneri vra lrvum. any links? :

antaranyan commented 1 year ago

pokrik spravochka VSCode-i unfree halov qashelu masin - https://nixos.wiki/wiki/FAQ/How_can_I_install_a_proprietary_or_unfree_package%3F

hisusqristos commented 1 year ago

Yes, thanks.

31/05/23:

lets be honest for once. i do not fully understand home manager yet, therefore i went back to where i started. yes, official nix documentation ab vscode. it turns out you need vscode-with-extensions package to maintain exts, but apparently i've skipped that part due to my not-reading-it-all issue.

first of all, the nix-formatter extension was built with success. you dont need to fetch it with hashes and stuff (tho you can), so everything went well. but when it gets to roseate.. roseate needed to be fetched manually via its name, publisher, version and sha265 (hash). i did not know where to get those hashes. my adorable russian boys from nixos gc said when you leave the hash property blank, then build, the build fails and your error message hints you the hash.

Если это нужно для фетчера никса - оставь пустую строку - выпадет ошибка с нужным хешем

like this

{
  name = "endorfina";
  publisher = "roseate";
  version = "0.3.0";
  sha256 = "";
}

but instead of the hash i got an error which (maybe) means that there is no vsix (?? tf this means). And my slavic folks (mer xopani hayrenakicnery ^^) shared their repository (or as they say, репка) about vscode extensions.

m? : productive day, but meh why : because there is no vsix (?) and i neither understand the meaning of it nor the solution any links? : yes, sir!

hisusqristos commented 1 year ago

this amazing performance for my cute russians. ի կատար ածել! ☆ ~('▽^人) https://youtu.be/f9hN5a8Dc9Y

hisusqristos commented 1 year ago

byaaaaaaa :Ddd in my unusual excited tone

trying https://emilia-majewska.gallery.vsassets.io/_apis/public/gallery/publisher/emilia-majewska/extension/endorfina.roseate/0.3.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage

curl: (22) The requested URL returned error: 400

you see? it was requesting a wrong url because i fucking failed to not mistake name for publisher and publisher for name. when i got it, everything went well, i got the awaited error that would give the correct hash. this is what it looks like

error: hash mismatch in fixed-output derivation '/nix/store/mxxsa4pl5xkxkk3p8sg8bn8mipkjh9p9-endorfina-roseate.zip.drv':
         specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
            got:    sha256-RebMJXfY8hyh1+FgMpkMfsxKUSSgEtd0ZsL7pzxVUMg=

which was copied and put in its place like this

{
            name = "roseate";
            publisher = "endorfina";
            version = "0.3.0";
            sha256 = "sha256-RebMJXfY8hyh1+FgMpkMfsxKUSSgEtd0ZsL7pzxVUMg=";
          }

and guess what :D this gorgeous genius girl built another thing huh))

hisusqristos commented 1 year ago
image image

so happy, so so happy (≧▽≦)o.。.:*☆

antaranyan commented 1 year ago

My heart celebrates. Work as wonderful as the outcome itself, wonderfulutyamb zijelov miayn varpetin.