NixOS | Linux: The Nvidia Gaming Seductress of Convenience - First Impressions

  Рет қаралды 2,926

AlphaObeisance

AlphaObeisance

4 ай бұрын

I'm always behind when it comes to Linux news; but a commenter made mention of NixOS and it sparked an interest. Here I am a day later, having never heard of NixOS before; and I can honestly say that spite my love for Arch; NixOS is a legitimate contender for KISS.
Gaming with an Nvidia RTX 4090 24GB OC GPU with enabled RTX support; I can honestly say that I may have found a new home. I'm just not sure how I can defend my beloved Arch Linux from the seduction of a SINGLE SYSTEM CONFIGURATION? You've got to be kidding me.
Put forth the efforts and labors of initially configuration NixOS and after that; you'll say goodbye to re-installations forever.
Want to test out a software before committing it to your baked configuration? Cool, install software through the nix shell and give a trial run. Don't like it? Just " sudo nixos-rebuild switch " and you simply roll back to your previous build.
You do like this software and you want to commit it to your stable build configuration? Awesome, just "sudo nano /etc/nixos/configuration.nix" and add it to your package list and rebuild!
I haven't been this excited about a distribution since well.... Arch.
And if you're wondering, you can bet your sweet ass I'll be doing a Gaming Montage here very soon!

Пікірлер: 46
@alphaobeisance3594
@alphaobeisance3594 3 күн бұрын
Per request, I've added the NixOS configuration I used here for those who want to use it as a foundation for building your own: github.com/Obe1sance/AlphaObeisance/tree/main/NixOS
@anonymouscommentator
@anonymouscommentator 15 сағат бұрын
love your enthusiasm. awesome to see you switching :)
@alphaobeisance3594
@alphaobeisance3594 13 сағат бұрын
It was fun to play with for sure. Always excited to learn new stuff! Thanks for tuning in!
@Nerd2Ninja
@Nerd2Ninja 3 ай бұрын
Diving deep into NixOS myself. I jumped straight from Ubuntu over to Nix. My initial frustration was my usual way of compiling programs from source doesn't work. I have to make a flake.nix file or use a dev shell instead. I've been hammering hard for a week learning that stuff so far. It seems like a solid foundation though which is why I feel like its worth it to put in that much effort for it.
@alphaobeisance3594
@alphaobeisance3594 3 ай бұрын
Yes! I agree with you entirely. While it does have a bit of a learning curve due to it's immutable nature; once one fully grasps how to manage installations and compilations you've pretty much got a bullet proof system. I had to go back to my beloved Arch until I can learn more about the Nix system before making it my daily driver; but NixOS will be a part of my daily workflow through VMware so that I may continue learning it's system. I like the added security of running an immutable system like NixOS; and I figure if I can learn to set it up for my daily workflow I'll be right as rain. Unfortunately the way one configures applications in NixOS is so foreign to me that I couldn't stick with it as my Daily at this time lol. I kept finding myself defaulting to the typical config locations and couldn't figure out why they either weren't available or weren't working. Really all I've got left to figure out is how to configure things from within the nix directory and I'll be golden. Unfortunately Time is Money and Nix was costing me a lot of down time lol! Let me know how your ventures go! I love hearing about others experiences; as often I can learn from them too!
@sabyabhoi8841
@sabyabhoi8841 2 ай бұрын
Great video! I've also recently switched to NixOS, and found your insights quite helpful. One request please, could you please increase the font size in your videos? It's a bit hard to look at what's going on
@alphaobeisance3594
@alphaobeisance3594 2 ай бұрын
I appreciate your input! And I can definitely increase the font size for you in future videos. I appreciate the constructive criticism! I hadn't considered the resolution I upload in could make it difficult on some displays to see. I've made note so to ensure I make the fonts bigger in future videos. As for NixOS; I look forward to revisiting it again soon! I really do think it could be my daily driver once I really become acquainted with how application configuration works with the immutable system. Unfortunately I jumped into it at a bad time and it put a halt to my work flow so had to return to Arch. Definitely going to be visiting it again soon and hopefully get it set up on my host for full time use.
@magnificoas388
@magnificoas388 2 ай бұрын
You got it all about NixOS power :)
@alphaobeisance3594
@alphaobeisance3594 2 ай бұрын
NixOS is likely where I'll end up indefinitely once I learn how to configure things properly. Eager to get back into it!
@drreality1
@drreality1 3 ай бұрын
Man, it’d be great if you kindly share your configuration I have amd & mvidia laptop and Optimus primes is driving me crazy!
@alphaobeisance3594
@alphaobeisance3594 3 ай бұрын
I've since returned back to Arch on the bare metal as I couldn't give NixOS the time it needed to truly set it up for a seamless workflow; I'll be configuring via VM's until I can revisit NixOS and truly commit it to my hosts hardware with optimal compatibility. Everything was working perfectly fine but configuring was more than I could chew at this time with respect to the fact that building the homelab up has taken priority. That said, I'd recommend the NixOS Wiki regarding NVIDIA and Optimus. nixos.wiki/wiki/Nvidia If you have any specific questions don't hesitate to ask, I'll be glad to help you figure things out =). Nix was a LOT of fun to tinker with.
@acegear
@acegear 18 сағат бұрын
thanks for the config
@alphaobeisance3594
@alphaobeisance3594 17 сағат бұрын
No problem, hope it works out! Thanks for watchin!
@acegear
@acegear 17 сағат бұрын
@@alphaobeisance3594 just asking the vscode extentsion does it retain the extentsion or dl the extention and rebuild to save it
@alphaobeisance3594
@alphaobeisance3594 16 сағат бұрын
@@acegear my latest video shares the config from github. In theory you should just be able to download the config and then rebuild. I definitely encourage you go through the config with a fine tooth comb just to make sure any customization options are defined for your rig (i.e. host name, time zones n such) before rebuilding.
@acegear
@acegear 15 сағат бұрын
@@alphaobeisance3594 thats what im going to do when vm build config is done copy and paste it on my pc when im ready for transfer to linux,im just pick a few line im missing and possible experiment with it im more concerned with vscode if i dont want to keep installing the extensions i need for project , most of the videos ive seen are home something and flakes which i dont need right now thats why im not using tiling just plain kde , ill they to edit my config when i have time , thanks have a good day
@apuapu3235
@apuapu3235 3 күн бұрын
wait until he finds out about home manager :D
@alphaobeisance3594
@alphaobeisance3594 3 күн бұрын
I look forward to checking it out when I get back to NixOS! Thanks for the bread crumbs! ^_^
@archpenguin6646
@archpenguin6646 2 ай бұрын
Debian,Arch NixOs here! hell yeah ! NixOS is great for gaming .
@alphaobeisance3594
@alphaobeisance3594 2 ай бұрын
I'm an Arch Fanboy but I sure look forward to getting more acquainted with NixOS. Immutable systems excite me lol; but I'm not yet fluent in their seductive configuration lingo. Seems nothing is where it should be lol but I suppose that's the point! lol
@archpenguin6646
@archpenguin6646 2 ай бұрын
@@alphaobeisance3594 Bazzite is worth a spin. games super well. I'm currently testing it on bare metal .
@maddscientist82
@maddscientist82 4 күн бұрын
I'm def still a Linux noob but I still can't get Rocket League running on NixOS stable lol
@archpenguin6646
@archpenguin6646 4 күн бұрын
huh..... well it has a Platinum rating on proton DB
@adjbutler
@adjbutler 2 ай бұрын
NixOS! NixOS! NixOS!
@Alexander_Sannikov
@Alexander_Sannikov Сағат бұрын
please download a nix language extension for vs code
@belvederebaileycambodia
@belvederebaileycambodia 5 күн бұрын
So... you said you were gonna share the files ??? I'm seriously looking at this OS and have AMD cpu and Nvidia gpu
@alphaobeisance3594
@alphaobeisance3594 5 күн бұрын
If character limits will permit. This should get you started. Be sure to go through and customize to your needs. But this is the general basis. This is set up for kde plasma 5, not 6. Shouldn't be difficult to update =) " { config, pkgs, ... }: { imports = [ # Import hardware specific configurations ./hardware-configuration.nix ]; nixpkgs.config.allowUnfree = true; # Allow the installation of unfree packages like Nvidia drivers system.stateVersion = "23.11"; # Set to your NixOS version boot.loader.systemd-boot.enable = true; # Enable systemd-boot instead of GRUB boot.kernelPackages = pkgs.linuxPackages_latest; # Use the latest stable kernel boot.kernelModules = [ "nvidia_uvm" "nvidia_modeset" "nvidia_drm" "nvidia" "glaxnimate" ]; # Load these kernel modules at boot boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "nvme" "sd_mod" "sr_mod" ]; # Specify kernel modules in the initial RAM disk boot.kernelParams = [ "nvidia-drm.modeset=1" ]; # Additional kernel parameters boot.supportedFilesystems = [ "ext4" "vfat" "ntfs" "exfat" ]; # Filesystems supported by the boot loader boot.kernel.sysctl."vm.swappiness" = 10; # Reduce swappiness to prioritize physical memory over swap hardware.cpu.amd.updateMicrocode = true; # Update AMD CPU microcode for security hardware.nvidia.package = pkgs.linuxPackages_latest.nvidiaPackages.stable; # Specify the Nvidia driver package hardware.bluetooth.enable = true; # Enable Bluetooth support hardware.opengl.driSupport32Bit = true; # Enable 32-bit DRI support for OpenGL services.pipewire = { enable = true; # Enable PipeWire as the multimedia framework alsa.enable = true; # Enable ALSA support in PipeWire alsa.support32Bit = true; # Enable 32-bit ALSA support pulse.enable = true; # Enable PulseAudio support in PipeWire jack.enable = true; # Enable JACK support in PipeWire }; services.xserver = { enable = true; # Enable the X Server videoDrivers = [ "nvidia" ]; # Use the Nvidia driver displayManager.sddm.enable = true; # Enable SDDM display manager desktopManager.plasma5.enable = true; # Enable the Plasma 5 desktop wacom.enable = true; # Enable Wacom tablet support }; services.fail2ban.enable = true; # Enable fail2ban to ban IPs that show malicious signs virtualisation.vmware.host.enable = true; # Enable virutalization networking.firewall.enable = true; # Enable the firewall environment.systemPackages = with pkgs; [ # Define system-wide packages to install cmake dconf dualsensectl file firefox gamemode gcc git gnome.gnome-disk-utility gnote htop iptables ipset libsForQt5.kdenlive linuxPackages_zen.cpupower lm_sensors lutris mangohud microcodeAmd minecraft nano neofetch nmap mlt obs-studio python3 steam tilix unzip vlc vscode-with-extensions wget zip ]; networking.hostName = "HOSNAMEHERE"; # Set the system's hostname networking.networkmanager.enable = true; # Enable NetworkManager for network configuration time.timeZone = "America/Chicago"; # Set the system time zone i18n.defaultLocale = "en_US.UTF-8"; # Set the system locale security.sudo = { enable = true; # Enable sudo configFile = '' # Configure sudoers for 'wheel' group root ALL=(ALL:ALL) ALL %wheel ALL=(ALL:ALL) ALL ''; }; users.users.obeisance = { isNormalUser = true; # Indicate this is a normal user account extraGroups = [ "wheel" ]; # Add user to 'wheel' group for sudo access shell = pkgs.zsh; # Set Zsh as the default shell for this user }; programs.zsh.enable = true; # Enable Zsh for the system fonts.packages = with pkgs; [ # Font configuration noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra dejavu_fonts ]; # File system configuration for mounting various storage devices fileSystems."mount/point/here" = { device = "UUID=xxxx-your-UUID-here-xxxx"; fsType = "ext4"; }; fileSystems."mount/point/here" = { device = "UUID=xxxx-your-UUID-here-xxxx"; fsType = "ext4"; }; "
@belvederebaileycambodia
@belvederebaileycambodia 5 күн бұрын
@@alphaobeisance3594 wow, lol... I'll give it a go and let you know how it runs. Thanks mate :)
@alphaobeisance3594
@alphaobeisance3594 5 күн бұрын
@@belvederebaileycambodia yeah it looks intimidating but it's not as bad as it appears. I don't use GitHub so I don't really have any other way to share lol. I omitted a lot of my preference softwares, so that configuration should be primarily focused on just getting you a NixOS running on AMD/Nvidia hardware with features like bluetooth and such. Basic desktop functionalities anyway =)
@belvederebaileycambodia
@belvederebaileycambodia 5 күн бұрын
@@alphaobeisance3594 cool. Sleeptime in Cambodia. Will fire it up tomorrow :)
@maddscientist82
@maddscientist82 4 күн бұрын
​​@@alphaobeisance3594I'm down to test this man. I have an AMD Ryzen 5 3600 and RTX 3060. How about a public google drive link?
@Flackon
@Flackon 17 күн бұрын
“New users should start with NixOS” Probably the most wrong thing I’ve heard on the Internet all month. Incredible
@alphaobeisance3594
@alphaobeisance3594 17 күн бұрын
Sigh, it's amazing how many people treat Linux like it's actually complicated. There is nothing wrong with beginners actually looking to learn Linux systems starting with NixOs. As I'd disclaimed in the video, had you bothered to complete the video, it would require extensive homework and trial and error. But it's OK, go recommend Ubuntu to new users like it's 1999 and treat all new users like incompetent goobs.
@Flackon
@Flackon 17 күн бұрын
@@alphaobeisance3594 It *is* really complicated to most of them, though. Let alone the fact that if you show them a terminal or a config file right away, they will run away in fear, get angry or frustrated or both. The kind of person who'd have the patience to learn something like NixOS is A LOT more rare than most people think... And it's not because the others are incompetent, but if they start learning with something simpler, they can gradually build up to more complex OSes. If they get scared and swear off Linux, then you've just closed a door for themselves that they may have explored otherwise.
@alphaobeisance3594
@alphaobeisance3594 11 күн бұрын
@@Flackon While I do agree to an extent in that you're right. Normal people would run away. But anyone genuinely looking into Linux, let alone having commit to even installing it, must at face value be comfortable with looking at a terminal as they've already had to navigate through the bios, set up the boot usb for installation and proceed. That alone is no more complicated than navigating a terminal. Yes, if you just pull some random stranger off the street and introduce them to Linux they're going to run away. But those who have already committed can start wherever they like based on their personal goals. Anyone looking into NixOS will immediately know whether or not it's something they'll be interested in. I care not either way what peoples preferences are; but I wouldn't steer people away from immutable systems like NixOS because it'll "scare" them. It's just some text in a configuration file. No more intimidating than casper. Again, you're not wrong. I just don't entirely agree. Tend to give people benefit of the doubt. More and more people every day realize that a terminal is actually stupid easy.
@katsuni6800
@katsuni6800 10 күн бұрын
Oh boy where do I start ... New Linux user here after 30+ years in terrible Windows , from 3.1 to 95 , 98 and so on and one of the things coming from Windows is about the apps installed easily with only few click as you know which for Linux sometimes is simply a nightmare as a newbie , having to search for info related to the problems they occur , having to write lines that you don't truly understand in the beginning and so on. I tried so many distros as I desperately wanted to get away from the toxic Windblows , including Debian , Arch , Ubuntu , Mint , Zorin , Garuda , OpenSuse , Fedora , Manjaro and countless others derivatives and guess what , from my experience the easiest to me from them all so far was NixOs , you just write down the name of the app in the nix config file and the system does the rest and most of the times it just works. I had problems installing the Nvidia driver in Fedora , OpenSuse and few others making me giving up on them right away or I couldn't install some modules for the VirtualBox in few distros and even if I wanted to get away from Windows I couldn't 100% as I need 1 app that controls the cameras surrounding my perimeter that I couldn't install it in Linux no matter the distro or application to make Windows programs run in Linux like Wine , Bottles or others so I opted for VirtualBox but again sometimes just problems and more problems making it to run in Linux with missing kernels modules etc. The only "problem" I had in NixOS was Opera browser , weird enough it was working without issues before the 23.05 (included) version , after that with newer versions the videos in KZfaq are working in frames like I don;t have the GPU drivers installed even though they are installed and I can game or stream/record with OBS etc , but something is missing obviously and as a newbie I couldn't find any fix , but what I could find was I can use flatpaks in NixOS as well and installing Opera via Flatpaks made it work like in the previous version , no issues at all. So as a beginner , understanding and learning some basics I think NixOS is great and over time learning more advanced skills (flakes , home manager) can make it even better , that's my experience of course and as with almost everything in life what's bad/wrong/good for one doesn't mean it will necesarily be the same for all the others... As a beginner in Linux do I recommend others to try it out for themselves ? Definitely yes , some may find it so easy to use compared to other distros that they won't feel to distrohop.
@maddscientist82
@maddscientist82 4 күн бұрын
So, I'm a Linux noob and I installed NixOS and currently playing around with it. I am def NOT a normal user as you mentioned but I think he meant new users as in someone new to Linux looking to get their hands dirty with the terminal in ANY Linux OS. I installed it with the express INTENT of breaking it and knowing I can just Ctrl+Z that sh*t lol. @alphaobeisance3594 my comments keep disappearing but I'll try again: I'm down to try that config. Similar setup. How about a ggl drive link?
@archpenguin6646
@archpenguin6646 2 ай бұрын
next stop.......home manager and flakes
@alphaobeisance3594
@alphaobeisance3594 2 ай бұрын
Oh man, my googleh senses are tingling lol! I'll be sharing the latest update here later this afternoon. It'll be uploading shortly. Thanks for dropping a line!
@Alexander_Sannikov
@Alexander_Sannikov Сағат бұрын
I recommend you to NOT use home-manager or flakes. Imo it's too much for a beginner. Learn to get comfortable with the base configuration first.
@RobertFletcherOBE
@RobertFletcherOBE Сағат бұрын
NixOS is not for new users, thats a fucking terrible recommendation. It's a great distro, but its not new user compatible.
Does It Even Matter?
9:32
Michael Horn
Рет қаралды 22 М.
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 10 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 21 МЛН
NixOS is Mindblowing
12:02
Chris Titus Tech
Рет қаралды 671 М.
NixOS Day 2 : Does it make a daily driver?
15:26
AlphaObeisance
Рет қаралды 343
NixOS Tutorial - Flakes! Unlocking the Full Potential of NixOS
14:01
Why Does Nothing Work
Рет қаралды 1,3 М.
Why I Can't Use Linux - My Top 3 Reasons
26:05
Tek Syndicate
Рет қаралды 69 М.
CachyOS is INSANE! 60 days review
20:25
A1RM4X
Рет қаралды 42 М.
FINALLY trying out NixOS - Best Server Linux Distro??
15:43
A Linux Rant | EP:1 - Hoodwinking Linux Beginners
13:31
AlphaObeisance
Рет қаралды 684
NixOS for gaming challenge! I am hyped but...
24:32
A1RM4X
Рет қаралды 3 М.
Реальнее чем в жизни ( Bodycam )
14:10
JOHAN
Рет қаралды 936 М.
НАСТОЯЩАЯ ЖИЗНЬ КОТА В ВР ( I Am Cat )
22:48
perpetuumworld
Рет қаралды 1,2 МЛН