is-a.cat is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

10
active users

#nixos

28 meows27 participants0 meows today
Mike :nixos:<p>Ok <a href="https://fosstodon.org/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> and <a href="https://fosstodon.org/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> peeps, I have a puzzle.</p><p>I want this systemd service to run ONLY WHEN a user is logged in, and they're connected to the internet. </p><p>Is this possible?</p><p>This is what I have so far but when I restart the computer, the systemd service shows as failed because it's trying to send the notification when no one is logged into the system.</p>
Sven SlootwegNixOS community/governance
D. Moonfire<p>So, for various reasons (professional verses personal), I don't set my global user name or email in Git. Instead, I have NixOS and Home Manager set up to give me a git command:</p><pre><code> home-manager.users.dmoonfire = { pkgs, config, ... }: { home.packages = [ (pkgs.writeShellScriptBin "git-moonfire" '' git config user.name "D. Moonfire" git config user.email "contact@moonfire.us" git config core.sshCommand 'ssh -i ~/.ssh/moonfire-rsa' '') }; </code></pre><p>That way, I can easily call this with:</p><pre><code>git clone https://some...path/ git moonfire git commit -am 'feat: everything is awesome' </code></pre><p><a href="https://polymaths.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> <a href="https://polymaths.social/tags/homemanager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeManager</span></a></p>
Jeezy<p>Based</p><p><a href="https://discourse.nixos.org/t/anduril-industries-electromagnetic-warfare-team-is-hiring/62569" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.nixos.org/t/anduril-</span><span class="invisible">industries-electromagnetic-warfare-team-is-hiring/62569</span></a></p><p><a href="https://hachyderm.io/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a></p>
batvin123<span class="h-card"><a class="u-url mention" href="https://infosec.exchange/@tinker" rel="nofollow noopener" target="_blank">@<span>tinker</span></a></span> here I am making my own digital typewriter using <a class="hashtag" href="https://weaponx.social/tag/nixos" rel="nofollow noopener" target="_blank">#nixos</a> <a class="hashtag" href="https://weaponx.social/tag/flakes" rel="nofollow noopener" target="_blank">#flakes</a>, <br>I guess great minds think alike.
Mark Crocker<p>Installed <a href="https://indieweb.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> 24.11 on <a href="https://indieweb.social/tags/VirtualBox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VirtualBox</span></a> today. Apparently the demo image was deprecated <a href="https://nixos.org/manual/nixos/stable/release-notes#sec-release-24.11-incompatibilities" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nixos.org/manual/nixos/stable/</span><span class="invisible">release-notes#sec-release-24.11-incompatibilities</span></a> in favor of using the standard ISO, but the installation instructions on the manual have not kept up. </p><p>Due to a corporate CA, just getting the installer to work at all <a href="https://discourse.nixos.org/t/nixos-in-corporate/50041/9" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.nixos.org/t/nixos-in</span><span class="invisible">-corporate/50041/9</span></a> was painful, especially due to one being DER, so, had to install openssl before adding CA certs with nix-shell</p><p>I only noticed the Don't reboot <a href="https://itsfoss.com/install-nixos-vm/#dont-reboot-but-turn-off-the-vm" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">itsfoss.com/install-nixos-vm/#</span><span class="invisible">dont-reboot-but-turn-off-the-vm</span></a> after it was too late 😭</p><p>1/2</p>
boredsquirrel<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nixCraft" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nixCraft</span></a></span> </p><p><a href="https://tux.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> is interesting. Pretty reliable (not as much as <a href="https://tux.social/tags/AtomicDesktops" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AtomicDesktops</span></a> in my noob tests) while also performant</p><p>Note that such old hardware will have <a href="https://tux.social/tags/microcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microcode</span></a> vulnerabilities and locking it down will further slow it down. At least thinking of <a href="https://tux.social/tags/spectre" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spectre</span></a> or <a href="https://tux.social/tags/meltdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>meltdown</span></a> (not sure if hyperthreading was even thought of back then)</p>
cafkafk<p>I got a <a class="hashtag" href="https://catgirl.farm/tag/nixos" rel="nofollow noopener" target="_blank">#nixos</a> tempban, glad to see the mods are fighting the good fight</p><blockquote><p>Account suspended until April 4, 2025: tempban</p></blockquote>
to⟁st⟁l<p>Yesterday the <a href="https://types.pl/tags/H2O" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>H2O</span></a> web server <a href="https://types.pl/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> module merged into <a href="https://types.pl/tags/Nixpkgs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nixpkgs</span></a> with <a href="https://types.pl/tags/HTTP3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTTP3</span></a> / <a href="https://types.pl/tags/QUIC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>QUIC</span></a> support to be super easy.</p><p>An example of a simple reverse proxy usage, with compression + ACME + HTTP/2 + HTTP/3 + TLS redirect + Mozilla recommended TLS settings, would look like:</p><p>services.h2o = {<br> enable = true;<br> settings = {<br> compress = "ON";<br> http2-reprioritize-blocking-assets = "ON";<br> ssl-offload = "kernel";<br> };<br> hosts."example.org" = {<br> tls = {<br> policy = "force";<br> quic = { };<br> recommendations = "modern";<br> };<br> acme.enable = true;<br> settings = {<br> paths."/" = {<br> "proxy.reverse.url" = "http://127.0.0.1:42069";<br> };<br> };<br> };<br>}</p>
cafkafk<p><a class="hashtag" href="https://catgirl.farm/tag/nixos" rel="nofollow noopener" target="_blank">#nixos</a> <a href="https://discourse.nixos.org/t/anduril-industries-electromagnetic-warfare-team-is-hiring/62569/7" rel="nofollow noopener" target="_blank">https://discourse.nixos.org/t/anduril-industries-electromagnetic-warfare-team-is-hiring/62569/7</a></p>
Yann Büchau :nixos:<p><span class="h-card" translate="no"><a href="https://chaos.social/@Natanox" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Natanox</span></a></span> <span class="h-card" translate="no"><a href="https://social.klein.ruhr/@matthias" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>matthias</span></a></span> Finde ich auch. Bin jetzt bei :nixos: <a href="https://fosstodon.org/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> gelandet, wo sich alles sehr schön integrieren (auch mit <a href="https://gethomepage.dev" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">gethomepage.dev</span><span class="invisible"></span></a>) und verwalten lässt (alle services und settings reproduzierbar in configfiles). Ist ein massives und schmerzhaftes rabbithole 😅 aber lohnt sich sehr, wenn es einmal klickt.</p>
Mauricio Teixeira 🇺🇸🇧🇷<p>Ideas that you get when walking off to blow out steam: I'll just build a VM inside Proxmox, and try to replicate all the services from one of my Raspberry Pi. If it works, I'll put it in production. 🤔 💡 <br><a href="https://hachyderm.io/tags/HomeLab" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeLab</span></a> <a href="https://hachyderm.io/tags/Proxmox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Proxmox</span></a> <a href="https://hachyderm.io/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> <a href="https://hachyderm.io/tags/nixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixOS</span></a> <a href="https://hachyderm.io/tags/RaspberryPi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RaspberryPi</span></a></p>
NixOS<p>NixOS Meetup in Darmstadt on April 7th, 2025! <br>Join us for great discussions and networking. Open to all!<br>📍 Location: Chaos Computer Club Darmstadt e.V., Wilhelminenstr. 17, 64283 Darmstadt<br>See you there! <a href="https://chaos.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> <a href="https://discourse.nixos.org/t/nixos-meetup-darmstadt-2025-04-07/62264" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.nixos.org/t/nixos-me</span><span class="invisible">etup-darmstadt-2025-04-07/62264</span></a></p>
cafkafk<p><a class="hashtag" href="https://catgirl.farm/tag/nixos" rel="nofollow noopener" target="_blank">#nixos</a> has anyone else seen the security tab lol</p>
flyinggecko<p><span class="h-card" translate="no"><a href="https://eigenmagic.net/@arichtman" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>arichtman</span></a></span> Hey, I'm running adguard home. It has a module for configuration in <a href="https://digitalcourage.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a></p>
Jérémy Garniaux<p>Has anyone ever run <a href="https://mapstodon.space/tags/Mastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Mastodon</span></a> on a <a href="https://mapstodon.space/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> server? Any advice or resources to point me to? </p><p>Asking for a friend, of course. </p><p>(cc <span class="h-card" translate="no"><a href="https://mastodon.trancart.eu/@autra" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>autra</span></a></span> 😇)</p>
Ariel (🐿 arc)<p>Any recommendations for NixOS recursive DNS modules *with denylist integration*?</p><p>There's options for Unbound and DNSmasq but no blocklist integrations. Looking to run something akin to PiHole for my folks.</p><p><a href="https://eigenmagic.net/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> <a href="https://eigenmagic.net/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a></p>
pentane<p>small Nix tool I wrote tonight: nix-binary-cache-gc</p><p><a href="https://codeberg.org/cyclopentane/nix-binary-cache-gc" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/cyclopentane/nix-</span><span class="invisible">binary-cache-gc</span></a></p><p>Essentially it's a garbage collector for static binary caches (i.e. directories that statically contain .narinfo and .nar files and that are served by a regular webserver). It's dependency-aware, and uses the <a href="https://rheinneckar.social/tags/tvix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tvix</span></a> / <a href="https://rheinneckar.social/tags/snix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>snix</span></a> crates.</p><p>(Previously I just deleted all files older than a certain amount of days with find and rm, but that tore up the dependency graphs on the cache and regularly caused errors)</p><p><a href="https://rheinneckar.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a></p>
Mike :nixos:<p>I was today years old when I learned that you can basically package your own shell script as a system wide package in <a href="https://fosstodon.org/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> </p><p>It's like an alias, but better since you can use it anywhere.. pretty cool</p>
OSTechNix<p>Ekapkgs: A Smarter, More Organized Alternative to Nixpkgs <a href="https://floss.social/tags/Nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nixos</span></a> <a href="https://floss.social/tags/Nixpkgs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nixpkgs</span></a> <a href="https://floss.social/tags/Ekapkgs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ekapkgs</span></a> <a href="https://floss.social/tags/SoftwareRepository" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareRepository</span></a> <a href="https://floss.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://floss.social/tags/PackageManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PackageManagement</span></a> <br><a href="https://ostechnix.com/ekapkgs-a-fork-of-nixpkgs/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ostechnix.com/ekapkgs-a-fork-o</span><span class="invisible">f-nixpkgs/</span></a></p>