Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8dbfc338be | ||
|
|
42fce46098 |
@@ -249,7 +249,7 @@ This will compile sm64ex and install it. But there's two problems we can immedia
|
||||
|
||||
We will be solving these by creating a ~.desktop~ file, introducing nixGL, and writing a wrapper script that makes sm64ex launch from within steam gaming mode properly.
|
||||
* Adding nixGL
|
||||
If we were running NixOS, graphical programs would work out-of-the-box. Unfortunately on other Linux Distributions, we need to wrap our graphical programs so they know where to find the graphics drivers. To perform this wrapping, we will use [[https://github.com/nix-community/nixGL][nixGL]]. To install nixGL we need to add it as an input in our ~flake.nix~, apply its overlay, and add it as an ~extraSpecialArgs~ to have it automatically passed into each module:
|
||||
If we were running NixOS, graphical programs would work out-of-the-box. Unfortunately on other Linux distributions, we need to wrap our graphical programs so they know where to find the graphics drivers. To perform this wrapping, we will use [[https://github.com/nix-community/nixGL][nixGL]]. To install nixGL we need to add it as an input in our ~flake.nix~, apply its overlay, and add it as an ~extraSpecialArgs~ to have it automatically passed into each module:
|
||||
|
||||
#+begin_src nix
|
||||
{
|
||||
|
||||
BIN
posts/2025/02/21/why-i-use-nixos/files/20250221_gsutil.png
Normal file
BIN
posts/2025/02/21/why-i-use-nixos/files/20250221_gsutil.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
BIN
posts/2025/02/21/why-i-use-nixos/files/20250221_nodejs.png
Normal file
BIN
posts/2025/02/21/why-i-use-nixos/files/20250221_nodejs.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
18
posts/2025/02/21/why-i-use-nixos/index.org
Normal file
18
posts/2025/02/21/why-i-use-nixos/index.org
Normal file
@@ -0,0 +1,18 @@
|
||||
#+OPTIONS: html-postamble:nil
|
||||
#+title: Why I use NixOS
|
||||
#+date: <2025-02-21 Fri>
|
||||
#+author: Tom Alexander
|
||||
#+email:
|
||||
#+language: en
|
||||
#+select_tags: export
|
||||
#+exclude_tags: noexport
|
||||
|
||||
This is just a list of situations in which classic Linux distributions have failed me, whereas NixOS would not.
|
||||
|
||||
* Package version conflicts
|
||||
|
||||
** gsutil on Arch Linux [2025-02-21 Fri]
|
||||
[[./files/20250221_gsutil.png]]
|
||||
|
||||
** NodeJS on Arch Linux [2025-02-21 Fri]
|
||||
[[./files/20250221_nodejs.png]]
|
||||
Reference in New Issue
Block a user