Masthash

#NixOS

i've been thinking of moving my package management tools for development using #nix or even switching to #nixos altogether in the future.

maybe i should next year. i still wonder if it's a good idea to mix #nix pkg manager in a non declarative system like #opensuse

Trouble
4 hours ago

So is #nixos one of those things that seems inscrutable until you try it and then it makes sense or does it mostly just stay kinda bullshit?

Abhiram
7 hours ago

I'm a little curious, what's the best way to set up a #rust development environment on #nixos?

Alper Çelik
9 hours ago

I personally use #tmpfs as root file system and my home folder is on #btrfs using zstd compression.

Note: in #nixos you can boot using only /boot and /nix this is how i run tmpfs as rootfs

The Linux Cast :opensuse:
9 hours ago

To prove that I'm still going strong on #opensuse despite my #nixos adventures, here is my #2YearLinuxChallenge check in.

opensuse screenshot. purple mountaint wallpaper with neofetch in kitty terminal

#nixos does anyone know if there's a way disable the touchscreen declarative? my touchscreen is bugging out because my screen is cracked :blobfoxannoyed:​

Sr. Estegosaurio 🦕
10 hours ago

Inmutable distros > normal distros.

Seriously, installing user packages in the system is a very bad idea. :/

#linux #nixos

Ariel Richtman
18 hours ago

Damn, an entirely virtualized, HA deployment of #Kubernetes on #NixOS ... impressive

https://github.com/justinas/nixos-ha-kubernetes

#Nix #k8s #CloudNative #PlatformEngineering

Jeezy
21 hours ago

@yuvipanda Still on a Hetzner dedicated auction box

Way easier since I ditched the hacky Docker setups and moved everything to #NixOS!

ralen
1 day ago

#nixos is so much overcomplicated. tried to disable GHz boost. wasted 1.5 hours. this config file is the hardest piece of code to learn. no tips in internet, no help from errors. the easiest way to learn how to do a thing is ask in their discord. maybe i should just pay some guy to write this file for me lmao. and they have these flakes and home managers that makes configuration so much harder than on other #linux distros. yes, it's stable and reliable if written well. but really hard to write.

Tern
1 day ago

Should I give up on running #i3 on #nixos ? Overall I'm enjoying the experience and it hasn't thrown up and major problems, but I have a load of storage and a decent computer, so I'm considering hopping to a major DE just for the sake of it being easier. I'm torn because I've set quite a lot of stuff up and sunk a decent period of time into it, but having a full DE just makes so many things so much easier.

Jonatan Steuernagel
1 day ago

I managed to install Steam, SteamVR, VRChat and ALVR on #nixOS and to my surprise, it just straight up worked.
Not yet perfect, I have not yet configured audio and it seems a little stuttery, but I would have been happy getting any video output at all, I did not expect it to be straight up usable :blobcat_eyes:

SteamVR Beta didn’t work, seems like an incompatibility with the ALVR driver.

Let’s see how close I can get this experience to the Windows one.

Jeezy
1 day ago

As promised, here is the full video walkthrough of my "sane, batteries included" NixOS on WSL starter template!

You can fork the template repository and try this out for yourself today! The whole process should take you around 5-10 minutes

This is my first real #NixOS video - depending on the feedback I'm open to making more :)

https://www.youtube.com/watch?v=UmRXXYxq8k4

#nix #nixos #windows #wsl #linux

Somebody wanted a freshed job in #it to me and i asked him to boot #nixos on his machine
am i a monster? :neofox_astronaut_gun:

laalsaas
1 day ago

@elilla I'm not sure if I understand correctly what you're saying. Are you claiming #NixOS has best compatibility with multi-user Desktops? NixOS does make it easy to share parts of system config (like which users exist) between machines, but managing user config is almost completely out of scope.
Some things are possible (like managing user programs or user systemd units), but classic "user configuration management" as in dotfiles are not included. (1/)

2 days ago

@freestyle not sure which site would accept such "joke" #speedrun "games"

looks like a challenge #nixos can easily beat. i guess someone would get a time under 10 minutes after few tries

i want to do linux install speedruns and had done some tests with nixos, but did not work on it further

i would like to get feedback from experienced speedrunners on the rules

