Skip to content

Commit

Permalink
Add axum post from detsys
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Aug 15, 2023
1 parent afe76f0 commit 417d50e
Show file tree
Hide file tree
Showing 4 changed files with 808 additions and 1 deletion.
5 changes: 5 additions & 0 deletions content/blog/2022-12-06-nix-on-the-steam-deck/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,3 +372,8 @@ You are welcome to explore the code [here](https://github.com/DeterminateSystems
We explored how the Steam Deck takes certain measures to protect users from accidently losing changes when the system updates and swaps due to its A/B booting, we also explored how we can use persistent systemd units to create a `/nix` path on the Steam Deck which bind mounts to a persistent `/home/nix` directory. In order to ensure that the units linked from the `/nix` path are loaded, we also learnt we can have a unit which reloads the systemd daemon, and how this resolves the issue.

Using these techniques, we successfully installed Nix on the Steam Deck using both the traditional installer, as well as a prototype that we've been working on.

This article was suggested by my employer, [@grahamc] at [Determinate Systems].

[@grahamc]: https://github.com/grahamc
[Determinate Systems]: https://determinate.systems/
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,12 @@ In these cases, try using the `git+ssh` protocol. For example:
Running `nix flake update` should then use your SSH key and work, as long as you have the ability to clone that repository over SSH.


This article was suggested by my employer, [@grahamc] at [Determinate Systems].

[hoverbear-consulting-flake]: https://github.com/Hoverbear-Consulting/flake
[nixos-modules]: https://nixos.wiki/wiki/NixOS_modules
[nixos]: https://nixos.org/
[configurable-nix-packages]: /blog/configurable-nix-packages/
[github-nix-extendModules]: https://github.com/NixOS/nixpkgs/blob/4e416a8e847057c49e73be37ae8dc4fcdfe9eff8/lib/modules.nix#L333-L354
[github-nix-extendModules]: https://github.com/NixOS/nixpkgs/blob/4e416a8e847057c49e73be37ae8dc4fcdfe9eff8/lib/modules.nix#L333-L354
[@grahamc]: https://github.com/grahamc
[Determinate Systems]: https://determinate.systems/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 417d50e

Please sign in to comment.