hexa, to NixOS
@hexa@chaos.social avatar

#NixOS 24.05 branch-off happened. Snuck in a small reformat of the python packages at the last minute.

https://github.com/NixOS/nixpkgs/pull/313628

Currently, evaluations are running, nixos-24.05-small has already completed eval and is building.

https://hydra.nixos.org/jobset/nixos/release-24.05-small

It will be mostly cached from nixos-unstable-small anyway, so its channel should be available within the next two hours.

hexa,
@hexa@chaos.social avatar

@sandro The churn of individual commits doing reformatting of single packages frankly pisses me off. It consumes too much bandwidth and I wanted that to end.

There is never a good time to do it, but this was the best time to do it.

I have no regret for making this choice.

sandro,
@sandro@c3d2.social avatar

@hexa We should have waited another 6 months. There are still glaring issues around lib.optional/s wild formatting.

leftpaddotpy, to NixOS
@leftpaddotpy@hachyderm.io avatar

Wrote a post on how to do reasonable pinning for non-flake configs using a simple shell script, npins, and nixos-rebuild. I also talk about how tools like nixos-rebuild and nix-channel are skeletons in our closet that we need to actually replace and deprecate as a community, to bring people up to modern practices.

https://jade.fyi/blog/pinning-nixos-with-npins/

#nix #nixos

leftpaddotpy,
@leftpaddotpy@hachyderm.io avatar

@whitequark ok, sure, but that could also be done in a far more scrutible way by a CI job that updates the file and then the machine auto pulls its config or so.

whitequark,
@whitequark@mastodon.social avatar

@leftpaddotpy this is true but the reason I use Nix is because it enables me to maintain more infrastructure with less work

so adding more work on top of that (the GHA treadmill or its equivalent for another platform) is just not appealing?

it's not like I would ever really want to roll out an old commit

danielsiepmann, (edited ) to NixOS

Any Idea why I'm unable to update due to "No space left on device" even if there are 23G available?

Edit: The issue was caused by number of inodes.

this path will be fetched (458.58 MiB download, 464.67 MiB unpacked):
  /nix/store/4mc1wf8b6jad08wlfqaw6zvv7007d51d-linux-firmware-20240513-zstd
copying path '/nix/store/4mc1wf8b6jad08wlfqaw6zvv7007d51d-linux-firmware-20240513-zstd' from 'https://cache.nixos.org'...
building '/nix/store/l4drcr95rzznb9n18rl95cjhzrvwi96q-system-path.drv'...
error: mkdir /nix/store/swcchba29bqmm9mjfgs7flsmhw1fw4wg-system-path//share/locale/az: No space left on device at /nix/store/x65ah6kl9sqjwp4pqm0fn9kb20bc0974-builder.pl line 267.
error: builder for '/nix/store/l4drcr95rzznb9n18rl95cjhzrvwi96q-system-path.drv' failed with exit code 28
error: 1 dependencies of derivation '/nix/store/6zlwarcc34qv5h2rfq2pj83h7zzcimm8-nixos-system-hikari-24.05pre628669.6c0b7a92c301.drv' failed to build

nixpkgs > df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        395M     0  395M   0% /dev
tmpfs           3.9G   16K  3.9G   1% /dev/shm
tmpfs           2.0G  4.3M  2.0G   1% /run
tmpfs           3.9G  1.1M  3.9G   1% /run/wrappers
/dev/dm-0       102G   74G   23G  77% /
/dev/sda1       511M  200M  312M  40% /boot/efi
tmpfs           789M   44K  789M   1% /run/user/1000
pbsds,
@pbsds@snabelen.no avatar

@danielsiepmann If not the inodes, you might want to clear out /tmp or even look at your boot partition. https://discourse.nixos.org/t/what-to-do-with-a-full-boot-partition/2049/11

danielsiepmann,

@pbsds It actually was inodes. But thanks for your suggestion :)

jonoabroad, to NixOS

Help your elderly idiot folks, how can I find the device file for one of my network cards?

Either I have this podman option reversed or everything hates me.

🤷‍♂️

spmatich,
@spmatich@ioc.exchange avatar

@jonoabroad

ifconfig -a

should show the host interfaces, although you might need to use

nmcli con show

Depending on your variant. Containers will usually use a bridge interface

jonoabroad,

@spmatich yeah I am unsure if it is Nix, podman, some combination or 🤷‍♂️

I think it's working, but also, 😬

tuxedocomputers, to Youtube German
@tuxedocomputers@linuxrocks.online avatar
raito, to NixOS
@raito@nixos.paris avatar

I have been working on something, which is not totally ready.

Most of the deployment tools in the #NixOS ecosystem are tailored to... NixOS. NixOS can run in a bunch of places, but not easily on 256MB RAM devices and 32MB disk.

