[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


Use NixOS
Use Flakes
It's Linux, but perfected.
>>
File: 1000002265.jpg (98 KB, 1137x860)
98 KB
98 KB JPG
its so unfortunate that nix is a incredible idea with absolutely atrocious tooling
the rise of llms is the only thing that makes working with it even slightly bearable
>>
Nah. I can't be bothered to learn how to use yet some more new shit for no reason.
>>
Use Debian
Use nix + home-manager
Set targets.genericLinux.enable = true;
You now have a base system that never updates, and the most up to date userland you could hope for.
>>
>>107800119
linux users can't even handle middle click paste anymore and you think they can handle flakes?
>>
>>107800119
>dude like run Firefox and the same shitty bloated electron software you always use but make it harder to set up and configure!
???
>>
>>107800463
>Use electron
Why not just use a browser?
>>
Why would I want this over arch
>>
>>107800362
I use keyboard. No need for middle click paste. I always wear out my middle click by opening links in new tabs.
>>
>>107800532
It's reproducible or whatever. I just make my own iso and install the packages I want with it.
>>
>>107800536
>>107800562
Arch that is. just using archinstall and installing all explicitly installed packages from the old system onto the new system after adding repos and setting up yay.
>>
>>107800362
arch shitters - no,
linux users? yes.
>>107800463
i don't have firefox or electron installed. anon you're deranged.
>>
You know what sucks about NixOS, and is making me think about switching away? CUDA.

Passing CUDA to custom packages is an absolute nightmare. I can not get StabiltyMatrix working consistently, and I'm tired of maintaining it. Considering moving back to Arch, even though there is a lot I will dearly miss.
>>
>>107800588
anon this is what nix-shells, or develop if you're using flakes, were made for. they were flawlessly for any application i've come across.
>>
>>107800612
Oh yeah? You want me to freeze my version of cutting edge software while I build up the nerve to go through hell again? When I could just grab the same thing from the AUR in two seconds?
>>
>>107800663
anon why are you freezing your versions if you want the latest and gapest njudea slop?
>>
>>107800697
Are you retarded? Have you tried packaging a dotnet application for Nix? The dependencies alone will make you want to kill yourself.
>>
>>107800119
Once you get it working, it's great.
Once you run into needing something custom, you're fucked. ChatGPT is decent at writing nix code.
>inb4 rtfm
>>
>>107800252
That sounds like a cool idea
>>
>>107800119
its called containers and theyre better
>>
>>107800713
i haven't used .net since highschool in the aughts. i see microsaar ported it to linux. going to fuck around with it tonight.
>>
>>107800782
Best way to run hyprland on Debian stable. You can use home manager and flakes to pull and build hyprland straight from the devs github repo and it doesn't interfere with your base system because it's separate from the base system.
>>
I heard Nix nukes your drives
>>
>>107800960
usecase for drives??
>>
>>107800960
if anything it saves them since you can pin to a release for 6 months. archtards come by and rebuild unstable every day and wonder why they have 30gbs of write a week.
>>
>>107801014
How is that any different than just choosing to not update any other distro for 6 months?
>>
Nah, I've used Debian for too long at this point and it works perfectly fine. Why would I care about learning a new distro.
>>
I just installed NixOS today on a spare computer to tinker around. Coming from Arch this is definitely some wild stuff.. lots of learning ahead it seems. Any good video tutorials out there? I'll read the books or whatever but maybe a video tut to get me started would be nice
>>
>>107801347
https://www.youtube.com/watch?v=9OMDnZWXjn4&list=PLko9chwSoP-3MLKgbuwh3n_x3HVzoZujp
>>
>>107801411
Sweet thx man. I'll watch these tomorrow with a hot cup o' tea
>>
>>107800119
Nix as a secondary package manager on a distro that respects FHS is a superior experience to NixOS itself from my personal experience.
>>
>>107800209
>absolutely atrocious
I can see you've never used Slackware
>>
>>107801443
>hot cup o' tea
Yes u sound like a tranny. Arch user I bet. You like to customize your body like you do your distro, right? >>107801443
>>
>>107800119
More hassle than containers, none of the security benefits.
>>
>>107801347
https://www.youtube.com/watch?v=nLwbNhSxLd4
https://www.youtube.com/watch?v=5D3nUU1OVx8
https://www.youtube.com/watch?v=lUB2rwDUm5A
>>
>>107801673
nix has namespaces, i'm sorry you only know how to use docker, anon =(
>>
>>107801347
>I'll read the books or whatever
Enjoy scavenging conflicting documentation between "classic" nix and the "flakes" way, outdated forum posts, and troon blogs to cobble together a half-baked understanding of a system that's held together with duct tape and hopes and dreams.
>>
>>107801668
No one has
>>
>>107801690
>very first guide
>it's a pedophile
Shocking.
>>
>>107800119
>https://github.com/NixOS/nixpkgs/issues/476263
overcomplicated troon garbage that can't even do basic stuff. what's the point if it can't even handle a postgresql upgrade. complete useless retardation.
>>
File: 1754620304608816.gif (810 KB, 500x500)
810 KB
810 KB GIF
>>107802001
anime website
>>
>>107800119
>Use Flakes
DetSys shill thread detected
>>
It's certainly the perfect linux for me, at least.
I don't use flakes, but recently I've started using something called devenv, and it's been fantastic. My limited understanding of flakes is that it might act similarly.
>>
Nix is good, shame that it's so trooned
>>
>>107801902
I'm just s normal cis white male, but that's wild "hot tea" can set you off like that lmao. You need aome help, man
>>
>>107801668
ive used it a long time ago, dont really recall much except that it seemed to use a lot of bash

but i dont think its the same problem, slackware has a bad foundation, nix has a good foundation but very bad tools
>>
too complicated to do basic shit
>>
I've undestood that nixOS is relatively difficult to pick up for most linux users, because of how different it is from most distros. Is it difficult for a beginner, for someone who has no experience with linux in the first place?

I've been thinking about building a linux workstation, as I slowly try to migrate away from windows. The reproducible deployment stuff is what attracts me to this distro. I'm fairly confident that I can get most of the essential software to work, and there's no need to ditch the existing windows machines any time soon
>>
>>107800119
just seems unnecessarily annoying like Slackware or to a much lesser extent, SUSE.
>>
>>107804890
Nix is perhaps less intuitive because people are used to interacting with systems (and the world) in a stateful manner, i.e. you install program, configure it via GUI or more rarely via some config file, and move on to something else. In NixOS you configure almost everything in your system in a single text file (though you can split it into several files if you want).
To people like me it's the holy grail, because you can know exactly what is going on in a system and its packages by looking at a single file, something you impossible to keep track of in a regular OS unless you write down everything install and the configurations you change in each program. So the state of a system is always clear on NixOS, and easily reproducible.
I slowly started migrating all my machines to Nix after the MS Recall bullshit. There was some learning curve, but it was doable because I've used Linux for work my entire life. But plenty of people give up all the time and I've seen hilariously butthurt posts on forums ("I'm going back to Arch, which is a MUCH better distro than this garbage!"). These days AI will make things much easier for you, and strictly speaking you won't be doing more than installing packages here and there and it shouldn't be that much different from other distros, but the problem is that if you want to install something outside of their repositories, it may have problems running on nixos because they break some conventions. It would be much safer to start with something else, to be honest.
>>
>>107805245
>the problem is that if you want to install something outside of their repositories, it may have problems running on nixos
That's not necessarily a major issue, as I can run the problematic stuff on another machine (or a virtual machine). The important computationally heavy stuff I can compile from source if need be, or are there some problems with that compared to other distros?
>>
>>107804890
I only dabbled with Arch and I'm currently trying out Nix. As far as I can tell, I would be reading, breaking and tinkering tons of stuff on my own, and it's just the platform and the context that changes.
All that to say that it makes no difference to me. I'd be reading and learning anyways, might as well do it for something I care about.
>>
>>107801673
Containers were never secure to begin with. That nix can also build them if you want that, better than most tools out there right now.
>>
>>107806234
>I can compile from source if need be
The problem is that you'd have to write nix code to set up all the dependencies and build process correctly. For someone brand new to Linux, this can be fairly difficult.
I'd recommend running a more standard distro, and then you can install nix as a command line utility. You can still use it to define virtual environments for specific packages and any custom stuff, while learning how to write nix code.
Once you get confident in how that works, you can try running nixos, so the whole system will be defined in nix code.
It wouldn't be any good if you start trying Linux on a difficult distro like nixos, get fed up with it, then go back to Windows or MacOS.
>>
>>107800119
Why should I use NixOS when Arch Linux just works?
>>
>>107800119

>tranny distro
no
>>
>>107808821
Thanks for the insight, I'll contemplate on the matter. Enjoy this image of a dog posing with a pipe
>>
>>107808832
arch is for shitters and retards. you should keep using arch.
>>
File: file.png (177 KB, 1217x1084)
177 KB
177 KB PNG
>>107800119
I use it for the servers I have in my closet but I'd rather stick to kubuntu+nix package manager on desktop
>>
File: absolutely disgusting.jpg (60 KB, 568x518)
60 KB
60 KB JPG
I put NixOS on my USB key because of this thread. (I'm looking for an alternative of windows.)

I tried using the KDE version at first, it couldn't even connect to my wifi. I tried a dozen different KDE distros this week and it's never been an issue so far.

The Gnome version worked but Gnome is horrible, I'm never going to use it.

I'm not going to look into the OS any further because if I have to troubleshoot literally the first thing I try doing after booting up, it's just the tip of the iceberg.
>>
>>107809531
yes, nixos is not for you. try mint.
>>
>>107809538
yeah I tried mint already
it's the least worst so far but it's too buggy for me
I made this thread btw >>107801139

My plan is to wait 5 more years with windows 10 LTSC and when it stops getting updates maybe linux will be polished enough to use. (Probably will use SteamOS or Mint).
>>
>>107809569
ok, try again in 5 years.
>>
>>107809227
Dogs don't smoke you flippin' g00se
>>
>>107809569
I installed windows 11 LTSC on a vm to check it out, it's hilarious how much better it is compared to the regular version. But it's scary that even without all the bloat, the install size is still 25 or 35GB IIRC. What the hell is MS is putting inside that?
>>
>>107809620
But do they pose doe?
>>
Why would someone use NixOs with kde over Fedora with KDE. redpill me on any benefits.
>>
>>107810152
none, go back to slopdora.
>>
>>107810185
yes massa thank you massa
>>
I don't understand why the linux community hates flatpak so much.
>sandboxed app
>dependencies all included
>compat across all distros.
sounds pretty good to me, so why all the hate
>>
>>107810216
because anytime a flatpak needs access to something outside of its little sandbox everything breaks. Flatpaks are really only useful if it is an application that never needs to interact with anything else.
>>
>>107810242
>Flatpaks are really only useful if it is an application that never needs to interact with anything else.
ie: most applications
>>
>>107800119
Guix, close enough
>>107801668
Weirdly true, I know Gentoo users who are scared of slackware and consider it to be harder
>>
>>107810259
>I know Gentoo users who are scared of slackware and consider it to be harder
nta but I used slackware for years. it is NOT harder than Gentoo, not even close. Slack's installation is harder than something like Fedora's automated install, but no where near as hard as something like Arch's manual install.
Using slack is just "run of the mill." What makes it "hard" - and I put that word in quotes for a reason - is its out of date / out of touch dependency management.
there is no package manager to tell you what dependencies are missing, so you have to painstakingly track them down.
which is really moronic in 2026. the slacker community acts like this some badge of honor or something when you waste 4 hours of day trying to get steam working.
also, it's poorly managed now. I mean really poorly managed.
it was one of the very first distros to hit the "mainstream" and back then it was pretty amazing (for its time). Now? it's a mess, it's a dead distro that hasn't realized it's dead yet.
Gentoo is a 100x harder than Slackware.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.