Three Years of Nix and NixOS: The Good, the Bad, and the Ugly
Three Years of Nix and NixOS: The Good, the Bad, and the Ugly
A review of Nix/NixOS after using it on all my machines for three years. I'll cover what works, what doesn't, and why it's the first OS that's stuck with me.Pierre Zemb's Blog
like this
Starlink's Secret War: How Musk Is Powering a Covert Campaign Against Iran
Elon Musk Activates Starlink to Help Topple Iran’s Regime
After a Trump advisor called for regime change, Musk activated Starlink to aid a covert U.S. effort to undermine Iran’s government.Alan Macleod (MintPress News)
The Best-Selling Apps Made By Israeli Spies
The Best-Selling Apps Made By Israeli Spies
A new frontier for the BDS movementNate Bear (¡Do Not Panic!)
like this
Brazil's Victory for Digital Sovereignty
Brazil's Victory for Digital Sovereignty
Despite years of campaigning for impunity by the Bolsonaros and the American far right, a Supreme Court ruling has increased social media corporations' accountability for internet crimes.Brian Mier (De-Linking Brazil)
like this
like this
Telesur is not going to get censored by Brazilian law lmao, if platforms did that it would be a reprisal for being made to follow Brazilian law.
There is no good argument for the US oligarchy to get final say over the govts of the countries using their services, but this is even crazier to say when US platforms are littered with mysteriously unmoderated Nazi content. Get real?
like this
I'm the one spinning fairy tales?? You're telling me that these companies aren't already blocking people in accordance with their own policies shaped by those very organizations? I just think there is a misunderstanding here, because Bolsonaro would never do anything like this but you're reframing it as a win for him.
I sure hope nobody thinks of Brazil as a magic kingdom where only good things happening. For the govt there to actually grow a backbone and limit the influence of the orgs that are encouraging their petit boug to be little pro-US Evangelical nightmare beings would ve fantastic. The dominance of US tech & media is very very bad and other countries need actual sovereignty (like enforcing their laws on multinational companies and not legalizing their activities - at a bare minimum, as relying on them at all is a result of being deliberately underdeveloped)
These companies are very entwined with US state power it's imperialism and the privatization of the state that is an issue not third world sovereignty itself
like this
No it's not! I hope you can see that uninhibited unlawful access by multinational media & telecom companies is exactly what leads to the establishment of comprador figures like Bolsonaro, who dislike Telesur's politics.
I'm actually glad you've raised this, as it helps me develop my thoughts on social libertarian left tech activism & its limitations. One of its dubious accomplishments is watering down the wrongs done by the US & allied governments with pop social science into generic anti-authoritarian rhetoric, and opposing actions by neo-colonized countries which limit foreign soft power + capital
like this
In 2014, after years of debate, Brazil's Congress ratified Law 12.965/2014, the Internet Civil Framework. This law required social media companies to delete posts and deplatform users who broke Brazilian laws. However, it placed the burden on Brazilian courts to identify the posts and accounts.
Is this meant to apply to all "users" of the platform or only Brazilian Citizens?
If it applies to Brazilian Citizens, that's all fine and good. But if I break brazilian law by criticizing their government, is lemmy.ml expected to "deplatform" and "censor" me?
I read the article. In-fact I started this thread asking for clarification to whom these laws apply. Then you went off on a tangent about Zuckerberg and implied i'm a "chud." So let me state how I think these laws apply, tell me if this is correct.
The Nation of Brazil passes a law that says the users of a website have to abide by Brazil's laws. I don't know what they meant by that, I assume lemmy.ml that is not hosted in Brazil isn't expected to know nor care about what Brazil's laws say. But if that were the case, then Facebook also wouldn't be expected to know nor care about what Brazil's laws say. The citizens of brazil that use facebook? Sure, they should be subject to those laws. But why should any other entity that exists outside of Brazil be obligated to know nor care about Brazilian law?
Those details seem pretty important, and the article doesn't address them at all, it merely says that Brazil's supreme court says that website are required to "deplatform" and "delete posts" of users who broke the law. But why should lemmy.ml abide by brazilian laws?
Lemmy.ml should abide by Brazilian laws because otherwise they'll get blocked in that country. I'm not much of a free speech fanatic. Ideally if people post a bunch of Nazi shit then Brazilian ISPs will be legally obliged to block it. The socdems in Brazil are rather lame so I have little faith in all of the "dark humor" Fb and Telegram groups getting nuked.
I'm not a lawyer, but, if you understand this isn't even a new law and it's just the end of impunity for US companies I don't see why you would frame this as an imminent threat to free speech. That's why I doubted you read.
Taiwan to simulate Chinese invasion in major drill
like this
[Question] Fedora KDE defaults to console mode if I don't turn on the display during boot-up
startx
isn't hard, but I would like not to. Tnx!
Milfy Way, or Milfky Way.
\
(Aka The way of the milf.)
It's such a shitty joke (my brainhole entertains itself in the stupidest, nonsensical, basic ways).
I hope all of you tankie roaches meet the same fate as Donbas cowboy, Russell Bentley.
Bentley’s wife, Lyudmila, then claimed that Russian soldiers from a tank battalion abducted him.According to the Investigative Committee, Vansyatsky, Agaltsev, and Iordanov tortured Bentley on April 8, and he died shortly afterward.
Vansyatsky and Agaltsev are suspected of blowing up a car with Bentley’s body in it and ordering Bazhin to get rid of what was left of his remains.
Imagine what was going through Bentley's mind as his fellow Russians were torturing him to death.
You are all vile and disgusting scum. Let's hope one day you get to experience Bentley's last moments.
Better late then never, right?
I hope Dessalines in particular gets a taste of russian culture by getting closely acquainted with some champagne bottles (russian style).
Russian Soldiers Charged With Involvement In American's Death
Russell Bentley, a Texas man who as the "Donbas Cowboy" gained notoriety for joining Russian-backed forces in eastern Ukraine, was tortured before being killed in the Russian-occupied Ukrainian city of Donetsk, Russian authorities said.Current Time (RFE/RL)
OBS does not allow me to create a new pipewire screen (only one works)
How come when I try to create a new obs screen, it is black, whether or not i toggle off the visibility on Screen Capture
and how do i get it to show the capture settings, like which monitor, or what portion of the screen, to be clear, the! first capture works, for some reason no other capture i try to create is letting me configure or display anything
^ Image \
pastebin.com/AzKCZ8Tt \
^ Logs \
imgur.com/a/K7pMA4p
\
^ Video \
There is a chance this might be related to another issue I had, but I dont know a fix (I have to manually add what portals I want to install due to a bug, but I have the plasma portals so that should be enough?)
debug: Found portal inhibitordebug: Attempted path: /app/bin/../share/obs/obs- - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.Pastebin
There's a multitude of things going on here probably, but you need some debug logs to find. My guess is because your machine probably has multiple GPUs enabled, it's picking the inactive one, or you have multiple portal methods install and it's choosing the wrong.
Can you get some logs?
I have the hyprland portals installed, and the kde ones, due to some issue I had to explicitly install them so idk if that will mess with the way applications handle it, assuming not, and yes I have two gpus, one dgpu, and one igpu, the dgpu is directly connected to my hdmi, does OBS stuggle with 2 gpus? still, that sounds like it would be a issue with capturing the monitor managed by my igpu. Not a reason to stop a second pipewire capture.
What logs do you need? I provided some from running OBS but i assume it isnt enough, what logs should I collect, or is there a flag i need to run with OBS
Missed your logs link, but there's some hints in there.
You have both an Intel GPU and Nvidia GPU in that laptop, and it's selecting your Intel while trying to use Nvidia compatible settings. So you need to try and force everything to either work on Nvidia, or everything to work on Intel. It can't do both without splitting the settings per GPU, which I don't think is an option in OBS.
I tried nvidia-offload, as I set up PRIME awhile ago, it didnt help, here is the logs, if its useful:
pastebin.com/CiJ4Zyjw
Idk if OBS would actually respect the GPU being handed to it, or if it'll do something weird with screen capture, its weird per-gpu settings is not a option with OBS, if this is a OBS bug, i can file a bug report. Hopefully it can be resolved here.
[spiderunderurbed@daspidercave:~/tmp2]$ nvidia-offload flatpak run com.obsproj - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.Pastebin
Well in that log, it actually DOES use the right GPU. There are some other errors you have going on in there though, like you seem to have AV1 encoding selected somewhere in your settings, but this RTX 3070 doesn't support AV1 encoding (on the fly) AFAIK.
Try launching the app this same, setting all your hardware encoding stuff back to defaults, then see if you can get it working. In these logs it IS picking up the second pipewire display, so that's good, but launch this way again without AV1 enabled then upload the logs again and let's see what's happening.
GE-Proton10-8 Released
- Fix doom eternel black screen regression when using wine-wayland
- disable steam input and xalia in wine-wayland (they dont work with it) and enable sdl instead
- add protonfixes for Blade & Soul NEO -- game is now playable but there is a known crash in-game when you open the settings. Opening the settings at character select works fine
- add protonfix to set SteamOS=1 for Wuthering Waves --game is now playable
Release GE-Proton10-8 Released · GloriousEggroll/proton-ge-custom
Fix doom eternel black screen regression when using wine-wayland disable steam input and xalia in wine-wayland (they dont work with it) and enable sdl instead add protonfixes for Blade & Soul NEO -...GitHub
Back in Action Netflix Review - Is It Worth Watching?
To Get More Detail Review Of This Movie Visit The Blog...
Technology giants Alphabet (GOOGL.O), opens new tab, Amazon (AMZN.O), opens new tab, Microsoft (MSFT.O), opens new tab, and IBM (IBM.N), opens new tab were named as "central to Israel's surveillance apparatus and the ongoing Gaza destruction."
First as tragedy, then as… also tragedy. IBM and the Holocaust
IBM and the Holocaust: The Strategic Alliance between Nazi Germany and America's Most Powerful Corporation is a book by investigative journalist and historian Edwin Black which documents the strategic technology services rendered by US-based multinational corporation International Business Machines (IBM) and its German and other European subsidiaries for the government of Adolf Hitler from the beginning of the Third Reich through to the last day of the regime, at the end of World War II when the US and Germany were at war with each other.Published in 2001, with numerous subsequent expanded editions, Black outlined the key role of IBM's technology in the Holocaust genocide committed by the German Nazi regime, by facilitating the regime's generation and tabulation of punched cards for national census data, military logistics, ghetto statistics, train traffic management, and concentration camp capacity.
What is happening on Programming.dev instance?
Date systems in Excel - Microsoft Support
Learn about the 1900 and 1904 date systems and how to change the default if necessary.support.microsoft.com
I thought about that, but decided to leave it as an exercise for the reader.
Don’t forget that Integer8 (the middle dragon) counts increments of 100 nanoseconds, because… reasons.
And don’t forget that 1900 still is a leap year in Excel.
I have been able to outsource low level parsing to third party libraries
Hahaha!!!
Today I watched a Java server crash because a library decided it needed more than 3GB of heap space to read a 10MB file. That was after manually removed background colors from around 100,000 cells, which apparently caused the parser to create even more objects in its internal representation of the sheet.
Yeah, I get it. I've had many libraries fail me in as many ways, which is why I consider it lucky to not have to implement my own. I work in .net these days, but there have been times where I had to just dig into the xml inside the xlsx and use xml tools. Those were mostly one-offs, thankfully.
Back when I did Java I had a frustrating experience with IBM's libxml causing our app to crash after several days due to a memory leak. I didn't have access to the production environment so it took me probably 3 weeks to find the cause and only after digging through a crash dump provided by the sysadmin. Not related, but you triggered my traumatic memory 😀
And don’t forget that 1900 still is a leap year in Excel.
Thank you! Saying this finally made me realize why I always need to add/subtract one day when I’m trying to convert dates to and from the Excel representation. 🤦
Converting numbers is easy
Explanation (which might be wrong, since I’m writing this after banging my head against a wall. Please do correct me if I’m wrong):
In regular numbering systems (i.e., decimal), we exhaust all 10 digits (0–9) before we reach two-digit numbers. The first number to require 3 digits is 10². The first to use 4 is 10³, and so on.
In music intervals, there is no “0”. The interval c’–c’, for instance, is called a prime (1). This has the funny consequence that moving by a fifth and then by a fourth doesn’t land you on the ninth, but the octave (8). Moving by an octave and then another octave gets you to the 15th, not the 16th.
In Excel, shit hits the fan when you need to convert column names (A, B, C…) to numbers (0, 1, 2…). Since we use 26 characters as our ‘digits’, we’re in the hexavigesimal system. Knowing what I told you in the first paragraph, you’d expect the first double-digit column (AA) to be 26. And you’re right.
However, when do we need 3 digits? Which column is column AAA? A sane person would say it’s 26², so 676. Ha! No. Column number 676 is actually ZA. What gives? Well, we only ditch the zero for single digit numbers. All subsequent columns actually use 27 different characters, the ‘empty character’ being one of them. That’s where we get the ‘single digit’ – there actually is a second digit, only it’s empty.
So the column AAA actually has index 702, or 26×27. Which index does the column AAAA have? 26×27². The system of adding powers of the base works, only we changed bases midway through.
You can see the lopsidedness in the index lookup table (I’m not displaying all characters for brevity). Sane number systems have square tables. Excel’s is 26×27 (shown are 4×5).
like this
I can track my old lease car
So, I still receive telemetry information from my old lease car, a Kia e-Niro, to my app. A huge, HUGE privacy issue.
I made sure to remove my profile from the car before turning it in, and doing a factory reset of the car's software.
I can see everything, AC, whether there are doors open, odometer, and above all, location.
Also tried to see if I can turn off the AC, but any commands throw an error, so disabling my account on the car at least did something 😅
I had it in the Netherlands, it's in Poland, and it looks like it's on its way to Ukraine.
Kia, you need to check your security.
Edit:
Holy shit it gets real bad. I can lock and unlock the car.
like this
Nissan does this too. I leased a new Kicks when they came out and HATED it. Seats were terrible, car was underpowered, and some jackass decided to program the cvt to "shift" because Nissan got complaints that the car was stuck in gear. Just learn how a CVT works.
Anyways, 4 years later, I still get emails about monthly maintenance work, tow alarms, and tracking updates. I never asked for them to begin with and I guess I'm stuck with it as a VW guy now.
Elon Musk fonda il suo partito dopo il sondaggio su X: «Oggi nasce l'America Party per restituirvi la libertà »
L'intelligenza artificiale Grok è pure diventata un sondaggista per l'occasione. 😂
Secondo la sua intelligenza artificiale, Grok, la nuova formazione potrebbe assestarsi intorno al 5-10%, rompendo così il granitico bipolarismo americano.
Elon Musk fonda il suo partito dopo il sondaggio su X: «Oggi nasce l’America Party per restituirvi la libertà»
L’annuncio segue un sondaggio lanciato dal miliardario il 4 luglio, in cui il 65% degli americani si è detto favorevole alla nascita di una nuova formazione politicaUgo Milano (Open)
reshared this
por qué elegí Tuta como mi servicio de correo electrónico
-precio justo
- empresa fiable, no venden tus datos
- la mejor opción si necesitas varios dominios o alias con varias bandejas de entrada
- servicio de calendario
- aplicación móvil multiplataforma, escritorio para Linux mantenido
-Me encanta el modo offline
-Privacidad
-utiliza y apoya el software libre
¿Más información? tuta.com/es
Tuta: Activa gratis la privacidad de tus correos electrónicos, calendarios y contactos | Tuta
Tuta garantiza la privacidad de tus datos de forma gratuita y sin publicidad. El cifrado quantum resistente hace de Tuta la mejor solución tecnológica segura para proteger tu privacidad.Tuta
Por qué elegimos Tuta
Por qué elegimos Tuta
Tuta es un servicio de correo electrónico seguro con sede en Alemania. Lo que diferencia a Tutanota es su enfoque centrado en la privacidad. Esto significa que no tienen acceso a tus datos, y su servicio es uno de los más discretos de comunicación por correo electrónico.
Con una interfaz limpia y sencilla, libre de distracciones inútiles, Tuta es una opción válida para quienes buscan seguridad con privacidad. Es sencillo, funciona, ¡es Tuta!
Recupera tus datos, con el correo electrónico, el calendario y la agenda de contactos, encriptados, de Tuta.
más en tuta.com/es/email-comparison
Tuta: Activa gratis la privacidad de tus correos electrónicos, calendarios y contactos | Tuta
Tuta garantiza la privacidad de tus datos de forma gratuita y sin publicidad. El cifrado quantum resistente hace de Tuta la mejor solución tecnológica segura para proteger tu privacidad.Tuta
The effects of Lemm.ee shutdown can already be seen.
Fediverse Observer checks all sites in the fediverse and gives you an easy way to find a home from a map or list or automatically.
Lemmy Sites Status. Find a Lemmy server to sign up for, find one close to you!lemmy.fediverse.observer
like this
Native version of Unreal Tournament 2004
I recently switched to Nobara and I'm currently trying to get everything to work. I'll be a bit spammy here looking for help, I hope that's ok.
Today I would like to install my retail version of Unreal Tournament 2004 that came on a DVD.
I got the installer for the native Linux version to run and copied over the latest patch. But when I try to run the game i get./ut2004-bin-linux-amd64: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
I tried to install libstdc++ through dnf and got
Package "libstdc++-15.1.1-2.fc42.x86_64" is already installed.
Package "libstdc++-15.1.1-2.fc42.i686" is already installed.
In /root/lib I habe a libstdc++.so.6
Does ".so.5" mean I need version 5. How do I get the version Unreal Tournament 2004 wants?
Or would it be easier to use the Windows version through Wine?
edit: managed to get the native version to run: feddit.org/post/15075302/76663…
With the help of this forum post and a bit of persistence I managed to get it to work and I wanted to share how with future generations and/or my future self.
First Problem: libstdc++.so.5
dnf does not have libstdc++5 but apt does.
Solution: I installed Mint on a Virtual Machine ran sudo apt install libstdc++5
and then copied the library to my real machine into the system directory of UT2004. The game now starts. I know there must be a better way to solve this.
Second Problem: Game starts in a tiny window stuck in the top left corner
Alt+Enter switches it to a real window that makes the game useable, but setting a proper resolution and trying to make it fullscreen again crashes the game.
Solution: Open /home/user/.ut2004/System/UT2004.ini, go to the [SDLDrv.SDLClient] section and set all lines with viewport to the desired resolution.
Third Problem: No sound
UT2004 uses the obsolete OSS sound system.
Solution: Run the game under a compatibility wrapper. Debian and derivatives have aoss available. Fedora and derivatives have padsp. Thus run the game with padsp "./ut2004-bin-linux-amd64"
and the sound works.
Anyone have experience with Zen Privacy app? (not the browser)
Zen
Zen is a simple, free and efficient desktop application that helps you browse the internet and use your apps without annoying ads, trackers, or hidden threats.zenprivacy.net
Anyway it's always good to use this and similar apps on the PC, in Mobile maybe InVizible Pro (F-Droid version please).
Safing Portmaster - Easy Privacy
Portmaster is a free and open-source application that puts you back in charge over all your computer's network connections. Increase your privacy and security. Get peace of mind.safing.io
Best YouTube Frontend for iOS
It would be nice if it also had features like SponsorBlock.
like this
Orion Browser on iOS/iPadOS is compatible with (some, not all) Firefox/Chrome addons. Add SponsorBlock for YouTube, uBlock Origin and Video Background Play Fix from addons.mozilla.org and use the YouTube website as is?
Used to run my own Invidious instance I used with Yattee but it got banned and then for some reason ate shit and died completely.
add-ons on Orion
It's great to know that they are working better now, last time I tried almost none was functionnal and it was quite a pain to install / uninstall / switch source (Firefox / Chrome version) in the hopes of it finally working. I’ll have a look, since then I’ve been using Brave + piHole and it was more or less decent.
Counting Crows - Underwater Sunshine (2012)
A quattro anni dal loro ultimo disco "Saturday Nights and Sunday Mornings", i Counting Crows ritornano con un nuovo lavoro e questa volta è un disco di cover, spiazzando ancora una volta i loro fan. Ad Adam Duritz & co. infatti, una cosa su cui non si discute è la libertà di "scelta", in poche parole fanno quello che gli pare senza filtri e costrizioni di sorta... Leggi e ascolta...
Challenges meeting new people without an Instagram account
I’ve been trying to meet new friends and new people to hang out with so have been going to a lot of social events.
I noticed that everyone seems to ask for my instagram account and when I say I don’t have one that connection kind of dies, and it feels too personal to ask for someone number when I just met them.
I don’t want to create an instagram because of the privacy invasions of meta but I also don’t want to feel left out when trying to make new connections. Anyone have any advice?
like this
The AI Company Zuckerberg Just Poured $14 Billion Into Is Reportedly a Clown Show of Ludicrous Incompetence
The AI Company Zuckerberg Just Poured $14 Billion Into Is Reportedly a Clown Show of Ludicrous Incompetence
The data annotation company Scale AI that Meta splurged $14 billion to take ownership of was reportedly overrun with "spammers."Frank Landymore (Futurism)
like this
Researching making the switch from Windows on my main PC and I have questions.
This PC is basically my life, I use it for work (freelance business), entertainment, and to self host a server so I'm hesitant. I have a handful of questions for now while I look into it more:
- I'd prefer not to dual boo, but it might be the safest way to start? If I dual boot, get used to Linux and (hopefully) get everything I need working, can I then go from dual boot to erasing the Windows partition and recombining so I then only have Linux installed and can keep the work and programs I already installed on Linux?
- I do voiceover work, music production, and digital art/photography. Anyone else here do all this and what programs would you recommened to replace Audition, Photoshop, and Cubase?
--2.1. Regarding music production, has anyone successfully used vst files from Windows on Linux?
- The drives for my server are NTFS. Does anyone have experience with this format on Linux (I use Emby)?
- My bread and butter right now is voice acting so I NEED everything to play nice. I've read there might be some issues with drivers for my hardware, namely Focusrite Scarlett 4i4 and Behringer UV1. Anyone have any experience with this?
EDIT: Wow that's a lot of responses. I'd like to respond to each but I'm a bit overwhelmed with all the info haha. I think I'm gonna grab an old external USB drive and live boot from there and test things out. Thanks to everyone, I've got a tonne to mull over now. Appreciate it!
like this
I think I'm gonna grab an old external USB drive and live boot from there and test things out
Just keep in mind, in such a case, that your performance will be quite reduced due to limits on I/O. When you have Linux on a real drive - especially a striped RAID, the system is blazing fast. It’s a substantial difference you should keep in mind when evaluating.
You could acquire a pretty cheap PC for Linux it runs on a potato. Try an electrical scrap heap nearby that you can fossick from or a friend with an old, unused system in storage (even a cheap $20 retro PC from your local marketplace?) to acquire an old retro system. You might not even need a new screen depending what connections your existing screens/TV has and if you could use a cheap adapter and cable from the thrift store.
Linux runs on basically any retro PC and laptop excluding some annoying wifi chips that need planning before the install if you don't have ethernet. Some really old tech may also require specific distributions that still offer support too.
Machines with a 32bit CPU you will want to confirm beforehand if your chosen distribution still offers a supported 32bit install image and retro PC's with obscure expansion cards that perhaps were never supported. This is likely moving into vintage collectors territory though and you would have to be pretty lucky now to find a machine like that super cheap and working.
Solved: Any desktop environment or WM with configurable placing/opening of windows?
When using TMUX, it is easy to create a script, which opens TMUX, configures the screens/panes of TMUX and open/run programs.
I like this a lot.
My baseline would be something like, when I login, some applications are executed and their windows automatically placed on a virtual desktop.
For example:
- Open Firefox and put it on virtual desktop 1
- Open Terminal in fullscreen and put it on virtual desktop 2
- Open VSCode and put it on virtual desktop 3
Something like that is possible with sway, in the environment I am working, sway is not able to run XWayland applications w/o crashing.
Is there any way to have this functionality on Gnome, Mate, Xfce?
Even better would be something to open several windows and arrange them automatically for different work tasks/projects I am working on. Any ideas?
Edit: Solved! Thanks for the input. Auto Move Windows extension for Gnome solves my problem.
Do What You Love
Do what you love, and you’ll never work a day in your life.
My dad used to say this to me. He didn’t come up with it of course. Searching for the source, I see attribution to Marc Anthony. How it came to be a 70-80 year old man was quoting a singer to me I’d bet money he’d never heard, I’ll never know. Maybe he didn’t either.
The basic idea behind the quote is that what you’re doing won’t feel like work if it’s something you love doing anyway. I mean, think of the thing you want to be doing right now instead of reading this post. Your favorite thing in the world. Now, along comes some idiot who offers to pay you to do that very thing! How can you possibly say no?
There’s a darker aspect to this quote that I don’t think people consider though. If you take the thing you love and do that for work, you’re turning what you love into a job. This is a trap that I’ve fallen into. Multiple times.
Do What You Love
Mostly The Lonely Howls Of Mike Baying His Ideological Purity At The Moonmikestone.me
I see attribution to Marc Anthony
It was around long, long before Marc Anthony. Also, you are being way too cynical. It's really just saying that if ya can, you should try to make a living out of something you are passionate about.
Yes, there are people who love what they do for a living so much, that they never wanna quit doing it. I am one of them. I own my own company.
Think of musicians, or actors. Some of them legit love what they are doing and never wanna stop doing it. My grandfather owned an Antique store. His entire life was that store and even when he was in the hospital, he was trying to get back to his Antique shop ASAP. My father was same way. And it's probably why I own my own company.
New Linux Kernel Drama: Torvalds Drops Bcachefs Support After Clash
like this
like this
Anyone else here actively put off by Linux drama and headlines like "Torvalds Drops support After Clash!"
EDIT: New rule?
like this
Filesystems are incredibly antiquated, and while I don't agree with Kent's attitude, it is very important in the long run that filesystems catch back up.
As it stands just about any enterprise system you can poke a stick at is rolling their own customised file storage system, with a traditional filesystem typically being a misshapen dead weight sitting somewhere in the middle of it - existing because it's the only thing the kernel can integrate with.
It is pretty important that this trend reverses, and bcachefs was a big step in the right direction. Unfortunate that Kent is the way he is.
like this
like this
At the very least, it would be far more of a circus, as the follow-up articles would read "LINUX KERNEL CREATOR LINUS TORVALDS MAKES DEVESTATING REPLY TO FOSS DRAMA!"
But yeah, I think shit like that would just make devs want to go work for a company, because at least when they make a shitty closed sourced, exploitive program people are mad at the company, not them, specifically. They don't have to deal with this shit.
like this
Elon Musk’s ‘America’ party could focus on a few pivotal congressional seats
The new US political party that Elon Musk has boasted about bankrolling could initially focus on a handful of attainable House and Senate seats while striving to be the decisive vote on major issues amid the thin margins in Congress.Tesla and SpaceX’s multibillionaire CEO mused about that approach on Friday in a post on X, the social media platform he owns, as he continued feuding with Donald Trump over the spending bill that the president has signed into law. On Saturday, without immediately elaborating, the former Trump adviser announced on X that he had created the so-called America party.
“One way to execute on this would be to laser-focus on just 2 or 3 Senate seats and 8 to 10 House districts,” wrote Musk, who is the world’s richest person and oversaw brutal cuts to the federal government after Trump’s second presidency began in January. “Given the razor-thin legislative margins, that would be enough to serve as the deciding vote on contentious laws, ensuring they serve the true will of the people.”
Ross Perot already tried this gambit. Billions of dollars can't buy a political party starting from scratch. Musk has always been more successful as an investor who turns around and claims to be the founder.
Not to mention, Fox News will no doubt find any snippet they can to tear him down after being the golden boy for a while.
I point this out because I think he can only pull from non-MAGA conservatives, and I've no idea what his approval rating is amongst them. The rest of us know he's a drug-addled Nazi.
A phased start makes logical sense instead of trying to build out a 50-state network Day 1. But I see no way to critical mass, even at the congressional district level, for a win as opposed to being a spoiler.
Elon Musk’s proposed new political party could focus on a few pivotal congressional seats
Billionaire said his ‘America party’ would try to turn attainable House and Senate seats to decide major issuesRamon Antonio Vargas (The Guardian)
Bad issues with system load on Mint Desktop
Hi!. Currently running Linux Mint 22.1, but i suspect it's not strictly a distro issue. This laptop was running VERY well but was outdated, running Mint 19.3, some things were unable to be installed because the system libraries were old (didn't expect Calibre to be one of them, figures), so i updated all the way to that moment's current version which was Mint 21.3. All of a sudden it felt like the laptop got downgraded two whole computer tech generations. As soon as i ask it to do something mildly complicated that made it break no sweat on Mint 19, it gets VERY slow, all the cores start running at max, system load increases, until it finishes doing whatever it was doing several minutes later, something between a couple of minutes when lucky, to 20 or more. Typically what triggers the issue is something on the browser (what i use the most on the computer is browser tabs and lots of terminals) but not exclusively. Thought it was the browser but replicated it on an empty Firefox profile, and has triggered with simpler stuff like the Discord client. Been trying to find the issue for a while trying to avoid a full reinstall, no luck so far.
If i were to describe how it feels, it's like there was a bottleneck on tasks being done by the system, as soon as you ask it to do something mildly complex it chokes on it and tasks accumulate. No idea if it's some kind of kernel misconfiguration, if it's some hardware incompatibility, or something else entirely, checking the changelogs of Mint all the way between 19.3 and 21.3 showed nothing i could pin this onto (or at least nothing i could notice).
The nuclear option would be a brand new blank install but I'd MUCH rather avoid that if possible, made the comfortable but now unwise choice of a single partition for everything (instead of a separate /home and whatnot as i used to do) so reinstallation would wipe it completely, if i must then i must but much rather not.
Would welcome VERY much ideas on stuff to check or try.
Edit: It's got an NVME drive, which seems to be healthy as far as i can see
Edit: When it happens it doesn't seem to matter how much RAM is free, seen it happen with only 8 of the 32Gb of RAM in use and zero swap
Edit: Found a great way to describe how it feels like: Have you done heavy video encoding on a computer that's adequate for the task but not more than that, and noticed how everything in it stalls heavily, even if there's plenty of RAM free and the computer feels like it's giving everything to that task only? Pretty much that, but for nearly everything even moderately heavy
Advice on migrating from Ubuntu server to another server OS
Hi all. I'm currently running a home server using Ubuntu OS, but I'd like to try and explore other options for operating systems to better my skills with linux/unix.
Currently I'm considering switching to Fedora server (though feedback is welcome) because I've been running it as my daily OS for a few months now and I quite like it. I'm also looking at Debian server because that's what my old professor used and he did nothing but speak its praises.
Only issue is I'm concerned about data loss from moving the installation. Currently, the server is setup to run several Docker images running my programs. While moving over the images shouldn't be difficult whatsoever, I'm afraid my storage setup might not be so easy. Currently, it's two 4TB hard drives running in a logical volume. I'd love to simply be able to move over all the files to a backup drive, but I don't have anywhere I can store >5TB of files as a backup.
I googled around, but I couldn't find too many guides on migrating logical volumes. The one or two I did find were most definitely written for someone with far more linux knowledge than I have as a relative noob, so any advice would be extremely welcome!
If you want to use it as a server, Fedora is annoying because the support lifetimes are so short.
If you want the Fedora / Red Hat experience, consider Alma Linux. Skills wise, it is like using Res Hat Enterprise Linux (RHEL) which is an in-demand skill set.
For a server os, do things like consider stability and ease of upgrading between major versions.
Debian does both of those things extremely well.
If you're playing around with changing distros and your data is valuable, I'd try and find somewhere to back it up to, myself.
ThisDayForwardBetty
in reply to ikidd • • •Vincent
in reply to ThisDayForwardBetty • • •So, I've only played around with NixOS on a Raspberry Pi, but... Don't people usually split their config up in multiple files, and then store than in a Git repository?
The process then still is: check out that Git repository, except there's another step: copy over your private key so that you can decrypt your secrets.
Is that correct? Or did I make things needlessly complex for myself?
dblsaiko
in reply to Vincent • • •I don’t have any secrets in my config or a private key or anything and I’m currently running 4 servers from the same config (it used to be 8 or even more machines at some point even, including desktops).
But yes, it’s a multi-file config, it would be absolutely crazy to not split it up with how large it is.
systems - NixOS system configurations
git.dblsaiko.netVincent
in reply to dblsaiko • • •balsoft
in reply to Vincent • • •I store my secrets in a separate private git repo and automatically decrypt them with my hardware key (github.com/balsoft/nixos-confi…) so for me it's literally just plug in my yubikey and
nixos-install github:balsoft/nixos-config#hostname
nixos-config/modules/secrets.nix at master · balsoft/nixos-config
GitHubVincent
in reply to balsoft • • •balsoft
in reply to Vincent • • •Vincent
in reply to balsoft • • •OhVenus_Baby
in reply to Vincent • • •Vincent
in reply to OhVenus_Baby • • •OhVenus_Baby
in reply to Vincent • • •∞🏳️⚧️Edie [it/it/its/its/itself, she/her/her/hers/herself, fae/faer/faer/faers/faerself, love/love/loves/loves/loveself, des/pair, null/void, none/use name]
in reply to Vincent • • •OhVenus_Baby
in reply to ThisDayForwardBetty • • •Cyberwolf
in reply to ThisDayForwardBetty • • •OpenSUSE also does this.
Install scripts? Of course the individual apps definitions still need to be set up again, but I'd imagine it's the same for Nix?
Irdial
in reply to ikidd • • •traches
in reply to ikidd • • •Flipper
in reply to traches • • •atzanteol
in reply to Flipper • • •Mihies
in reply to atzanteol • • •utopiah
in reply to Mihies • • •trevor (he/they)
in reply to utopiah • • •The biggest downside to containers vs. Nix for me is that Nix can produce binaries for Linux and macOS, whereas docker only helps with Linux unless you can perform literal magic to cross-compile your project on Linux for macOS.
Containers also don't give you reproducible environments, and Nix does.
That said, Nix documentation is ass, so I usually end up going with containers because they require far less suffering to get working because writing a containerfile is much easier than guessing how to hobble together a Nix flake with a mostly undocumented language.
atzanteol
in reply to trevor (he/they) • • •Of course it does. 🙄
trevor (he/they)
in reply to atzanteol • • •atzanteol
in reply to trevor (he/they) • • •But for like 99% of development teams "repeatable" is Good Enough(tm).
trevor (he/they)
in reply to atzanteol • • •So, containers do not get you reproducibility.
For dev environments, repeatable is okay. If you want actually reproducible binaries that you can ship, Nix is better fit for that purpose.
atzanteol
in reply to trevor (he/they) • • •You absolutely do. If you build a container and publish it you will pull down that exact thing every time. How is that not "reproducibility"?
You no what though? Scratch that - who gives a fuck? Bit-for-bit reproducibility takes far more effort than it's worth anyway. Even NixOS isn't completely reproducible. It's a false goal.
It's well more than good enough you mean.
Nobody really needs that.
trevor (he/they)
in reply to atzanteol • • •gedhrel
in reply to trevor (he/they) • • •trevor (he/they)
in reply to gedhrel • • •I'm not quite sure why you think pointing out someone's confidently incorrect claim that containers do give you reproducible environments means that I fetishsize anything?
But if you genuinely want to know why reproducibility is valuable, take a look at reproducible-builds.org/.
I was quite happy to see that Debian and Arch have both made great strides into making tooling that enables reproducible packages in recent times. It's probable that, because of efforts like this, creating reproducible builds will become easier/possible on most Linux environments, including traditional container workflows.
For now though, Nix Flakes are much better at enabling reproducible builds of your software than traditional containers, if you can suffer through Nix not being documented very well. This article covers some more details on different build systems and compares them with Nix Flakes if you want more concrete examples.
FWIW, I think that containers are awesome, and using them for dev environments and CI tooling solves a lot of very real problems ("it works on my machine", cheap and easy cross-compilation for Linux systems, basic sandboxing, etc.) for people. I use containers for a lot of those reasons. But if I need to make something reproducible, there are better tools for the job.
Reproducible Development Environments with Nix Flakes
Gabor Nagy (:: aigeruth)utopiah
in reply to trevor (he/they) • • •Feels very arbitrary. Why would I care about say MacOS versus FreeBSD or say NeXTSTEP (just to be provocative)?
Anyway I'm being pulled away from the actual argument, the "bare metal" argument is about performances, isn't it?
iopq
in reply to utopiah • • •utopiah
in reply to iopq • • •Mihies
in reply to utopiah • • •utopiah
in reply to Mihies • • •atzanteol
in reply to Mihies • • •Phoenix3875
in reply to traches • • •OhVenus_Baby
in reply to Phoenix3875 • • •Cyberwolf
in reply to OhVenus_Baby • • •OhVenus_Baby
in reply to Cyberwolf • • •So what the main hassle of switching is that you have to run your hardware file to update for your new hardware, then inside your Nix config rarely will I ever have to edit things (maybe UUIDS if totally new machine fresh nix install/but I usually ssd swap for ease of transition and speed, or even clonezilla multiple drives and use as needed) even drivers for example. I've got auto scripts setup to run that will automatically pull any drivers or updates from the base system nix update to any drivers.
There's really only two files you ever have to touch that I've used. Nix hardware, nix config. Once hardware is updated for which system you on you'll never touch that until you boot a new machine with different hardware. If you setup nix how it's supposed to be. Nix config is your master file. A single backup of that and when setup correctly. I can boot like I never left my machine. I'm talking librewolf still has my accounts open and logged in. VPN works. It's all seamless damn near.
You have to learn to play within nixos sandbox meaning understand what your capable of doing and do it all inside config. With a few auto scripts, and 3 or 4 common commands on desktop page for whatever you wanna do and its terminal and memory hands off. I've what I call dumb Monkey commented my entire config and its in order if boot process from power on machine to boot, etc to shutdown.
A regular distro still poses many many more challenges when hardware swapping. You have different files to remember fstab, etc etc which can lead to mental memory load and system clutter if you didn't build and maintain a perfect system from the beginning with stuff like files, sym links, all sorts if tweaks you've made over time.
So I switched to nix to mitigate those things. Now I've made a master config file copy, auto updates, backups, etc is all automated in the background now. All contained in my nix config. It's supremely stable. Mental load is zero. Fills my use case. Immutable.
You have nothing to lose and only to gain. Pick any desktop environment and setup to your liking. I came from windows, to mint, to full custom nix all my apps, browsers, luks, apparmour, firejail, the whole stack.
I've tried live boots of many other distributions but this is the cleanest, leanest, most manageable of them all. My only true concern is project lasting long-term. For now. Aside from not having GUFW. I'm happy. I think there's just a lot if misinfo and lack of hands on use from most people or incorrectly setup systems to utilize how nix should be ran. I think that should iron out over time.
iopq
in reply to Cyberwolf • • •msherburn33
in reply to Cyberwolf • • •nixos-rebuild build --target-host "user@host"
and it works across different architectures too (e.g. build on your fast x86 machine and deploy to a slow RaspberryPi).ZeStig
in reply to Cyberwolf • • •feddup
in reply to traches • • •iopq
in reply to feddup • • •feddup
in reply to iopq • • •Ephera
in reply to traches • • •I feel like setting up a new machine is just the easiest to explain.
Personally, I find dotfiles messy, as you often just want to change one or two settings, but you always carry along the whole file with all kinds of irrelevant other settings. This also makes it impractical to diff two versions of those dotfiles, especially when programs write semi-permanent settings into there.
I guess, your mileage will vary depending on what programs or desktop environment you use.
For example, I love KDE, but they really don't do a good job keeping the config files clean. Nix Plasma-Manager generally fixes that, and for example allows defining the contents of the panel in a readable form.
OhVenus_Baby
in reply to Ephera • • •I think you over complicating your view here. I daily nix. Your not carrying a bunch if dot files. You have one. A single nix. Config. That's it. It's not big, long, messy, what so ever. I have mine commented by section from boot order to auto updates and backups. Your talking about 150 lines of extremely short and almost self explanatory code. I came from mint having never used nix. I figured it out doing a custom luks install and the whole custom build from scratch in no time.
Your diff issue is overblown. The edits you make are small and you cannot get lost in multiple configs unless your doing entire system writes which you would never do. I use a dead light weight diff GUI or terminal. This has to be one if the cleanest, maintenance free distros I have ever used.
It doesn't seem you have truly driven Nix with this take. No program writes directly to your config, even if there was say your temp scenario you reboot and temps would wipe away like you never did them unless you rebuild nix config. Most of your concerns would fall away once you really drove nix to see how it functions.
∞🏳️⚧️Edie [it/it/its/its/itself, she/her/her/hers/herself, fae/faer/faer/faers/faerself, love/love/loves/loves/loveself, des/pair, null/void, none/use name]
in reply to OhVenus_Baby • • •Ephera
in reply to OhVenus_Baby • • •OhVenus_Baby
in reply to traches • • •I've used nixos exclusively lately. It's been awesome. No system scatter, clutter. It'd immutable. There's very slight driver hassle (you don't have GUI for drivers so a simple terminal command fetches everything you need.) in cinnamon. I came from mint. I have all basic commands in executable files on desktop for ease of hassle. It's not about rebuilding the system. Its about being hands off. Next to zero maintenance because not much in your system gets altered. I went for a full custom install from terminal. The only thing I personally miss being GUI is a firewall like UFW or GUFW.
Overall its more rock solid and workable than likely every distro I have ever tried. The feature set is nice, easy rollbacks, fucking cake backups. All you have to know is your entire system lives on one small editable file called nix. Configuration. Keep it in a micro SD or USB or any backup and it's as if you never left. Any changes you want you simply tweak in the config then reboot. If it breaks then select your previous gen number on boot and your exactly where you was before.
I diff my edits and keep copies, run auto backups, and more. It's so hands off that I haven't found a better replacement yet. My single biggest concern is long-term viability in the project.
dinckel
in reply to traches • • •This is a good example of what people consistently overlook/misunderstand, when it comes to Nix.
Obviously you can remount a /home, or just pull the dotfiles from a personal repo, but the strength of Nix is also in that I can re-create my entire config exactly how it is defined. If i were to setup a machine completely from scratch, with a mature enough config, it will get me from 0 to my exact desktop completely unattended.
But there are also many more advantages to it, at least in my eyes. Let's take trying/tweaking new packages as an example. Yesterday I pulled an old repo for an Outer Wilds mod. The thing needs a dev environment, and a mod manager for the actual game. A
nix shell
got me both, I finished my work, and when I exit out of fish, both are gone, just as I wanted them to be.Another good example would be partial os updates. I've used Arch for almost 9 years before switching to Nix, and pretty much a top3 Arch rule is not doing partial updates, or partial rollbacks. In case of a breakage, I would have to manually redownload an older version of a tarball,
pacman -U
the package, and then hope i'm not cooked. In the case of gcc incompatibilities, it can quickly become a massive pain in the ass. My nix flake would never experience this problem, because I already have two different scenarios available - either i build based on an older lockfile from my git repo, or I create an overlay for a specific input I need, so that it still pulls what it needs, and doesn't interfere with the rest of my systemiopq
in reply to traches • • •traches
in reply to iopq • • •iopq
in reply to traches • • •traches
in reply to iopq • • •Ephera
in reply to ikidd • • •Personally, the stepping stone I needed to know about is Nix Home-Manager, which basically allows you to manage your dotfiles independent of the distro. From what I understand, if I do switch to NixOS, I'll continue using this code with just some minor tweaks.
But yeah, I agree with the verdict in the post. I like it a lot, but I would not have made it past the initial learning curve, if I didn't happen to be a software engineer. Sysadmins will probably be able to figure out how to put it to use, too. But it's just not for non-technical Linux users.
OhVenus_Baby
in reply to Ephera • • •utopiah
in reply to ikidd • • •~/.bashrc
file (and a few others) if not just remounting/home/
in the new installation every few years.9488fcea02a9
in reply to utopiah • • •One of my machines i've been just upgrading in place since debian 8. No need for new installation
Debian isn't barbaric at all.
SavvyWolf
in reply to ikidd • • •Skipped to the "ugly" part of the article and I kind of agree with the language being hard?
I think a bigger problem is that it's hard to find "best practices" because information is just scattered everywhere and search engines are terrible.
Like, the language itself is fairly simple and the tutorial is good. But it's a struggle when it comes to doing things like "how do I change the source of a package", "how do I compose two modules together" and "how do I add a repo to a flake so it's visible in my config". Most of this information comes from random discourse threads where the responder assumes you have a working knowledge of the part of the codebase they're taking about.
OhVenus_Baby
in reply to SavvyWolf • • •elucubra
in reply to ikidd • • •ch8zer
in reply to elucubra • • •Something like this is really hard to make a gui for. I suppose a GUI would only be useful for discovering config values?
Either way, a gui would likely look like YAST on OpenSuse.
frozencow
in reply to elucubra • • •It is part of snowflakeos.org/, though I don't know about its developments atm.
GitHub - snowfallorg/nixos-conf-editor: A libadwaita/gtk4 app for editing NixOS configurations
GitHubiopq
in reply to frozencow • • •elucubra
in reply to ikidd • • •phantomwise
in reply to ikidd • • •I've been stuck on Nix for two weeks because I thought it would be a good idea to put a distro I had never used but that wouldn't break on my backup laptop in case my main one ever broke. I just couldn't force myself to install debian, not that I have anything against debian, it's just... kinda boring, while Nix seemed very interesting. IT SEEMED LIKE A GOOD IDEA AT THE TIME I SWEAR.
Guess what happened... I broke Arch. Then I reinstalled and the next day the laptop broke. Then the next day I tried to get my data back and the hard drive broke. So, backup laptop with Nix for two weeks...
But...
- It's not Arch. Not Nix's fault, but I kept hearing that it would be "like Arch but declarative"... and it's really not 😑 Everything seems over-complicated vs as simple as possible.
- I absolutely hate the language.
- What's with those error messages from hell???
- And speaking of hell, every language that can't just use indentations like YAML instead of cluttering the code with {} and [] and () should have been relegated to the darkest pit of hell 20 years ago. But points to Nix for being less awful than JSON (the comma on every line but not the last thingy make me want to build a time machine to go murder the grandparents of whoever thought it was a good idea)
- Packages are out of date even in the unstable branch (I know it's unfair since it's not trying to be a rolling release... but... but...)
- Where are the source packages? Is that an Arch only thing? I liked having packages that automatically use the latest git commit without needing to manually install from source and manually reinstall each time I want an update like a medieval peasant... 😭
- Nix packages are weird. Even someone who's terrible at coding like me can read Arch PKGBUILDS... I miss you Arch 😢
- Apps not working because of paths that don't exist on Nix... what do you mean I need to patch the package myself? 😭 But at least there's steam-run, great preserver of what's left of my sanity.
- ~~Can't wrap my head around installing some stuff like VSCode extensions (the advice I got was "don't bother just do it imperatively...)~~ (Edit: Finally figured it out!!!)
- Wiki is often sparse on info and not very helpful if you don't already know what you are doing (and I clearly don't 😅)
- Hidden configs. Some stuff works on its own like pipewire even though I haven't installed or configured it (I went with a minimal install that just gave me a tty then build from there, no DE), and how it's already configured is not in the default config files. It's very confusing not knowing why some stuff works and how it's configured by default.
But it's kinda growing on me. Like mold. Or cancer. Brain cancer.
nullpotential
in reply to phantomwise • • •phantomwise
in reply to nullpotential • • •nullpotential
in reply to phantomwise • • •phantomwise
in reply to phantomwise • • •Bluefruit
in reply to phantomwise • • •phantomwise
in reply to Bluefruit • • •eecobb
in reply to phantomwise • • •a Kendrick fan
in reply to eecobb • • •phantomwise
in reply to eecobb • • •Succinctly : "OH GOD MY EEEEEYES"
I'm not a fan of nested parenthesis... but aside from that I don't know much about the language, is it more convenient? Does it also suffer from the error messages from hell problem?
a Kendrick fan
in reply to phantomwise • • •Check out Guix_System_Distribution, it's just like NixOS but uses a Scheme dialect which is a better language.
GNU Guix transactional package manager and distribution — GNU Guix
guix.gnu.orgthedeadwalking4242
in reply to a Kendrick fan • • •msherburn33
in reply to thedeadwalking4242 • • •Having one
}
too many or too few is a pretty common issue with Nix and feels very similar to Lisp, even when the rest of the language is quite different.msherburn33
in reply to a Kendrick fan • • •While some people love putting Lisp in everything, I really don't get it. Guix is far uglier than Nix in the language department. Scheme is not a configuration language and thus has none of the nice things that Nix has (multi-line string handling, defaults, lazy evaluation, inline expression, etc.), instead you get multiple levels of macro spaghetti. Furthermore, Guix forces you to turn everything into Scheme, where you can just use plain Bash in your Nix build steps, in Guix that is all Scheme.
I had spent a lot of years with Scheme before starting with Guix and then spend quite a few years with that, but even after all that switching to Nix just felt so much better instantly. Instead of trying to hack a DSL onto of Scheme you just get a language that's actually build for the task.
SkaveRat
in reply to phantomwise • • •en.wikipedia.org/wiki/Douglas_…
American computer programmer
Contributors to Wikimedia projects (Wikimedia Foundation, Inc.)lapping6596
in reply to SkaveRat • • •phantomwise
in reply to SkaveRat • • •HayadSont
in reply to phantomwise • • •Sure, some packages are outdated. But in terms of percentage of up-to-date packages, it's (AFAIK) the best out of any distro repo. And that's perhaps even more impressive of a feat when realizing it also sports the biggest repo. For actual stats: repology.org/repositories/stat…
Repository statistics - Repology
repology.orgphantomwise
in reply to HayadSont • • •iopq
in reply to phantomwise • • •iopq
in reply to phantomwise • • •phantomwise
in reply to iopq • • •msherburn33
in reply to phantomwise • • •It's reproducible, so random updates are a no-no. You can however just dump the Git URL in your
flake.nix
inputs and then override thesrc
of the package with that. The source gets updated when you donix flake update
next time. Something like this:phantomwise
in reply to phantomwise • • •Finally managed to enable VSCode extensions without doing it imperatively or using home manager I'm so happy I could cry 😭 😭 😭
It actually wasn't even that bad, I'm just terrible at understanding documentation I guess
steeznson
in reply to ikidd • • •aim_at_me
in reply to steeznson • • •smiletolerantly
in reply to steeznson • • •Think about it like this:
steeznson
in reply to smiletolerantly • • •Sibbo
in reply to ikidd • • •danhab99
in reply to ikidd • • •I really feel compelled to share that I actually really fucking love nix. I've never felt so confident that my computer would turn on no problem. It was hard and it was rewarding.
Idk I guess I haven't had it for long but once I got my dotfiles the way I like I just stopped messing with it.
Also nix devshells are pretty dope (◕ᴗ◕✿)
GitHub - danhab99/dotfiles: My personal configs
GitHubiopq
in reply to ikidd • • •steam-run
it and it just workssmiletolerantly
in reply to iopq • • •SolarBoy
in reply to smiletolerantly • • •This command will just run an executable file on nix. Normally only executables which are installed from the package manager will work.
appimage-run
is another option. Which can be used to run, you guessed it, appimagesiopq
in reply to SolarBoy • • •SolarBoy
in reply to iopq • • •msherburn33
in reply to ikidd • • •Let me disagree there, the language is trivial. It's just JSON-lookalike with expressions, with a lot of nice touches that make using it much easier than all the alternatives (e.g. sane multi-line string handling, lazy evaluation, default values, powerful key/value sets, etc.). The only real stumbling for me when first encountering it was realizing that functions can only take a single argument (which can be a key/value set) and that functions are literally just
:
(e.g. (a: a + 5) 6 => 11). That's easily missed if you just look at a file without reading the documentation.The thing that makes it hard is just the complexity of the actual package collection, your configuration contains literally your whole system, and it's not always obvious where to find the thing you need, since sometimes it's a plain package, sometimes it is a
services.foobar.enable = true
and sometimes you have to fiddle with override or other package specific things. Knowing thatsearch.nixos.org/ exists is half the battle here.
There is also the lack of static typing that can lead to rather verbose error messages, but it's not like many other configuration formats have that either.
NixOS Search
search.nixos.orgheraplem
in reply to msherburn33 • • •There are a few gnarly things about Nix, even for someone who's familiar with Haskell (the most similar language to Nix that's even close to mainstream).
builtins
) is extremely sparse. You basically have to depend on at leastnixpkgs-lib
if you want to get any real work done._type
field or some such.${
or''
? I have to look them up every time.SolarBoy
in reply to msherburn33 • • •Using a language server like nixd also helps a lot with auto completing packages and options in your config.
Apparently people are also working on the nickel configuration language to address some of the nix limitations and difficulties.
chaospatterns
in reply to ikidd • • •I really want to like Nix. The idea of declaratively defining my entire system sounds great. I can manage it with Git and even have multiple machines all look the same. I can define my partititioning once and magically get a btrfs disk working. Wow!
But I find the language confusing no matter how many times people say it's easy. I have a lot of experience with other programming languages so maybe it just doesn't mesh. It also gives terrible error messages that are hard for me to understand. And Nixpkgs is unpredictable for what version I'm going to get. One of the services I installed ended up being a release candidate version which was a surprise. What if I don't want the latest version of Docker? How do I pin it? Do I have to duplicate part of Nixpkgs? It just feels like a monorepo where everybody has to be on the same versions. Why on earth do the Nix language docs start by introducing math expressions instead of here is a simple self contained thing that installs one program. Here's how you configure it. Here's how you expand. Why does the dependency graph seem to pull in so many unnecessary dependencies? For example, I tried to build a minimal Docker image (which Nix looks to be a very good fit for), but I couldn't figure out how to strip out dependencies that likely were only used during build for a dependency.
I still like the idea and have managed to get my server defined entirely with NixOS which is very cool, but I can't recommend this to my tech friends because if I'm confused they will be more so.
LeFantome
in reply to ikidd • • •I have not used Nix, so I may not know what I am talking about.
That said, I have been using Chimera Linux which uses the APK package manager. It works by maintaining a single file in /etc/apk/world that specifies all the packages the user wants on the system. This is used to calculate dependencies and install packages. When you “add” and “del” packages, all it is really doing is adding and removing from this list. If you remove a package, it will remove all the dependencies too unless they appear in the “world” file.
If you do not specify a version number for a package, you get the latest. But you can pin versions of you want.
If you copy the world file from one system to another, you get the same set of installed packages.
So, if I use git to backup my world file, maybe a couple of other entries in /etc, and the dot files in my home directory, I have pretty much everything I need to completely recreate my system.
Is it really worth all the extra complexity of Nix?