AnimatedShortOfTheDay, to Taiwan
@AnimatedShortOfTheDay@socel.net avatar
publicvoit, to NixOS
@publicvoit@graz.social avatar

If you're unsure if #NixOS is worth a switch, read my thread from https://graz.social/@publicvoit/112197919942153866 & decide whether or not those questions would relate to you before jumping onto that hype.

I don't say that everybody has those issues. However, those are my takeaways so far including my optimistic start: https://www.karl-voit.at/2023/09/12/nix/

Probably start with your current distro together with #HomeManager first. That should bring you early feedback if at least the config concept is something for you.

#Nix #flakes

publicvoit, to NixOS
@publicvoit@graz.social avatar

update after sleeping for one month on host floyd (lenovo x260) takes 1 hour and 15 minutes (despite new 2TB SSD). During that, the device is almost non-responsive for anything else.

Host jackson (with even a slightly larger setup) probably would need 5-10 minutes maximum (lenovo t490). (I do weekly updates there.)

Didn't had that update "performance" while using Xubuntu LTS before. 🤔

https://github.com/novoid/nixos-config

mikewink, to NixOS
@mikewink@mastodon.social avatar

Okay, I have a weekend ahead, and some spare time. Should I take a look at and ?

From what I see and read, it is an insanely powerful tool, but also not easy to master.

Thanks to I can simply create a nixOS machine or install nix into any other of the major distros available.

It would be nice to get some familiarity with it and use less wherever possible.

dedsyn4ps3,
@dedsyn4ps3@fosstodon.org avatar

@mikewink is a total gamechanger in terms of system management and stability...not to mention the awesomeness that is !

I've been using it as a daily driver on several devices now for over a year coming from . Even better though, is I can still use bleeding edge Arch from inside NixOS to develop certain applications! 🙌🤘😎 :nixos: :arch:

abcdw, to guix
@abcdw@fosstodon.org avatar

I wrote a note to reply @civodul's message, but I think it's a good reading about Reproducible Development Environments with Guix on its own.

https://github.com/abcdw/notes/blob/4883840e6/notes/20240210123238-2024_02_10_guix_workflow.org

Let me know what you think.

Original thread:
https://fosstodon.org/@abcdw/111900079522888397

abcdw, to guix
@abcdw@fosstodon.org avatar

The tool for programmatically updating guix channels and package definitions in your project would make life so much easier.

Something like niv or flakes for nix.
https://github.com/nmattia/niv
https://nixos.wiki/wiki/Flakes

Have it in my mind for months or even years.

ljrk, to random
@ljrk@todon.eu avatar

I love how my personal update script with on looks like this:

$ update  
[+] Updating home flake  
warning: updating lock file '/Users/janis.koenig/.config/home-manager/flake.lock':  
• Updated input 'home-manager':  
'github:nix-community/home-manager/b84191db127c16a92cbdf7f7b9969d58bb456699' (2024-01-17)  
→ 'github:nix-community/home-manager/d634c3abafa454551f2083b054cd95c3f287be61' (2024-01-28)  
• Updated input 'nixpkgs':  
'github:nixos/nixpkgs/c3e128f3c0ecc1fb04aef9f72b3dcc2f6cecf370' (2024-01-15)  
→ 'github:nixos/nixpkgs/c002c6aa977ad22c60398daaa9be52f2203d0006' (2024-01-27)  
[+] Buidling and switching to new generation  
Starting Home Manager activation  
Activating checkFilesChanged  
...  
Activating installPackages  
replacing old 'home-manager-path'  
installing 'home-manager-path'  
building '/nix/store/cbq0lvj9d4h7py3mxki5bszhz5wnp580-user-environment.drv'...  
Activating linkGeneration  
Cleaning up orphan links from /Users/janis.koenig  
Creating profile generation 31  
Creating home file links in /Users/janis.koenig  
Activating onFilesChange  
Activating setupLaunchAgents  
There is 1 unread and relevant news item.  
Read it by running the command "home-manager news".  
[+] Changes:  
...  
Version 30 -> 31:  
ada-grammar: 0.0.0+rev=f21f13a → 0.0.0+rev=ba0894e  
...  
nobodyinperson, to python
@nobodyinperson@fosstodon.org avatar

I have been struggling hard doing proper :python: development on :nixos: .

pip install'ed binary packages (numpy et. al) don't work (i.e. don't find system libraries like libz libstdc++ etc.), making scientific data analysis completely impossible. The workarounds (using the nixpkgs versions or setting LD_LIBRARY_PATH) are not viable.

With this flake template (the clue is preferWheels=true) it seems I can finally work properly:

https://gitlab.com/nobodyinperson/flakes/-/tree/main/poetry2nix

publicvoit,
@publicvoit@graz.social avatar

@nobodyinperson Oh yeah, thank you very much.

Still on my todo list: finding a tool that is able to convert setup.py + requirements.txt to pyproject.toml files for migrating dozends of projects.

If not, learning how to write all of them from scratch without swearing too much on and/or - I don't know. 😜

iooioio, to nix in Flakes aren't real and cannot hurt you: a guide to using Nix flakes the non-flake way
@iooioio@fosstodon.org avatar

@Atemu I was expecting a how-to but this includes a really great critique of too. Thanks for sharing!

nobodyinperson, to random
@nobodyinperson@fosstodon.org avatar

Another :nixos: quirk:

If I see this correctly, local file dependencies included in the flake (next to it, in the same git repo) are copied into the nix store by taking the git-tracked content (i.e. what 'git show' spits out) instead of what's actually on-disk.

This is fatal for :gitannex: -tracked dependencies in the repo, because then you end up with non-nix (or whatever) files in the nix store (e.g. a text file with /annex/objects/bla content).

WTF

oscarmlage, to NixOS

What would you recommend to replace a compose with multiple services (MySQL, a couple of Go binaries listening on different ports and connecting to MySQL, and a Nginx serving as a transparent proxy) in - - and is compatible with 's launchd services? devshell, direnv, processmgmt...? Any similar experiences? (boosts are welcome, tia)

publicvoit, to NixOS
@publicvoit@graz.social avatar

releases notes contain comments on settings & tools.

Is there some tool that is able to parse those release notes & annotate all the lines of my Nix config that might be related to parts of it?

Or at least filter the notes so that only relevant parts with respect to my configuration are shown?

I don't mean the hints I get during upgrade. I'd like to have an independent tool I might run even when I don't want to upgrade at the moment.

I won't mind false positives.

tokudan, to random
@tokudan@chaos.social avatar

has a huge issue. Years ago the idea of started to take shape. Great idea, let's mark it as experimental, it may change over time.
Now years later, it still is experimental, but everything pretty much depends on it.
Nix is in a state where half of the ecosystem expects an experimental feature, that somehow has become central, but cannot become stable.

That's a warning sign to me to look at alternatives to nix.

publicvoit, to NixOS
@publicvoit@graz.social avatar

5 Reasons You Should Avoid Using
https://www.youtube.com/watch?v=NEbzVKkjXUg

I like NixOS but from where I stand, those reasons are absolutely valid reasons NOT to use NixOS at all.

Where I stand: https://www.karl-voit.at/2023/09/12/nix/

gnulinux, to NixOS German
@gnulinux@social.anoxinon.de avatar

Das NixOS & Flakes Buch

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

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

vascorsd, to random
@vascorsd@mastodon.social avatar

Creating and modifying flakes using the FlakeHub CLI - https://determinate.systems/posts/fh-updates

publicvoit, to NixOS
@publicvoit@graz.social avatar

I'm still a rookie but for my setup I do think I've found a really nice nugget I need to share with you: https://github.com/viperML/nh "Yet another nix cli helper"

I do like its "nh os switch --ask" so much more than the standard "nixos-rebuild switch --flake". 🤓

You should give it a try as well!

chfkch,
@chfkch@ruhr.social avatar

@publicvoit
Looks intetesting. Especially the diff of packages.

publicvoit, to NixOS
@publicvoit@graz.social avatar

I Started With , , and https://www.karl-voit.at/2023/09/12/nix/ ❄️

My whole story about changing my distro from to NixOS and what I've learned so far.

If you would like to learn what Nix is and find out if this is something for you, you might be interested in my article.

chfkch,
@chfkch@ruhr.social avatar

@publicvoit
Regarding your LUKS password issue. Could it be that you are using a LVM block (?) on the machine where you have to type in the password once?
And on the other host you have to decrypt ever single partition?

I think i have the latter case on my guix setup, which u did manually. The former on my NixOS hosts per installer.

publicvoit, to NixOS
@publicvoit@graz.social avatar

I've published my configuration files: https://github.com/novoid/nixos-config

and more

publicvoit, to NixOS
@publicvoit@graz.social avatar

Will allow me to keep instead of forcing me to adapt in the upcoming years?

Any opinions on that?

Background:

I do like x-forwarding within my LAN. I work on business machine, ssh to my personal host and simply start any application which pops up on my local machine. This also worked with sound forwarding.

I never play computer games and so I do think that Wayland doesn't necessarily offer me much advantage over Xorg while I've read that x-forwarding won't be possible.

publicvoit,
@publicvoit@graz.social avatar

@pludikovsky There are plenty of intros. However, they cover different levels and topics and is not NixOS if you take and into account.

Same goes for all syntax "missions" here: it depends on your setup and what you want to do.

For me, almost anything was a new adventure to me until I found out how to do it. 🤷

That's the bad part of NixOS IMHO.

feno, to NixOS German

Guten Morgen Community. Bei meinem gestrigen ThunderbirdV115-Thema ist deutlich geworden, dass ich mir mal ansehen sollte. Wo finde ich gute Infos dazu? Und sollte ich mich vorher mit dem Home Manager auseinander setzten?

publicvoit, (edited ) to NixOS
@publicvoit@graz.social avatar

I'd like to publish my configuration (incl. + ) soon.

With it seems easy to look for configuration examples: https://github.com/search?q=lang%3Anix&type=repositories (1.2M code, 1.8k Repositories). 👍

However, doesn't seem to support a similar search method: not a single hit for each:
https://gitlab.com/search?search=xfconf
https://gitlab.com/search?search=homemanager
https://gitlab.com/search?search=nixos-configuration

Related: https://docs.gitlab.com/ee/user/search/

It looks like GitLab isn't the proper place for my config when I want to be found.

chfkch,
@chfkch@ruhr.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • InstantRegret
  • tacticalgear
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • modclub
  • everett
  • ngwrru68w68
  • anitta
  • Durango
  • osvaldo12
  • normalnudes
  • cubers
  • ethstaker
  • mdbf
  • tester
  • GTA5RPClips
  • cisconetworking
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines