mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

11K
active users

#flakes

0 posts0 participants0 posts today
Sandro :nixos: :verified_gay:<p>I just wrote a pretty nifty preSwitchCheck I must say. It checks if all kernel modules for all network interfaces would be available in initrd for network unlocking via ssh.</p><p><a href="https://gitea.c3d2.de/c3d2/nix-config/commit/a6e8446d216abd2c1623e1ea43b1bdae902cdf50" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitea.c3d2.de/c3d2/nix-config/</span><span class="invisible">commit/a6e8446d216abd2c1623e1ea43b1bdae902cdf50</span></a></p><p><a href="https://c3d2.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> <a href="https://c3d2.social/tags/modules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>modules</span></a> <a href="https://c3d2.social/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a></p>
Vivekanandan KS :nixos:<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@ablatedsprocket" class="u-url mention">@<span>ablatedsprocket</span></a></span> <br />I totally agree. It&#39;s because of the fast <a href="https://mstdn.social/tags/evolution" class="mention hashtag" rel="tag">#<span>evolution</span></a> of <a href="https://mstdn.social/tags/Nix" class="mention hashtag" rel="tag">#<span>Nix</span></a> these years, the <a href="https://mstdn.social/tags/documentation" class="mention hashtag" rel="tag">#<span>documentation</span></a> couldn&#39;t catch up much. Like <a href="https://mstdn.social/tags/flakes" class="mention hashtag" rel="tag">#<span>flakes</span></a> first approach.<br />Also since Nix solves in a lot of layers, one documentation won&#39;t fit for <a href="https://mstdn.social/tags/everyone" class="mention hashtag" rel="tag">#<span>everyone</span></a>. <br />Eg: Those who plan to just use <a href="https://mstdn.social/tags/shells" class="mention hashtag" rel="tag">#<span>shells</span></a> will need specific <a href="https://mstdn.social/tags/learning" class="mention hashtag" rel="tag">#<span>learning</span></a> <a href="https://mstdn.social/tags/path" class="mention hashtag" rel="tag">#<span>path</span></a> for them, same goes for <a href="https://mstdn.social/tags/containers" class="mention hashtag" rel="tag">#<span>containers</span></a>, <a href="https://mstdn.social/tags/package" class="mention hashtag" rel="tag">#<span>package</span></a> manager, <a href="https://mstdn.social/tags/NixOS" class="mention hashtag" rel="tag">#<span>NixOS</span></a>, etc etc</p><p>That&#39;s why these <a href="https://mstdn.social/tags/friction" class="mention hashtag" rel="tag">#<span>friction</span></a> in understanding Nix. Honestly Nix itself is just not that hard. 😀</p>
Vivekanandan KS :nixos:<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@dfarmer" class="u-url mention">@<span>dfarmer</span></a></span> I use <a href="https://mstdn.social/tags/flakes" class="mention hashtag" rel="tag">#<span>flakes</span></a> for <a href="https://mstdn.social/tags/NixOS" class="mention hashtag" rel="tag">#<span>NixOS</span></a> and added <a href="https://mstdn.social/tags/nix" class="mention hashtag" rel="tag">#<span>nix</span></a> <a href="https://mstdn.social/tags/home" class="mention hashtag" rel="tag">#<span>home</span></a> <a href="https://mstdn.social/tags/manager" class="mention hashtag" rel="tag">#<span>manager</span></a> as a <a href="https://mstdn.social/tags/module" class="mention hashtag" rel="tag">#<span>module</span></a> in it with <a href="https://mstdn.social/tags/specialArgs" class="mention hashtag" rel="tag">#<span>specialArgs</span></a> passing both <a href="https://mstdn.social/tags/stable" class="mention hashtag" rel="tag">#<span>stable</span></a> and <a href="https://mstdn.social/tags/unstable" class="mention hashtag" rel="tag">#<span>unstable</span></a> <a href="https://mstdn.social/tags/branches" class="mention hashtag" rel="tag">#<span>branches</span></a> for my <a href="https://mstdn.social/tags/freedom" class="mention hashtag" rel="tag">#<span>freedom</span></a> to choose certain <a href="https://mstdn.social/tags/packages" class="mention hashtag" rel="tag">#<span>packages</span></a> for unstable.<br />Flakes is aren&#39;t that hard. It&#39;s just a <a href="https://mstdn.social/tags/wrapper" class="mention hashtag" rel="tag">#<span>wrapper</span></a>.</p>
Vivekanandan KS :nixos:<p>Flakes In <a href="https://mstdn.social/tags/Short" class="mention hashtag" rel="tag">#<span>Short</span></a>:<br />without <a href="https://mstdn.social/tags/flakes" class="mention hashtag" rel="tag">#<span>flakes</span></a> u trust a global <a href="https://mstdn.social/tags/nixpkgs" class="mention hashtag" rel="tag">#<span>nixpkgs</span></a> version. With flakes u choose it <a href="https://mstdn.social/tags/precisely" class="mention hashtag" rel="tag">#<span>precisely</span></a> for each ur project. So that when u share ur <a href="https://mstdn.social/tags/dev" class="mention hashtag" rel="tag">#<span>dev</span></a> <a href="https://mstdn.social/tags/shells" class="mention hashtag" rel="tag">#<span>shells</span></a> the nixpkgs version stays the same to ur friend&#39;s PC too.<br />Without <a href="https://mstdn.social/tags/flakes" class="mention hashtag" rel="tag">#<span>flakes</span></a> u basically ASSUME that ur friend&#39;s <a href="https://mstdn.social/tags/nixpkgs" class="mention hashtag" rel="tag">#<span>nixpkgs</span></a> version is also the same <a href="https://mstdn.social/tags/version" class="mention hashtag" rel="tag">#<span>version</span></a> and <a href="https://mstdn.social/tags/revision" class="mention hashtag" rel="tag">#<span>revision</span></a> as urs(a very bad assumption).</p>
Vivekanandan KS :nixos:<p><span class="h-card" translate="no"><a href="https://mstdn.social/@justsoup" class="u-url mention">@<span>justsoup</span></a></span> When u make anything in any <a href="https://mstdn.social/tags/language" class="mention hashtag" rel="tag">#<span>language</span></a> of course there are many ways to do things. But there are always these <a href="https://mstdn.social/tags/best" class="mention hashtag" rel="tag">#<span>best</span></a> <a href="https://mstdn.social/tags/practices" class="mention hashtag" rel="tag">#<span>practices</span></a> which will help u in the long run. <a href="https://mstdn.social/tags/Nix" class="mention hashtag" rel="tag">#<span>Nix</span></a> <a href="https://mstdn.social/tags/Flakes" class="mention hashtag" rel="tag">#<span>Flakes</span></a> is one such thing, which will help u in the long run making things truly <a href="https://mstdn.social/tags/portable" class="mention hashtag" rel="tag">#<span>portable</span></a></p>
Vivekanandan KS :nixos:<p><span class="h-card" translate="no"><a href="https://recurse.social/@redmp" class="u-url mention">@<span>redmp</span></a></span> <br />If u are going to use ur <a href="https://mstdn.social/tags/OS" class="mention hashtag" rel="tag">#<span>OS</span></a>, <a href="https://mstdn.social/tags/shells" class="mention hashtag" rel="tag">#<span>shells</span></a> etc only with ur PC u probably don&#39;t need <a href="https://mstdn.social/tags/flakes" class="mention hashtag" rel="tag">#<span>flakes</span></a> . But honestly, all modern <a href="https://mstdn.social/tags/workflows" class="mention hashtag" rel="tag">#<span>workflows</span></a> needs reproducibility(portability), that&#39;s why flakes are so important.</p><p>In short: Non-flakes use a global version of <a href="https://mstdn.social/tags/nixpkgs" class="mention hashtag" rel="tag">#<span>nixpkgs</span></a> and with flakes u decide ur nixpkgs version for each shell, OS or any <a href="https://mstdn.social/tags/config" class="mention hashtag" rel="tag">#<span>config</span></a>.<br /> :nixos:<br />Honestly, once u really understand the <a href="https://mstdn.social/tags/structure" class="mention hashtag" rel="tag">#<span>structure</span></a> (inputs and outputs) flakes are too simple and u won&#39;t need $boilerplate after some point.</p>
Daniel Lakeland<p><a href="https://discourse.nixos.org/t/flakes-for-multiple-machines-with-nonfree-packages-and-modules/66026?u=dlakelan" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.nixos.org/t/flakes-f</span><span class="invisible">or-multiple-machines-with-nonfree-packages-and-modules/66026?u=dlakelan</span></a></p><p>Here's a description on the <a href="https://mastodon.sdf.org/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> discourse about the problem I've been banging my head on wrt nonfree in <a href="https://mastodon.sdf.org/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> ...</p>
Daniel Lakeland<p>Well i appear to have figured out the issue with non free <a href="https://mastodon.sdf.org/tags/nixpkgs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixpkgs</span></a>. It comes down to <a href="https://mastodon.sdf.org/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> defining nixosSystem pass arguments to the modules in the modules= parameters, and one of those is pkgs and you need to explicitly define which pkgs. The method im using is the specialArgs parameter to nixosSystem... I do get a warning I haven't figured out... Wish the docs were better. <a href="https://mastodon.sdf.org/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a></p>
Nigel<p>Listening to the M J Quinn (Open Reach) telephones engineer/geeza, working down the road, trying to sort out his problems when failing to sign in to their services hub... It is extremely painful... I may have to close the window soon... he's OK hammering the cable clips in though! 😁<br><a href="https://musicians.today/tags/engineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>engineering</span></a> <a href="https://musicians.today/tags/services" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>services</span></a> <a href="https://musicians.today/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> <a href="https://musicians.today/tags/zappa" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zappa</span></a></p>
adingbatponder<p>Running <a href="https://fosstodon.org/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> <a href="https://fosstodon.org/tags/nixos25dot05" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos25dot05</span></a> with <a href="https://fosstodon.org/tags/gnome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gnome</span></a> or <a href="https://fosstodon.org/tags/kde_plasma" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kde_plasma</span></a> desktop on <a href="https://fosstodon.org/tags/lenovo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lenovo</span></a> <a href="https://fosstodon.org/tags/thinkpad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>thinkpad</span></a> <a href="https://fosstodon.org/tags/x230" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>x230</span></a> seems to require<br> <br>services.xserver.displayManager.gdm.wayland = false;</p><p>in <a href="https://fosstodon.org/tags/configurationdotnix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>configurationdotnix</span></a> </p><p>This was what <a href="https://fosstodon.org/tags/chatgpt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>chatgpt</span></a> told me, and the fix it worked.</p><p>I used <a href="https://fosstodon.org/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> for the first time by following this nice video <a href="https://youtu.be/ACybVzRvDhs" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/ACybVzRvDhs</span><span class="invisible"></span></a></p>
adingbatponder<p>I want to move to <a href="https://fosstodon.org/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> in <a href="https://fosstodon.org/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> and want to import <a href="https://fosstodon.org/tags/packages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>packages</span></a> that are not in the <a href="https://fosstodon.org/tags/nixosrepository" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixosrepository</span></a> <a href="https://search.nixos.org/packages" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">search.nixos.org/packages</span><span class="invisible"></span></a> . </p><p>Is there a "hello world" type example / blueprint of the different cases? </p><p>==&gt; Binary stored in github / external drive<br>==&gt; Raw code stored in hithub / external drive</p><p>Thanks.</p>
adingbatponder<p>One of the most important functions on my computer is the GNOME <a href="https://fosstodon.org/tags/Authenticator" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Authenticator</span></a> app. Without it I cannot even access many of the services I use daily. I need to reinstall my <a href="https://fosstodon.org/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> machine to move to <a href="https://fosstodon.org/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> and clean up some messy command-line installs. Is there a way to restore the authenticator app after reinstall so it works for all services, without having to revisit each site and re-enroll the <a href="https://fosstodon.org/tags/2FA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>2FA</span></a> manually? Can this be achieved via a flake that manages <a href="https://fosstodon.org/tags/secrets" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>secrets</span></a>? <a href="https://fosstodon.org/tags/authenticatorapp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>authenticatorapp</span></a></p>
Krutonium://<p><code>nix run github:Krutonium/direct-dd</code></p><p><a href="https://github.com/Krutonium/direct-dd" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Krutonium/direct-dd</span><span class="invisible"></span></a></p><p><a href="https://social.treehouse.systems/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> <a href="https://social.treehouse.systems/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> <a href="https://social.treehouse.systems/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> <a href="https://social.treehouse.systems/tags/CSharp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSharp</span></a></p>
jbz<p>「 Flakes have not meaningfully improved in several years, “crucial” fixes and features for Flakes have stalled in open pull requests headed almost entirely by Determinate Systems, and the feature itself has been both declared unstable as well as stable by the Nix development team and Determinate Systems respectively. This absurdity is entirely self-inflicted and can be resolved by any party at any time, but participants choose otherwise 」</p><p><a href="https://kilo.bytesize.xyz/flakes-have-failed" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kilo.bytesize.xyz/flakes-have-</span><span class="invisible">failed</span></a></p><p><a href="https://indieweb.social/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> <a href="https://indieweb.social/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> <a href="https://indieweb.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a></p>
Alejandro Baez<p>I been using <a href="https://fosstodon.org/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> <a href="https://fosstodon.org/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> almost immediately from its release.</p><p>Channels were one the hardest parts to grok for me. 🫠 Hence, flakes. </p><p>Getting channels out of people's heads goes a very long way for adoption and usage. 😏</p><p><a href="https://determinate.systems/posts/changelog-determinate-nix-342/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">determinate.systems/posts/chan</span><span class="invisible">gelog-determinate-nix-342/</span></a></p>
Sandro :nixos: :verified_gay:<p>If only <a href="https://c3d2.social/tags/Helm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Helm</span></a> would be more like <a href="https://c3d2.social/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> with <a href="https://c3d2.social/tags/Flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flakes</span></a> :blobcataww:</p>
Sandro :nixos: :verified_gay:<p>If only <a href="https://c3d2.social/tags/Helm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Helm</span></a> would be more like <a href="https://c3d2.social/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> with <a href="https://c3d2.social/tags/Flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flakes</span></a> :blobcataww:</p>
Feno<p>Tja, zwei Tage Urlaub und der Umbau meiner NixOS-Config zu Flakes mit Home-Manager ist abgeschlossen. Schon irgendwie cool, dass nun mehrere PCs, mit unterschiedlichen Nutzern und Hardware-Anforderungen über eine gemeinsame Config steuerbar sind. 🤩</p><p><a href="https://nrw.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> <a href="https://nrw.social/tags/Flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flakes</span></a> <a href="https://nrw.social/tags/HomeManager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeManager</span></a></p>
Sandro :nixos: :verified_gay:<p>Today I got to know that <a href="https://c3d2.social/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> 2.27 added <a href="https://c3d2.social/tags/blake3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blake3</span></a> support and proper submodules and lfs support to <a href="https://c3d2.social/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a>! 🎉</p>
you╭👺+300╭🐈x5╭⁂+3╭(Ⓐ+a<p><a href="https://mastodon.social/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> <a href="https://mastodon.social/tags/flakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>flakes</span></a> <a href="https://mastodon.social/tags/corny" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>corny</span></a></p>