universeodon.com is part of the decentralized social network powered by Mastodon.
Be one with the #fediverse. Join millions of humans building, creating, and collaborating on Mastodon Social Network. Supports 1000 character posts.

Administered by:

Server stats:

3.3K
active users

Learn more

#nixos

46 posts45 participants2 posts today
Benedikt Ritter (he/him)<p>Great read about laziness in the Nix programming language: <a href="https://nixcademy.com/posts/what-you-need-to-know-about-laziness/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nixcademy.com/posts/what-you-n</span><span class="invisible">eed-to-know-about-laziness/</span></a> Took some time to wrap my head around the wrap function but I have a better understanding of laziness in Nix now!</p><p><a href="https://chaos.social/tags/Nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nixos</span></a> <a href="https://chaos.social/tags/functionalprogramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>functionalprogramming</span></a> <a href="https://chaos.social/tags/blogpost" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blogpost</span></a></p>
John Hammarberg<p>After some experimentation I think I have a working unprivileged <a href="https://c64.page/tags/nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixos</span></a> container running a multi-user environment with services. In my case replacing an LXC instance.</p><p>nixos-containers.nix needs some --bind patching with :idmap</p><p>Added extraFlags to container with private-users/chown, allowedDevices with rwm /dev/net/tun</p><p>Logrotate breaks but can be fixed with a couple of lines.</p><p>root-login to the container to set a password will leave /etc/.pwd.lock as nobody. Delete it.</p><p>Work in progress.</p>
matthewcroughanNow that I have <a class="hashtag" href="https://social.defenestrate.it/tag/uboot" rel="nofollow noopener noreferrer" target="_blank">#uboot</a>, <a class="hashtag" href="https://social.defenestrate.it/tag/systemdboot" rel="nofollow noopener noreferrer" target="_blank">#systemdboot</a> and <a class="hashtag" href="https://social.defenestrate.it/tag/nixos" rel="nofollow noopener noreferrer" target="_blank">#nixos</a> running on my phone, no one will be able to stop me, mwuahahah<br><br><a class="hashtag" href="https://social.defenestrate.it/tag/weeknotes" rel="nofollow noopener noreferrer" target="_blank">#weeknotes</a>
davidak<p><span class="h-card" translate="no"><a href="https://tux.social/@Rhababerbarbar" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Rhababerbarbar</span></a></span> in <a href="https://chaos.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> it is pretty simple to build a custom kernel</p><p><a href="https://nixos.org/manual/nixos/stable/#sec-kernel-config" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nixos.org/manual/nixos/stable/</span><span class="invisible">#sec-kernel-config</span></a><br><a href="https://nixos.org/manual/nixpkgs/stable/#sec-linux-kernel" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nixos.org/manual/nixpkgs/stabl</span><span class="invisible">e/#sec-linux-kernel</span></a><br><a href="https://wiki.nixos.org/wiki/Linux_kernel" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wiki.nixos.org/wiki/Linux_kern</span><span class="invisible">el</span></a></p><p>e.g. i created a kernel with <a href="https://chaos.social/tags/bcachefs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bcachefs</span></a></p><p><a href="https://github.com/NixOS/nixpkgs/blob/d77bda728d5041c1294a68fb25c79e2d161f62b9/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix#L29-L35" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/NixOS/nixpkgs/blob/</span><span class="invisible">d77bda728d5041c1294a68fb25c79e2d161f62b9/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix#L29-L35</span></a></p>
Krutonium://<p>Does anyone know if it's possible to set up <a href="https://social.treehouse.systems/tags/GitHub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GitHub</span></a> actions to build my <a href="https://social.treehouse.systems/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> config and keep an repository of packages I can point my local nix at, for packages that aren't available in the normal binary cache?</p>
TheDragon 🔥<p>Oof - I clearly missed the fact that you can install <a href="https://hachyderm.io/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> baremetal on Apple Silicon now!!</p><p><a href="https://github.com/tpwrules/nixos-apple-silicon/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/tpwrules/nixos-appl</span><span class="invisible">e-silicon/</span></a></p><p>Does anyone use this? What's the experience like? Any rough edges to be aware of?</p>
exponentialverteit<p>DevSecOps &amp; Declarative Linux: Nix User Group Paderborn</p><p>Du interessierst dich für robuste, deklarative Systeme? Dann bist du beim Nix-Treffen Paderborn genau richtig!</p><p>Wir gründen den Nix-Treff Paderborn und laden dich herzlich zum ersten Treffen ein. Das Ziel: Gleichgesinnte treffen, Wissen austauschen und gemeinsam in die Welt von Nix eintauchen.</p><p>Mehr Infos unter: <a href="https://nix-paderborn.github.io/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">nix-paderborn.github.io/</span><span class="invisible"></span></a></p><p>1/2</p><p><a href="https://hessen.social/tags/Nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nix</span></a> <a href="https://hessen.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> <a href="https://hessen.social/tags/Paderborn" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Paderborn</span></a></p>
flashfox<p>Not really surprising though I guess, its the corporate way of doing things.<br>You do something shady, get called out, apologize in an hand wavy, noncommittal kind of way, promise to do better, and then instead of doing anything wait until it blows over and quietly bring the thing back.<br>It's really kind of a classic.</p><p><a href="https://infosec.exchange/tags/nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nix</span></a> <a href="https://infosec.exchange/tags/nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixos</span></a> <a href="https://infosec.exchange/tags/devenv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devenv</span></a></p>
flashfox<p>I guess its totally cool that <a href="https://infosec.exchange/tags/devenv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devenv</span></a> 1.5 was pushed into <a href="https://infosec.exchange/tags/nixpkgs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixpkgs</span></a>, bringing back both telemetry and source code upload for AI training, and neither <span class="h-card" translate="no"><a href="https://fosstodon.org/@domenkozar" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>domenkozar</span></a></span>'s blog post nor the release announcement mentions anything about that, right?</p><p><a href="https://infosec.exchange/tags/nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nix</span></a> <a href="https://infosec.exchange/tags/nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixos</span></a></p>
tootbrute<p>hmm...transmission...403 forbidden</p><p>127.0.0.1:9091</p><pre><code> services.transmission = { enable = true; package = pkgs.transmission_4; openFirewall = true; openPeerPorts = true; openRPCPort = true; settings = { rpc-bind-address = "0.0.0.0"; }; }; </code></pre><p>hmmm....</p><p><a href="https://fedi.arkadi.one/tags/nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixos</span></a> :NixOS:</p>
craige<p>Dear Lazy web...</p><p>With the old <a href="https://social.mcwhirter.io/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> aarch64 build host dead and my request for access to the new one unsuccessful, I'm pondering the best path to having an aarch64 build machine again. I see three paths, in no particular order:</p><p>* Pay for an <a href="https://social.mcwhirter.io/tags/aarch64" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>aarch64</span></a> VPS and set it up as a build machine<br>* Re-build one of my Pi3's as a build machine<br>* Use cross compilation</p><p>None of them are ideal and there may be better ways. </p><p>Interested in your thoughts or other ideas.</p>
boredsquirrel<p>Any <a href="https://tux.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> users building a custom <a href="https://tux.social/tags/kernel" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kernel</span></a>?</p><p>The <a href="https://tux.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> kernel is crazy huge, I would like to start tweaking my system by using a custom kernel</p><p>- longterm 6.12 as base (less hassle, more stable)<br>- intel only (no amd, nvidia, wifi card drivers etc)<br>- modern-ish hardware only (no obscure old keyboard drivers etc)<br>- O3 optimizations (I think they generally make sense on an i7-11th gen)</p><p>Do you got good resources to start with this?</p>
nebucatnetzer<p><span class="h-card" translate="no"><a href="https://oldbytes.space/@feoh" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>feoh</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.online/@arialdo" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>arialdo</span></a></span> </p><p>This is why I mostly search for <a href="https://social.linux.pizza/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> even though my problem might be with the <a href="https://social.linux.pizza/tags/Nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nix</span></a> language.</p>
🌸 lily 🏳️‍⚧️ :flag_pansexual: :flag_ace: θΔ ⋐ & ∞<p><a href="https://possum.city/tags/gimp" rel="nofollow noopener noreferrer" target="_blank">#gimp</a> 3 on <a href="https://possum.city/tags/nixos" rel="nofollow noopener noreferrer" target="_blank">#nixos</a><span> just dropped<br></span><a href="https://github.com/NixOS/nixpkgs/pull/67576" rel="nofollow noopener noreferrer" target="_blank">https://github.com/NixOS/nixpkgs/pull/67576</a></p>
Paul Meyer<p>There is also a nice article by nixcademy that gives more background on laziness, has some illustrations and more examples for fix and overlays: <a href="https://nixcademy.com/posts/what-you-need-to-know-about-laziness/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nixcademy.com/posts/what-you-n</span><span class="invisible">eed-to-know-about-laziness/</span></a></p><p><a href="https://infosec.exchange/tags/Nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nix</span></a> <a href="https://infosec.exchange/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a></p>
Johannes Kastl<p>Fifth and (it really seems) last round for the <a href="https://digitalcourage.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a> <a href="https://digitalcourage.social/tags/Ansible" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ansible</span></a> bubble:</p><p>Thanks to <span class="h-card" translate="no"><a href="https://social.linux.pizza/@nebucatnetzer" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>nebucatnetzer</span></a></span> I tried installing ansible "the other way round". Rather than trying to install Ansible and have a customized python3 (with hvac and kubernetes modules etc.) as a "build input" I have tried the other way round: Adding ansible and ansible-core to the python package:</p><p>```<br>(pkgs.python3.withPackages (python-pkgs: [<br> python-pkgs.ansible<br> python-pkgs.ansible-core<br> python-pkgs.hvac<br> python-pkgs.kubernetes<br> ]))<br>```</p><p>A short test was successful, tasks delegated to localhost found the kubernetes module and could successfully do things! Hooray!</p>
ZeStig :emacs: :nix: :rust: :gnu: :archlinux:<p><span class="h-card" translate="no"><a href="https://gladtech.social/@cuchaz" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>cuchaz</span></a></span><span> funny how the crate has almost nothing to do with the </span><a href="https://fedia.social/tags/Nix" rel="nofollow noopener noreferrer" target="_blank">#Nix</a><span> package manager or </span><a href="https://fedia.social/tags/NixOS" rel="nofollow noopener noreferrer" target="_blank">#NixOS</a></p>
Thor A. Hopland<p><span class="h-card" translate="no"><a href="https://micro.arda.pw/@arda" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>arda</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.online/@f" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>f</span></a></span> <span class="h-card" translate="no"><a href="https://hachyderm.io/@ssg" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ssg</span></a></span> I've been thinking of what are the best and easiest ways of getting people into a <a href="https://snabelen.no/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://snabelen.no/tags/cooperative" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cooperative</span></a>. That is, self host as a local community. </p><p><a href="https://snabelen.no/tags/Fediversity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Fediversity</span></a> shows one such way, via <a href="https://snabelen.no/tags/NixOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixOS</span></a>. In this <a href="https://snabelen.no/tags/NixFlake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NixFlake</span></a> we see an automated setup for a set of services, like <a href="https://snabelen.no/tags/Mastodon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mastodon</span></a>, <a href="https://snabelen.no/tags/Peertube" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Peertube</span></a> and <a href="https://snabelen.no/tags/Pixelfed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pixelfed</span></a>.</p><p>You basically fork this, modify its variables and run it on your server and you should have your own platforms up and running.</p><p><a href="https://git.fediversity.eu/Fediversity/Fediversity" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">git.fediversity.eu/Fediversity</span><span class="invisible">/Fediversity</span></a></p>
fuuma<p>Documentation in operating systems is cool. It is possible to extend and rewrite utilities as time goes on, as <a href="https://masto.hackers.town/tags/freebsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>freebsd</span></a> proves. You can still have cool utilities, like <a href="https://masto.hackers.town/tags/containers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>containers</span></a> and <a href="https://masto.hackers.town/tags/zfs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zfs</span></a> and <a href="https://masto.hackers.town/tags/hypervisors" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hypervisors</span></a>, good docs for them and a consistent base system. </p><p>I dunno where I am going with this, other than wishing I didn't have to peruse the Arch wiki and the Gentoo wiki for everything when I get stuck, and instead could just "man xyz" and get good answers, speaking as <a href="https://masto.hackers.town/tags/nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixos</span></a> user.</p>
Haskell Weekly<p>Horizon Haskell (Road To GHC 9.14) Playlist</p><p><a href="https://www.youtube.com/playlist?list=PL5S993hswMpSEXZpYFt4o0PzPpxZQ_UOu" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/playlist?list=PL5S</span><span class="invisible">993hswMpSEXZpYFt4o0PzPpxZQ_UOu</span></a></p><p>Discussions: <a href="https://discu.eu/q/https://www.youtube.com/playlist?list=PL5S993hswMpSEXZpYFt4o0PzPpxZQ_UOu" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://www.youtube</span><span class="invisible">.com/playlist?list=PL5S993hswMpSEXZpYFt4o0PzPpxZQ_UOu</span></a></p><p><a href="https://mastodon.social/tags/haskell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>haskell</span></a> <a href="https://mastodon.social/tags/nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixos</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>