For that, you have plenty of options, one of them is #Liminix (https://www.liminix.org/).

Liminix is currently tailored to OpenWRT-class APs/routers and I worked on bringing support for the Zyxel NWA50AX (https://openwrt.org/inbox/toh/zyxel/nwa50ax). 1/???

doomy, to NixOS
@doomy@mastodon.social avatar

anyone have a good resource for converting a binary to a service? I think i got pretty far with @readeck https://readeck.org/en/docs/deploy but i have no clue how to handle the /etc/ files it claims it needs and keep getting vague 203 errors.

sandro,
@sandro@c3d2.social avatar

@doomy @readeck I usually find a similar service and copy paste from that.

You place files in etc with environment.etc and then you bailsically construct the systemd service and maybe enable a few other bits it needs.

passthejoe, to guix
@passthejoe@ruby.social avatar

I'm as intrigued by as I was by , but ultimately I'm not sure the complexity is worth it for me.

Even has a ratio of complexity vs. benefits that fits well with my work (and play) flow.

, and all hide enough of the nitty gritty behind the scenes — updates happen without me needing to know it.

And traditional is so familiar and reliable, it's hard not to tap it for just about any use case.

foolishowl,
@foolishowl@social.coop avatar

@passthejoe I've tried using Guix a few times. It makes a lot of sense to me as a system you can spin up by specifying a few parameters in a deployment management script. It seems less suited for a personal desktop system that I'd work with daily.

monkey1,
@monkey1@fosstodon.org avatar

@passthejoe

Try on Debian as a package manager: this will let you figure out if the packages you need are there.

I really like the shell feature of Guix: you can very easily deploy virtual environments for any language/tool--think of Docker without any of the complexities.

davisrichard437, to NixOS
@davisrichard437@mastodon.social avatar

Okay I'll bite... which side should I be on for the #nixos drama?

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@davisrichard437 This post was an excellent lightning rod. Thank you for your service ;)

secana, to KDE
@secana@mastodon.social avatar

Wow, the upgrade from #plasma #kde 5 to 6 on #nixos was smooth. Changed one line in the config and it works perfectly fine. Great experience.

sandro,
@sandro@c3d2.social avatar

@secana It works very well unless you have custom theming which all falls apart because of the major qt upgrade.

jakehamilton, to NixOS
@jakehamilton@hachyderm.io avatar

The latest issue of is out!

https://nixpkgs.news/

If you enjoy the weekly recaps and would like to support me continuing them (as well as getting some perks), you can now subscribe on Patreon!

https://www.patreon.com/jakehamilton

Qyriad, to NixOS
@Qyriad@chaos.social avatar

instead of talking so much about what flakes are for, maybe we should talk more about what they do, because it's actually very little. flakes DO the following:

  • manage a single, top-level lockfile
  • force a specific entry point for a Nix expression
  • change the CLI syntax you use
  • turn on "pure eval" mode by default
  • make you git track your files (for git repo flakes)

those are the actual things that flakes effect to Nix code

yvan, to random
@yvan@functional.cafe avatar

I decided to apply to the #Nix / #NixOS Constitutional Assembly (https://discourse.nixos.org/t/nix-constitutional-assembly-applications-open/45186), you can find my draft application here (https://cryptpad.fr/code/#/2/code/view/cWXOmBcugeXlh7vIbU01DSMimL1sS0bb6PJKINslSHU/embed/present/). Feedbacks are welcomed, feel also free to ping me if you want to be added to the list of vouchers :) or want the link to the unredacted version of the document!

yvan,
@yvan@functional.cafe avatar

You can find the applications already received by the Nix Foundation here
https://nixpkgs.zulipchat.com/#narrow/stream/436732-Constitutional-assembly-applications I plan to send mine later today ^^

yvan,
@yvan@functional.cafe avatar
chrism, to NixOS
@chrism@chattingdarkly.org avatar
yisraeldov,
@yisraeldov@linuxrocks.online avatar

@chrism

"there is no moral difference taking money from Anduril or from Microsoft. Microsoft has had multi-billion dollar Pentagon and other agency contracts for many years now, and the things they produce are used wherever the U.S. Government wants to use them, including as tools for war and border control."

100% this. is so embedded in that it is hard to take any complaints about other partners or sponsors seriously.

sandro,
@sandro@c3d2.social avatar

@yisraeldov @chrism NixOS is not deeply embedded into GitHub. Many CI checks are just executing shell code in the end which can be early run locally and be adopted and everything specific to GitHub would need to find a replacement, like the labeler.

The main problem is scalability. Running your own infrastructure on that level of size, complexity and availability is a major undertaking and eg. Gitea couldn't even handle the amount of forks.

governa, to NixOS
@governa@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • megavids
  • InstantRegret
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines