mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#nixdarwin

1 Beitrag1 Beteiligte*r0 Beiträge heute
Solinvictus :vm:<p>wohoo 🙌 haven’t had a broken package for like 1w, I was wondering when that was about to happen.</p><p>No surprise since I’m on “nixpkgs-unstable” — bleeding edge baby! 🚀</p><p><a href="https://mastodontech.de/tags/nixos" class="mention hashtag" rel="tag">#<span>nixos</span></a> <a href="https://mastodontech.de/tags/nix" class="mention hashtag" rel="tag">#<span>nix</span></a> <a href="https://mastodontech.de/tags/nixdarwin" class="mention hashtag" rel="tag">#<span>nixdarwin</span></a></p>
Ud😷 Sauer<p>Has somebody tested all the tiling windows managers for <a href="https://chaos.social/tags/macos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macos</span></a> using <a href="https://chaos.social/tags/nixdarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixdarwin</span></a> ? And can recommend one?</p>
Rosa Control<p>Since <a href="https://social.vivaldi.net/tags/nixDarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixDarwin</span></a> has to be run as root now, I need to set `SSL_CERT_FILE` on the command line, otherwise fetching stuff over HTTPS fails. What change should I make to avoid it?</p>
Solinvictus :vm:<p>ffs, here we go again ... goddamn it <span class="h-card" translate="no"><a href="https://chaos.social/@nixos_org" class="u-url mention">@<span>nixos_org</span></a></span> why can&#39;t we just have a smooth transition :blobcatfacepalm: </p><p><a href="https://mastodontech.de/tags/nix" class="mention hashtag" rel="tag">#<span>nix</span></a> <a href="https://mastodontech.de/tags/nixos" class="mention hashtag" rel="tag">#<span>nixos</span></a> <a href="https://mastodontech.de/tags/nixDarwin" class="mention hashtag" rel="tag">#<span>nixDarwin</span></a></p>
Heals :heart_nb:<p>Any <a href="https://indiepocalypse.social/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> / <a href="https://indiepocalypse.social/tags/nixpkgs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixpkgs</span></a> users with <a href="https://indiepocalypse.social/tags/nixDarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixDarwin</span></a> and <a href="https://indiepocalypse.social/tags/homeManager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>homeManager</span></a> on macOS out there that have an idea how to cleanly uninstall nix-darwin AND home-manager for a flake based setup?</p><p>I’d like to switch from Determinate Systems nix installer to the for by <a href="https://indiepocalypse.social/tags/Lix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lix</span></a> Systems but it seems the only "documented" way to do so is to:</p><p>1) uninstall nix-darwin including the home-manager module made changes (so I don't toast my system)<br>2) uninstall nix via the Determinat uninstall<br>3) install nix via the Lix Systems installer<br>4) bootstrap nix-darwin<br>5) feed it my flake to get my configuration back</p><p>My problem is that step 1) is not clearly documented anywhere. There is <a href="https://daiderd.com/nix-darwin/#uninstalling" rel="nofollow noopener" target="_blank">this</a> part for removing nix-darwin but it doesn't mention how it'll behave if the home-manager module is in use :|</p><p>I could use some <a href="https://indiepocalypse.social/tags/help" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>help</span></a> here ’</p><p><a href="https://indiepocalypse.social/tags/boostswelcome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>boostswelcome</span></a></p>
Tyler Miller<p>First go at working with Nix, Nix-Darwin, and Home Manager to handle my Mac config. Take a look if you wish. <a href="https://github.com/MillerApps/dotfiles" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/MillerApps/dotfiles</span><span class="invisible"></span></a><br><a href="https://mastodon.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> <a href="https://mastodon.social/tags/nixdarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixdarwin</span></a> <a href="https://mastodon.social/tags/dotfiles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotfiles</span></a></p>
hng<p>I am not completely sure about the structure if settled on for now, but for now it works and fits my use case <a href="https://mastodon.social/tags/homemanager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>homemanager</span></a> <a href="https://mastodon.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> <a href="https://mastodon.social/tags/nixdarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixdarwin</span></a></p>
hng<p>Restructured my <a href="https://mastodon.social/tags/homemanager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>homemanager</span></a> and <a href="https://mastodon.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> configs into one flake and introduced <a href="https://mastodon.social/tags/nixdarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixdarwin</span></a> on the way. Was way easier than I thought!</p>
Solinvictus :vm:<p><a href="https://mastodontech.de/tags/nix" class="mention hashtag" rel="tag">#<span>nix</span></a> <a href="https://mastodontech.de/tags/nixDarwin" class="mention hashtag" rel="tag">#<span>nixDarwin</span></a> <a href="https://mastodontech.de/tags/nixpkgsUnstable" class="mention hashtag" rel="tag">#<span>nixpkgsUnstable</span></a></p><p><a href="https://matrix.to/#/!RRerllqmbATpmbJgCn:nixos.org/$0W3yHp73scGVnLLLk3JNQckyTX1IdG5EIrB2fgECMnw?via=nixos.org&amp;via=matrix.org&amp;via=tchncs.de" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">matrix.to/#/!RRerllqmbATpmbJgC</span><span class="invisible">n:nixos.org/$0W3yHp73scGVnLLLk3JNQckyTX1IdG5EIrB2fgECMnw?via=nixos.org&amp;via=matrix.org&amp;via=tchncs.de</span></a></p>
Solinvictus :vm:<p>With <span class="h-card" translate="no"><a href="https://chaos.social/@nixos_org" class="u-url mention">@<span>nixos_org</span></a></span> , you no longer have to put these in your README.</p><p>“devShell” in, “How to build” instructions — out</p><p><a href="https://mastodontech.de/tags/nix" class="mention hashtag" rel="tag">#<span>nix</span></a> <a href="https://mastodontech.de/tags/nixos" class="mention hashtag" rel="tag">#<span>nixos</span></a> <a href="https://mastodontech.de/tags/nixdarwin" class="mention hashtag" rel="tag">#<span>nixdarwin</span></a></p>
Solinvictus :vm:<p>so proud of myself for managing to combine <a href="https://mastodontech.de/tags/nixos" class="mention hashtag" rel="tag">#<span>nixos</span></a> configuration for 2 hosts into one monorepo and <a href="https://mastodontech.de/tags/nix" class="mention hashtag" rel="tag">#<span>nix</span></a> made it possible in a smooth way!</p><p>As a background, initially these hosts had their configuration split in 2 separate git repos. Although I’ve planned to do that for nearly 3 weeks already, just had to read a lot in order to get the ropes of it. 💯 to the folks @ Discord Nix which guided me ❤️</p><p><a href="https://github.com/dminca/nix-config" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">github.com/dminca/nix-config</span><span class="invisible"></span></a></p><p><a href="https://mastodontech.de/tags/nixdarwin" class="mention hashtag" rel="tag">#<span>nixdarwin</span></a> <a href="https://mastodontech.de/tags/homeManager" class="mention hashtag" rel="tag">#<span>homeManager</span></a> <a href="https://mastodontech.de/tags/darwinConfiguration" class="mention hashtag" rel="tag">#<span>darwinConfiguration</span></a> <a href="https://mastodontech.de/tags/x86_64darwin" class="mention hashtag" rel="tag">#<span>x86_64darwin</span></a> <a href="https://mastodontech.de/tags/aarch64darwin" class="mention hashtag" rel="tag">#<span>aarch64darwin</span></a></p>
Solinvictus :vm:<p><span class="h-card" translate="no"><a href="https://chaos.social/@nixos_org" class="u-url mention">@<span>nixos_org</span></a></span> 🎉 took me 12 days to finally understand how this works &amp; setup but I finally got a working secret management config! Check this out <a href="https://codeberg.org/dminca/nix-config/src/branch/main/secrets/example.yaml" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/dminca/nix-config</span><span class="invisible">/src/branch/main/secrets/example.yaml</span></a></p><p><a href="https://mastodontech.de/tags/security" class="mention hashtag" rel="tag">#<span>security</span></a> <a href="https://mastodontech.de/tags/secretManagement" class="mention hashtag" rel="tag">#<span>secretManagement</span></a> <a href="https://mastodontech.de/tags/nix" class="mention hashtag" rel="tag">#<span>nix</span></a> <a href="https://mastodontech.de/tags/nixDarwin" class="mention hashtag" rel="tag">#<span>nixDarwin</span></a> <a href="https://mastodontech.de/tags/x86_64darwin" class="mention hashtag" rel="tag">#<span>x86_64darwin</span></a> <a href="https://mastodontech.de/tags/aarm64darwin" class="mention hashtag" rel="tag">#<span>aarm64darwin</span></a></p>
JevidL<p>Perhaps someone who is familiar with NixOS/nix-darwin can give me a point in the right direction. </p><p>I'm trying to use nix-darwin on an M1 laptop running Sonoma, but packages seem to be behind. As an example, if I lookup Atuin in nix-packages.org, I can see that 23.11 has v 17, and unstable has v18. </p><p>I have tried running nix-channel --update darwin, but this does not seem to change anything; I still get v15 of atuin on my system. What am I missing? </p><p><a href="https://ono-sendai.jevidl.net/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> <a href="https://ono-sendai.jevidl.net/tags/NixDarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixDarwin</span></a></p>
lj·rk<p>Switched my <a href="https://todon.eu/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> installation on <a href="https://todon.eu/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> from the original installer to the one by <span class="h-card" translate="no"><a href="https://hachyderm.io/@determinatesystems" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>determinatesystems</span></a></span>. Since that one disables channels in favor of flakes by default, I also took the opportunity to use Nix more properly instead of just running `nix-env -i` when needed :'-)</p><p>Ended up looking at <a href="https://todon.eu/tags/nixDarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixDarwin</span></a>, <a href="https://todon.eu/tags/HomeManager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeManager</span></a> and <a href="https://todon.eu/tags/Fleek" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fleek</span></a>. To a complete newb like me the differences where rather hard to grasp</p><p>nix-darwin tries to replicate the feel of <a href="https://todon.eu/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> on macOS – something I couldn't comprehend since I never ran NixOS. More generally though, in NixOS, Nix is used to manage the whole OS (duh) and defines the system-wide installed/configured packages/environment. As such, nix-darwin replicates this style of providing a system environment on macOS.</p><p>home-manager shifts this concept to a per-user basis. The configuration system is quite similar, just per-user.</p><p><a href="https://todon.eu/tags/Fleek" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fleek</span></a> is a Go tool to generate home-manager configurations from YAML.</p><p>Now, you can also install home-manager as a nix-darwin (on macOS) or NixOS (on... NixOS) module, which allows upgrades of the homes through the system wide Nix upgrade process.</p>
Jake Hamilton<p>So I completely nuked my <a href="https://hachyderm.io/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> install on my <a href="https://hachyderm.io/tags/MacBook" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MacBook</span></a>. I uninstalled <a href="https://hachyderm.io/tags/NixDarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixDarwin</span></a>, uninstalled Nix, upgraded the OS, reinstalled Nix, and then ran `nix-darwin switch` on my existing config. The longest part was waiting for <a href="https://hachyderm.io/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> to update! Everything is exactly as I had it, apps, tools, config, and all! Even my tiling window manager (named <a href="https://hachyderm.io/tags/Yabai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Yabai</span></a>) is working great after switching to the latest version!</p>
Benedikt Ritter (he/him)<p>Does anybody have experience with / an example for installing a JDK on Apple Silicon with Nix? The jdk package in nixpkgs is not available for aarch64-darwin. <a href="https://chaos.social/tags/nixos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixos</span></a> <a href="https://chaos.social/tags/nixdarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixdarwin</span></a> <a href="https://chaos.social/tags/applesilicon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>applesilicon</span></a> <a href="https://chaos.social/tags/macos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macos</span></a> <a href="https://chaos.social/tags/nixpkgs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nixpkgs</span></a> <a href="https://chaos.social/tags/java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>java</span></a> <a href="https://chaos.social/tags/jdk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jdk</span></a></p>
Paco Velobs<p>Hey, <a href="https://mamot.fr/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> and <a href="https://mamot.fr/tags/NixDarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixDarwin</span></a> and <a href="https://mamot.fr/tags/HomeManager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeManager</span></a> users 👋 </p><p>Who also happen to use <a href="https://mamot.fr/tags/TMux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TMux</span></a> with <a href="https://mamot.fr/tags/Resurrect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Resurrect</span></a> plugin.</p><p>Ok, it's a lot to ask.<br>Still, do you know why :<br>1. TMux does not restore its state on lauch (I have to do it by hand) ?<br>2. The restored sessions and panes do not restart <a href="https://mamot.fr/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> /#NVim ?</p><p>I had <a href="https://gitlab.com/pcoves/tmux/-/blob/086a3aff931f14e2a6ad252ef9b2cdc297f40afd/.config/tmux/tmux.conf#L42-56" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitlab.com/pcoves/tmux/-/blob/</span><span class="invisible">086a3aff931f14e2a6ad252ef9b2cdc297f40afd/.config/tmux/tmux.conf#L42-56</span></a> before moving to <a href="https://mamot.fr/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a> and it worked like a charm.<br>Now, not only can't I use my config file (💩) but the <a href="https://mamot.fr/tags/HomeManager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeManager</span></a> one fails at my most beloved feature.</p>
Steve Streza<p>If there is a canonical Git repo and pile of docs to point to that lets me build a pile of machines with:</p><p>- machines with NixOS + home-manager<br>- Mac machines with nix-darwin + home-manager<br>- multiple machines on Debian or whatever + Nix store + home-manager<br>- some easy way to toggle things on/off in the config (e.g. put work apps on work machines but NOT on personal machines, put GNOME on desktops but NOT on servers, etc)<br>- all in flakes</p><p>Please drop links 🙏 <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> <a href="https://indieweb.social/tags/NixDarwin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixDarwin</span></a> <a href="https://indieweb.social/tags/HomeManager" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeManager</span></a></p>