https://pad.nixnet.services/XKa0N3j3TUaCKBAsjPnHEg

a Mastodon% category could be added if you would like to include the operating system install

Ariel Richtman
2 days ago

Planning now, I already have the cluster machines but not the N100 or backup storage

I'm thinking the control node can offer NFS-backed storage for k8s PVCs. That way I don't have to count on which node is up to do compute and can scale the cluster's node group to zero overnight

#k8s #Kubernetes #SelfHosting #SelfHosted #HomeLab #Networking #N100 #N200 #NixOS

a network diagram for a home network. this would be really long to explain, sorry
John Goerzen
2 days ago

@publicvoit I found your article at https://karl-voit.at/2023/09/12/nix/ on the strengths and weaknesses of #NixOS (and your comments about #guix) and comparison to #Ubuntu and #Debian. Very informative and helpful. Thanks!

Sisu Aika
2 days ago

Joking aside #NixOS is really neat. I started with a blank install and adding things one at a time for learning purposes. Crazy how a couple comments and lines can completely alter your system, and quite cleanly too.

Sisu Aika
2 days ago

Now I'm on #NixOS... someone save me from myself. :BlobCat_Blush: #distrohopping

tsallinia :nixos: :plasma:
2 days ago

Let's all make sure we support the open source projects that we love and use ❤️

#nixos

Benedikt Ritter
2 days ago

This presentation by Eelco Dolstra helped me quite a bit in understanding #nixos #flakes https://youtu.be/UeBX7Ide5a0?si=Mtsk9uLymBq9PGop

Sven
2 days ago

@tsallinia is that a #nixOS specific limitation? Never had problems with updating running applications on Linux.

tsallinia :nixos: :plasma:
3 days ago

It's always a good idea to close all programs you are using before running switch --upgrade! I've learnt my lesson the hard way :-/

#nixos

Konrad Borowski
3 days ago

hello.

#nixOS package maintainer and a #rust developer. #autistic and #agender. #superMarioWorld ROM hacker. interested in history of #videoGames.

:heart_agender: :heart_nb:

#introduction #introductions #actuallyAutistic #romhacking #romhack

Christian Stankowic
3 days ago

@w4tsn @w4ts0n Hab zwar kein Ohrloch, hab aber echt kurz überlegt :D

#NixOS Kettenanhänger, wann? :D

Sr. Estegosaurio 🦕
3 days ago

Cloning #nixpkgs is quite something...

#nix #nixos

Sofi :verified_gay:
3 days ago

I am curious how you set up your own #NixOS and #Nix repositories!

Chaospott
3 days ago

Ab 19 Uhr sind unsere Türen zum #NixOS Stammtisch geöffnet. Kommt vorbei! #c3e

Jon Seager
3 days ago

For all you #adsb and #nixos geeks out there, I recently ported my "FlyPi" project to Nix/NixOS so you can get some ADSB goodness in native Nix modules.

Feedback welcome, of course!

https://github.com/jnsgruk/flypi

Now that I have migrated some of my hosts to #NixOS, I do have a bad feeling because of #Microsoft and most probably GitHub being hacked.

As mentioned on https://www.karl-voit.at/2023/09/12/nix/ the deep #GitHub dependency turns out to be a real downer for this OS.

#security #integrity

Jeezy
3 days ago

Has anyone actually been able to go back to another #Linux distro after using #NixOS as a daily driver? Just the thought of it seems impossible to me

Nix Pills | Nix & #NixOS

"Nix is able to compute all runtime dependencies automatically for us. This is not limited to only shared libraries, but also referenced executables, scripts, Python libraries etc..

This makes packages self-contained, ensuring (apart data and configuration) that copying the runtime closure on another machine is sufficient to run the program. That's what allows running programs without installation using nix-shell or reliable deployment in the cloud. Al"
https://nixos.org/guides/nix-pills/automatic-runtime-dependencies#:~:text=Nix%20is%20able,cloud.%20All

fwam
4 days ago
Christina Sørensen
4 days ago

In case you were wondering whether #nixos will be an inclusive project to contribute to... https://discourse.nixos.org/t/nix-community-survey-2023-discussion-about-gender-stats/33604/15

Shae Erisson
5 days ago

#nixos plus #emacs plus #direnv-mode #envrc-mode random tip:

You want this: (add-hook 'haskell-mode-hook #'lsp-deferred)

because lsp will start before direnv-mode or envrc-mode has a chance to update the $PATH to the lsp servers, and fail to start.

If you use lsp-deferred instead, lsp won't start until the buffer is visible, and lsp-mode will find the right language server.

Christina Sørensen
5 days ago

@civodul Guix is an amazing project, and a beacon of light for Free Software. I think #NixOS still has a lot to learn from #Guix approach to leadership. Having maintainers responsible for enforcing the Code of Conduct, and therefore responsible for the people as much as the code is something to envy.

Scott 🏴
6 days ago

I thought there was some way to declaratively define virtual machines on #NixOS but I don't see it....must've been thinking of containers I guess, but still that's disappointing

#virtualization #linux #vm #nix #containerization #docker

me·ta·phil, der
6 days ago

„oh i don't use arch anymore, btw. i'm on #nixos now.“ along the lines of it „is superior in all ways and so am I.“

haven't heard of this friend for months now. today he came back to let me know he's back on #archlinux for his fuckin' printer's sake. hehe.

w4tsn ~> :idle:
6 days ago

Süchtig? SÜCHTIG? Wer ICH? hahahahahahahhaha

#starwars #nixos @eichkat3r #jedi #rebelalliance #galacticempire #laserwear

Ein kleiner haufen aus Plexiglas geschnittene und gravierte Ohrringe. Die Motive sind der eichkat3er, Logos der Rebellen Allianz und des Imperiums, ein Logo des Jedi Ordens und das NixOS Logo
Sophie :nixos: :ferris:
6 days ago

I've opened a PR to nixpkgs now to hopefully fix this for everyone: https://github.com/NixOS/nixpkgs/pull/257513

#nixos #nodejs

flox
6 days ago

The #NixOS community just released a survey to help determine interest in hosting a NixCon in North America next year. If you're interested, take a few moments to share your thoughts.

https://survey.nixos.org/346552

thanks everyone! Almost 300 people replied to that, and we had 30 cloud users, 66 VM users and 204 bare metal users.

Most of them run #OpenBSD or #NixOS, I guess this is due to a bias of my followers network 😅 , I've also read about FreeBSD, Arch Linux, Debian, Ubuntu and Gentoo.

A surprising amount of #Proxmox and #FreeBSD bhyve users for virtualization on their bare metal machines.

Many people reported using rasbperry pi boards for hosting services.

I'm surprised that there is only one mention of Docker, but multiple mentions of both LXC and FreeBSD jails. You people rocks :flan_cool:

Yann Büchau :nixos:
6 days ago

@crawford On that note, was your solution different from putting this into your ~/.gnupg/gpg-agent.conf?

pinentry-program /run/current-system/sw/bin/pinentry-gtk-2

Hard-coding this breaks dotfiles syncing with non-#NixOS unfortunately...

Jacek Γαλοwιcζ
1 week ago

🌐 Explore the world of OpenStreetMap on NixOS! Learn how to set up your own OSM instance quickly and efficiently using NixOS. Dive into the details now: https://nixcademy.com/2023/09/26/nixos-openstreetmap/ #NixOS #OpenStreetMap #GIS

OpenStreetMap on Nixos
GNU/Linux.ch
1 week ago

Das NixOS & Flakes Buch

Du möchtest NixOS & Flakes im Detail kennenlernen? Du suchst ein einsteigerfreundliches Tutorial? Dann bist Du hier genau richtig!

#NixOS #Dokumentation #Flakes #Nix #Handbuch #Linux

https://gnulinux.ch/das-nixos-flakes-buch

KeyeoH
1 week ago

Incredible new episode from @brodriguesco on Nix and CI/CD. I agree with him on that it seems impossible that this kind of magic is not more widely known.

This is the way.

https://www.brodrigues.co/blog/2023-09-20-nix_for_r_part6/

#rstats #nix #nixos #reproducibility

crawford
1 week ago

My favorite thing about #nixos is that, EVEN FOR EXCEEDINGLY SIMPLE USE CASES, if I find an issue and fix it (for example, this "no pinentry" thing causing GPG headaches), I can add the needed program and config file to my nixos configuration and, boom, the problem is fixed next time I get a new computer. I simply don't have to remember things. (yes, I document my configs)

