home.social

#nixflakes — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nixflakes, aggregated by home.social.

fetched live
  1. @justdude

    I found the reason, it's because of this:
    github.com/NixOS/flake-registr

    Looks like it's available for every nix flake users officially and one can implicitly turn it off by configuring the registry options I guess.

    But it's suggested to add inputs explicitly, since u might change ur registry later in ur configs in future.

    Unexpected learning🤝
    Thanks for pointing out this
    @justdude

    I didn't even notice. LoL.
    #nix #flake #flakes #nixflakes #nixregistry #nixconfig #config

  2. "We're all about those flakes, 'bout those flakes, no channels."

    Want to know why? Join our next webinar on Sept 16th, all about #Nix flakes! What they are, why we love them, and how to use them effectively. More info and registration here: luma.com/995nq98k

    Hope to see you there! #nixos #nixflakes

  3. "We're all about those flakes, 'bout those flakes, no channels."

    Want to know why? Join our next webinar on Sept 16th, all about #Nix flakes! What they are, why we love them, and how to use them effectively. More info and registration here: luma.com/995nq98k

    Hope to see you there! #nixos #nixflakes

  4. Find why your devShell, package, etc depends on something interactively!

    `nix-tree --derivation .#devShells.x86_64-linux.default`

    github.com/utdemir/nix-tree

    #Nix #NixFlakes #NixOS

  5. Find why your devShell, package, etc depends on something interactively!

    `nix-tree --derivation .#devShells.x86_64-linux.default`

    github.com/utdemir/nix-tree

    #Nix #NixFlakes #NixOS

  6. Today at 2pm Pacific, Nix creator and Determinate Co-Founder Eelco Dolstra is presenting on Configurable Flakes at Planet Nix! Come watch in person (room 101) or watch the live stream from anywhere in the world: youtube.com/watch?v=yhfDtRRTmY

    #Nix #PlanetNix #NixOS #SCALE #NixFlakes

  7. Today at 2pm Pacific, Nix creator and Determinate Co-Founder Eelco Dolstra is presenting on Configurable Flakes at Planet Nix! Come watch in person (room 101) or watch the live stream from anywhere in the world: youtube.com/watch?v=yhfDtRRTmY

    #Nix #PlanetNix #NixOS #SCALE #NixFlakes

  8. Man, make normal things unnecessarily hard:

    - git submodules
    - tracked files
    - files from a git smudge filter in general
    - always this stupid architecture you have to carry around (x86_64-linux et al.)
    - more stuff to remember (ah, it's `legacyPackages` now, alright...)

    The pinning and lockfile is cool. So is the composability. But it still feels like too many restrictions that are just not there in normal base nix...

  9. Man, #nixFlakes make normal things unnecessarily hard:

    - git submodules
    - #gitAnnex tracked files
    - files from a git smudge filter in general
    - always this stupid architecture you have to carry around (x86_64-linux et al.)
    - more stuff to remember (ah, it's `legacyPackages` now, alright...)

    The pinning and lockfile is cool. So is the composability. But it still feels like too many restrictions that are just not there in normal base nix...

    #nix #nixos

  10. I gave ❄️ another shot for my laptop :nixos: config. Indeed, if you keep your repo nice and *dirty*, it will eat :gitannex: files tracked with - otherwise it wont, a huge blocker for me. So with this I can hop onto the flakes train - which begins to feel like a hard requirement in near future to get things done with NixOS. Everything is just flakes, meh...

  11. I gave ❄️ #nixFlakes another shot for my laptop :nixos: #NixOS config. Indeed, if you keep your repo nice and *dirty*, it will eat :gitannex: files tracked with #gitAnnex - otherwise it wont, a huge blocker for me. So with this I can hop onto the flakes train - which begins to feel like a hard requirement in near future to get things done with NixOS. Everything is just flakes, meh...

    #nix #nixos

  12. Give a man a flake, busy him for a day. Teach a man to nix, frustrate them for a lifetime.

    #Nix #NixLang #NixFlakes #NixOS #NixPkgs

  13. Give a man a flake, busy him for a day. Teach a man to nix, frustrate them for a lifetime.

    #Nix #NixLang #NixFlakes #NixOS #NixPkgs

  14. I just finished building a reproducible environment for my #BitRitter app via #NixFlakes. This way, it should be easier to ove things into #NixPkgs when i am ready, since all dependencies and build instructions are already there.
    I need to clean up a bit, but i am happy with the first results.

    Next to #AlpineLinux or rather #PostmarketOS, #NixOS (Mobile) will be the second target for my use case.

    #Nix

  15. I just finished building a reproducible environment for my #BitRitter app via #NixFlakes. This way, it should be easier to ove things into #NixPkgs when i am ready, since all dependencies and build instructions are already there.
    I need to clean up a bit, but i am happy with the first results.

    Next to #AlpineLinux or rather #PostmarketOS, #NixOS (Mobile) will be the second target for my use case.

    #Nix

  16. I have no idea what I fucked up, but it seems that somewhere in the last 4 commits I made it so that my computer is now stuck on the #Plymouth splash screen and #GDM is not showing up. Quiting plymouth allows me to reach a tty.

    Any #NixOS pros here willing to help a poor soul out, please?

    github.com/filipdutescu/yggdra

    #Nix #NixFlake #NixFlakes #Flake #Flakes #Disko #Linux #GNOME

  17. I have no idea what I fucked up, but it seems that somewhere in the last 4 commits I made it so that my computer is now stuck on the #Plymouth splash screen and #GDM is not showing up. Quiting plymouth allows me to reach a tty.

    Any #NixOS pros here willing to help a poor soul out, please?

    github.com/filipdutescu/yggdra

    #Nix #NixFlake #NixFlakes #Flake #Flakes #Disko #Linux #GNOME

  18. So... Is there no "NixOS-er" way to setup bridge networking with #libvirtd, but for the one from the wiki?

    I could really use a #Nix way to setting that up instead of doing the whole write my own bridge network config and running commands manually 😅

    #NixOS #NixFlake #NixFlakes #libvirt

  19. So... Is there no "NixOS-er" way to setup bridge networking with #libvirtd, but for the one from the wiki?

    I could really use a #Nix way to setting that up instead of doing the whole write my own bridge network config and running commands manually 😅

    #NixOS #NixFlake #NixFlakes #libvirt

  20. ℹ️ Hello nix lovers, we have automated our mastodon server even further now, with automated daily updates and deployments of nix flake lock file updates.

    ▶️ Pinned to channel 23.11
    ▶️ Renovate[bot] updates nix flake deps on a daily basis
    ▶️ Auto-merge of nix flake lock file updates (if tests are ✅)
    ▶️ Automated deployment of main branch using a custom github-action

    Your feedback is welcome, I'm sure we still have a lot to improve 📈

    github.com/bzh-social/bzh-syst

    #nix #NixOS #nixflakes #FediAdmin

  21. ℹ️ Hello nix lovers, we have automated our mastodon server even further now, with automated daily updates and deployments of nix flake lock file updates.

    ▶️ Pinned to channel 23.11
    ▶️ Renovate[bot] updates nix flake deps on a daily basis
    ▶️ Auto-merge of nix flake lock file updates (if tests are ✅)
    ▶️ Automated deployment of main branch using a custom github-action

    Your feedback is welcome, I'm sure we still have a lot to improve 📈

    github.com/bzh-social/bzh-syst

    #nix #NixOS #nixflakes #FediAdmin

  22. Ngl, as much as I love #Nix, #NixOs and #NixFlakes, I find debugging flake errors absolutely horrendous… traces only show internals, not my flake, error messages are veeery generic and usually contain a low amount of details as well

  23. Ngl, as much as I love #Nix, #NixOs and #NixFlakes, I find debugging flake errors absolutely horrendous… traces only show internals, not my flake, error messages are veeery generic and usually contain a low amount of details as well

  24. It's only a major update if it's been 18 years since the first development otherwise it's just sparkling new software.

    (Totally not speaking of #nixflakes )

  25. It's only a major update if it's been 18 years since the first development otherwise it's just sparkling new software.

    (Totally not speaking of #nixflakes )

  26. Any #NixOS aficionados that know how to pass config to a module which uses custom inputs? I was hoping for something better than defining an imports on it.

    #Nix #NixFlake #Flake #NixFlakes #Flakes

  27. Is there any convention/standard on how to document via comments #Nix functions? Wrote a couple of utils for my #flake which setups my environment and not sure what the best approach would be.

    #NixOS #NixFlake #NixFlakes #Flakes

  28. NixOS seems to be pretty *close* to being awesome, but then it trips itself up spectacularly.

    Poor documentation is a huge issue. There's plenty to read, but they're either outdated or just plain wrong in a *lot* of cases

    Combine that with the hassle of figuring out configuration.nix vs. flake.nix, or where the Home Manager line is, and the whole thing makes getting a simple Elixir/Postgres environment up and running shamefully difficult.

    #NixOS #Nix #NixFlakes

  29. #nix #nixflakes does anyone have experience with building a gtk app made in c using flakes?I am trying to figure out what changes to make to my normal c flake but I can't seem to figure it out

  30. #nix #nixflakes does anyone have experience with building a gtk app made in c using flakes?I am trying to figure out what changes to make to my normal c flake but I can't seem to figure it out

  31. Getting access to the Nix User Repository in configuration.nix feels awkward because using it seems to require changes to config.nix in my user home. Maybe it’s the right time to move to flakes. With flakes the NUR is explcitly declared as an input.
    #nixos #nixuserrepository #nixflakes #reproducibility

  32. Getting access to the Nix User Repository in configuration.nix feels awkward because using it seems to require changes to config.nix in my user home. Maybe it’s the right time to move to flakes. With flakes the NUR is explcitly declared as an input.
    #nixos #nixuserrepository #nixflakes #reproducibility

  33. CW: NixOS flake config problems

    #nixos #nixflakes anyone know what can cause this errer?
    error: attribute 'currentSystem' missing

  34. CW: NixOS flake config problems

    #nixos #nixflakes anyone know what can cause this errer?
    error: attribute 'currentSystem' missing

  35. Anyone got any good #NixOS resources for setting up #Minikube with #Podman or #KVM in a #Nix shell?

    Or at least any good #NixFlake guide on setting up #QEMU and #KVM?

    #NixShell #NixFlakes #Kubernetes #K8S

  36. Anyone got any good #NixOS resources for setting up #Minikube with #Podman or #KVM in a #Nix shell?

    Or at least any good #NixFlake guide on setting up #QEMU and #KVM?

    #NixShell #NixFlakes #Kubernetes #K8S

  37. @yisraeldov as someone new to #NixFlakes (and #Nix, #NixOS), my way of understanding the benefits of flakes - hope it helps - is the following:

    • a mechanism of ensuring complete reproductible env, since you pin versions and "condition" generations to commits in the flake repo
    • a way to reuse build, installation and configuration of software, through linking the associated flake(s) in the flake inputs - this also allows devs to easily package for Nix and distribute the software as they want it to be shipped
    • make configuring NixOS feel like any software project, by encouraging modularity and allowing the dev to split, mix and match as they please
  38. Can someone explain to me the advantage of using #nixflakes for #nixos or homemanger config? I understood that it was just a way of pinning requirements.

  39. I guess i am too stupid (read: unexperienced) to get #anyrun running in my #NixOS #NixFlakes. The #HomeManager description in the readme confuses me where to put it in my config.
    github.com/Kirottu/anyrun

  40. Wow, I am beyond words. The feeling you get when installing a fresh version of a distro to test on using an external drive, just to have it somehow wipe your GRUB and corrupt the #NixOS partition that you hadn't yet backed up newest configs...it's almost indescribable 😭😭😭🖕

    Now I have to work on my project AND rebuild the beautiful Nix setup I had from somewhat recent config backups...thank God #nixflakes makes it that much easier! 🤗😑 :nixos: :arch:

  41. Another weekend wasted fighting with #nixflakes + #haskell. Things that worked months ago are now inexplicably broken. I just can't justify this level of pain. It needs to be as simple, speedy and sensible as `stack new ...` to get started. #nix