Комментарии:
the goat
Ответитьthis caught me up for a while, accidentally leaving 'pkgs.<item>' on the item... (I liked seeing the word pkgs... lol)
# autocomplete DOESNT WORK HERE
environment.systemPackages = [
pkgs.home-manager
pkgs.cowsay
]
but switching to
environment.systemPackages = with pkgs; [
home-manager
cowsay
]
works.....
You hit 20k subs, congrats🎉
ОтветитьStill waiting for nixd to give autocomplete and descriptions for builtins.... currently I use nixd only, but then I end up needing to do some actual logic and then suddenly I REALLY miss the docs for the builtins and start nil lsp manually....
nixd is amazing and has gotten a TON better. But yeah I would like complete/docs for builtins, and grabbing the comments for the lib function as hover docs would be really nice as well.
nvf
ОтветитьI'd love to see a video on how to set up deploy-rs
ОтветитьDoing a quick search in the comments, I didn't see any mention of helix (another modal TUI editor akin to neovim).
The current unstable version in nixpkgs has nil support built-in (just make sure that nil is installed), and the helix flake includes nixd integration as well.
If you don't want to use the flake and you use home manager, you can still connect nixd to helix using the languages config (copying the nixd section in helix's github repo's languages config is a nice place to start).
I really appreciate the video, just the first 4 mins already helped my vscode setup a lot, but I have a question.
Would this be correct if my configuration.nix and home.nix files are both stored in /etc/nixos and if my host name is nix-host?
"options": {
"nixos": {
"expr": "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.nix-host.options"
},
"home_manager": {
"expr": "(builtins.getFlake \"/etc/nixos\").homeConfigurations.nix-host.options"
},
},
Or should I have (builtins.getFlake \"/etc/nixos/flake.nix\") and (builtins.getFlake \"/etc/nixos/home.nix\")?
Thanks again for the great work you really helped us all with this guide plus all your other amazing and helpful work. Are you planning on making a video going over utilizing everything you've done so far to make a homelab setup? So implementing a VPN (wireguard maybe), jellyfin, secured remote connection, special editors, firefox, maybe flakes, maybe nextcloud, automated backups and automated updates, using sops too, etc?
ОтветитьOh my, of course most of us rolled our own over time. Me for instance using nil-ls. But now trying a newer nixd than I first encountered. Being so grateful again 🤓
ОтветитьWhat is the colour bars on your neovim?
ОтветитьThanks for the video, works great for me.
One thing i wonder: nixd autocompletes all options (NixOS/Home-Manager/Custom) in any nix module.
So in my Home-Manager modules, it will suggest NixOS options and vice-versa.
I guess there is no way for nixd to figure out if a certain module is used either by Home-Manager or NixOS?
No nixvim? So much non nix raw code going one here.
ОтветитьAwesome video, finally my VS Code setup can be useful for writing NixOS config. Thank you.
ОтветитьOn your github, the formatting is under
nix.serverSettings: {nixd: {formatting}}
Why is this different to the video?
the journalistic integrity is crazy, bro shows how to install on the emacs when he clearly is a vim lover, brings a tear to my eye 😢
ОтветитьDoes nixd work for nixvim expressions?
ОтветитьWorks like a charm. Thank you!
ОтветитьHow would i setup the nixpkgs and options using Nixvim? I figured out how to use conform to setup nixd and the formatter using Nixvim but not sure how to configure the other options.
Ответитьnixfmt for me, can't handle the let being treated like a curly brace and I hate the pre-commas lol
ОтветитьOkay this is pretty sick. But how about options for a home manager setup embedded in a NixOS configuration?
ОтветитьYeah, when I have to record a 3 min loom for work, it takes me 30 mins, I hate it. Luckily, I only have to do it a couple times a year and there are almost no expectations.
But your videos are so good, i easily believe that voice-over alone takes that much time.
Hell, my comment about character thing you might remember, i was sitting there at night composing it for 40 minutes. Things you do for public are hard, man
Huh, I didn't think good nix lsps existed. I only knew about rnix-lsp which is deprecated (if i remember correctly).
Thank you so much!
Thank you for this - small note to everyone, it may take a VS Code restart before the nixd LSP is recognized after installation.
ОтветитьAs someone new to learning nix and that’s been just hammering away in neovim this will be immensely useful! Thank you!
One question I’m still unsure of; if you’re adding nixd as a package in home manager, then how would you get home manager to set those options in settings.json that you mentioned? Or will you always have to go and manually specify them afterwards?
Hey i really enjoy your videos, I started my nixos journey (switching from arch btw😉) from your videos and it has been great.I would really appreciate if you could make a video on how to setup distrobox and docker on nixos
ОтветитьNever heard of nixd. nills has been good but this seems even better, will have to give it a try.
ОтветитьWas surprised to learn that nixpkgs-fmt repo was archived 3 months ago. I still use it everywhere.
ОтветитьThanks I will try it out right away! I've been using NixOS for a while now but without any LSP, which really annoyed me
ОтветитьGo to definition did not seem to work correctly for nixd. I am probably going to continue using nil-ls for the time being until that is fixed.
ОтветитьOk, this is epic. It makes writing nix soooo much easier. Thank you! ❤
ОтветитьThe newer official nixokgs formatter is `nixfmt-rfc-style` and is already enforced by nixpkgs CI (not a fan of it tho, as it makes increase file vertically a lot)
Ответитьalejandra + nixd just awesome
ОтветитьI don’t understand nix ricing I feel as if there is enough configuration just for terminal.
Ответитьhow to set the "tabulation" to 4 spaces ?
ОтветитьYour nix videos have made my nix journey so much easier and faster. Thank you.
ОтветитьFor me every option except nix.serverPath and nix.enableLanguageServer is greyed out
ОтветитьI struggled to get the option completion working with nixd. These instructions made it very straightforward. Thanks!
Ответитьтудоо тудоо тудоо тудо тудо
ОтветитьI miss the animated vimjoyer from last video.
How great this video comes right when I'm configuring my nixvim in a flake, have configured most of it, just have to configure LSP and integrate the flake in my flake.nix.
Amazing video! Instantly switched to nixd haha
ОтветитьI'm edging to your videos
ОтветитьNice video my guy
ОтветитьI think we can all agree that the nixpkgs-fmt style is 🤢:). And omg!! I had no idea the nix tooling has gotten so good. Excited to try this soon. This will make programming nix loads easier. 💗
I also am loving the new video animations and graphics. They look very nice.
I'll be re-switching to nixd apparently. I did find nil_ls a bit lackluster, perhaps because of the lack of configuring it.
Ответить👍
Ответить