abmurrow🪤🦆
1 week ago

Over the weekend I forked a small repo of #NixOs wallpapers patterned with the NixOs logo and gave it a #Nordtheme spin.

Enjoy!

https://github.com/OulipianSummer/nixos-pattern-nord-wallpapers

one of the weirdest thing with 0 config #emacs on #nixos #lxqt
can't press backspace as root
maybe since my #xdg runtime dir isn't set there
maybe, works in $HOME
some days eh :D

Mathieu Fenniak
1 week ago

The second deployment of my RGB LED panel clock, in my office, is complete. Running a #RaspberryPi with #NixOS, and some custom software that shows the current air quality index, current temperature, upcoming calendar events, and short term weather forecast. Shares the space with some Lego nicely.

The software, although not well designed for general purpose reuse, is shared on github for the curious. https://github.com/mfenniak/pixelperfectpi

Photo of an office desk with three computer monitors. To the top right, a shelve with Star Wars Lego, and featuring a RGB LED matrix clock showing the current temperature and upcoming weather forecast.
Jae
1 week ago

after a while of now using #NixOS and simply feeling no desire to switch to anything else, i think i may be comfy here now... for now, lmao.

but yea! i really do love this distro and how stable it really is. just super nice.
💞

D. Moonfire
1 week ago

I thought I would kill some time and find a Nix way of importing Oliphant's block list into without preprocessing using another language.

A half hour later and I was in the middle of multiple nested builtins because I couldn't figure out how to 'nix eval' with the libs and where I needed it is so far down into that I couldn't eval the flake to debug.

I couldn't figure how to eval a node in the flake either.

( #NixOS #Nix )

Koen de Jonge - SynQ
1 week ago

I Posted a first serious question to the #NixOS #discourse forum. About running #mastodon servers ofcourse. #mastoadmin

Things are starting to get serious now.

https://discourse.nixos.org/t/how-to-deal-with-waiting-for-the-channel-in-production-environments/33378

Koen de Jonge - SynQ
1 week ago

@sophie the real takeaway here: #NixOS let’s you easily fix fundamentally broken software by working around its stupid design choices in a reproducible way.

And you should have started out with: I love #NixOS 😎

I feel your pain though. Hang in there.

Sophie :nixos: :ferris:
1 week ago

I *hate* #nodejs. Who in their right mind would compile a hard coded list of trusted root CAs into their software‽ Well, nodejs is who. See https://github.com/nodejs/node/issues/4175.
Of course there is the NODE_EXTRA_CA_CERTS env var which I can set to a path of additional root CAs to use. I'd have to do that for every process I need though. So surely there's a similar option to just use the system CAs? No, of course not. There's a *compile time* configuration option to disable the built in CA store: https://github.com/nodejs/node/blob/e329a11515c40e890920fc81f735edd4725b882e/configure.py#L229

TL;DR: I'm compiling nodejs right now. At least #nixos lets me easily add that configuration flag. Maybe time for a PR to enable it by default?

$out/bin/alex φ :nixos: 🇪🇺
2 weeks ago

My evil master plan to bring #NixOS to the #Fairphone 4 (and any other phone that can run Ubuntu Touch):

1. get FP4 Halium configs from the #ubports project
2. build Halium configs with robotnix
3. build NixOS for aarch64 normally, except that the kernel and initrd are provided by the Halium build
4. Write small wrapper script to build a flashable image
5. Profit!

Now I just have to muster enough motivation to actually pull this off. I think it should be doable within a week or so

cc @sophie

The NixOS foundation os looking for a part-time administrative assistant who speaks English and Dutch

https://discourse.nixos.org/t/part-time-administrative-assistant-nixos-foundation/33166

#job #nixos #nix @fossjobs

Koen de Jonge - SynQ
2 weeks ago

@neil sounds like a perfect opportunity to try #NixOS

Koen de Jonge - SynQ
2 weeks ago

@neil with #NixOS on a #Raspberry #Pi sounds like fun.

It would be even more fun if you could have multiple pies that would play neatly synchronized.

Sam Weston
2 weeks ago

Since setting up my new server a couple of months ago on NixOS I hadn't got around to figuring out backups. Most of the stuff on it isn't particularly critical but my Joplin notes server kind of is.

Restic is stupidly easy to configure, so I've set things up to do daily backups to Backblaze B2. Great success!

https://github.com/cablespaghetti/nixos-configs/blob/3d68ab270671b6a1455cda8475c38e1908625b23/roles/servers/configuration.nix#L154

I do still need to stash a Raspberry Pi and USB drive somewhere for offsite media backups I don't want to pay cloud prices for...

#SelfHosting #NixOS

I used to edit my #nixos config with `sudo nvim configuration.nix` and I was always annoyed by the lack of my #neovim plugins and such. Now I found `sudoedit` and I have all my syntax highlighting and such. Very nice. Just wanted to share :)

Jake Hamilton
2 weeks ago

I've posted a guide on configuring GPU passthrough on #NixOS!

https://kilo.bytesize.xyz/gpu-passthrough-on-nixos

@connelhooley @cybersoldier been daily driving a #NixOS derivative since mid/late october last year

@snowflakelinux has been really stable (even though it uses the nixos-unstable branch :woem:)

Connel
2 weeks ago

@cybersoldier immutable distros are all the rage atm, especially for dev. There's loads of stuff happening in that space, I hear #NixOS is one of the good ones, it's on my to-do list.

Sam Weston
2 weeks ago

I have a confession to make; I've had no monitoring on my home server(s) for a couple of years. I just never got around to setting it up and I usually realise when stuff is broken quite quickly anyway.

However I've been having a weird issue with my main box and wanted remote logging at the very least. I thought I'd try out #Grafana Cloud; their free tier is pretty good and you get batteries included #Prometheus, Loki, Grafana et al.

As a bonus the agent is packaged in #nixos...super easy!

A grafana dashboard with lots of host metrics
Pierre Bourdon
3 weeks ago

What if we could find all vendored versions of a dependency by grepping through the whole #NixOS cache? Well, now we can!

https://github.com/delroth/grep-nixos-cache hacked together last night + a few fixes and it's now running and finding (almost) all vendored libwebp versions in all NixOS packages \o/

Live output of the first run for those of you watching at home: https://seashells.io/v/pRRWxBhJ

Xe :verified:
3 weeks ago

Making NixOS modules for fun and (hopefully) profit

https://xeiaso.net/talks/asg-2023-nixos

#nix #nixos #tailscale

Filip
3 weeks ago

@topher did you by any chance find anything on #NixOS? Can't recall if I saw something about it in your toots

hexa-
3 weeks ago
Sebastian Wendel
3 weeks ago

Yeah, the #nixcon2023 recordings are online https://media.ccc.de/b/conferences/nixcon/nixcon2023 Thanks for so many interesting talks about #nix and #nixos !

NIXCON Logo in rainbow colors
Jake Hamilton
3 weeks ago

#SnowfallOrg now also has a documentation site! Head on over to https://snowfall.org for more information on #SnowfallLib including a Quick Start Guide!

#Nix #NixOS

Jake Hamilton
3 weeks ago

#SnowfallLib v2 is officially out! I'm so excited to announce that it now has full support for Home Manager, Darwin Modules, and more! Take a look at the announcement post here: https://discourse.nixos.org/t/snowfall-lib-v2/33015

#Nix #NixOS

Koen de Jonge - SynQ
3 weeks ago

@9to5linux that makes sense, but I have moved on to #NixOS so #Ubuntu is now a passed station.

Kraktoos :fedora: :i3:
3 weeks ago

Thinking of distro-hopping, any suggestions? Thinking of going for either an arch-based distro such as :artix: #artix or :endeavourOS: #endeavouros or some immutable distro such as :nixos: #nixos.

Yann Büchau :nixos:
3 weeks ago

Whoa super annoying @thunderbird 115 freezes after a couple of seconds (even in --safe-mode), terminal output is not helpful (sometimes comes past 'Cannot load required OTR library' and shows some calendar VCARD output, but that's it). There's no --debug or --verbose flag (wtf) and the databse has already been migrated, so can't use old Thunderbird 102... 🤦

Can't work like this... 🙄

UPDATE: Even the :nixos: #NixOS version freezes on :manjaro: #Manjaro...

#Thunderbird