NixOS Home Manager users may find this useful!

It lets you have .desktop files, basically shortcuts, to any application you can run via nix, without actually having to install them. They're pulled in at runtime, using the same magic as you use when doing nix run.

https://git.krutonium.ca/Krutonium/NixOS/src/branch/main/modules/users/krutonium-hm/dynamic-apps.nix

#Nix #NixOS #HomeManager #Linux #FlakeParts

NixOS/modules/users/krutonium-hm/dynamic-apps.nix at main

NixOS

Krutonium's Forgejo Service

Riffing on a new flake parts project, Le Grille. Similar to Shell Game, but it also tries to keep the treefmt config in sync. Adding a language should add not just a devshell, but a treefmt config using the same tool versions. Also takes care of some other boilerplate, like deadnix+statix+nixfmt and checking headers with REUSE.

https://codeberg.org/rossabaker/le-grille

#Nix #FlakeParts #Devshell #Treefmt

le-grille

le-grille

Codeberg.org
@zer0unplanned This post looks very useful. I made a similar tool (still in beta with errors) to grab screenshots and raw data of manual pages #manpages for #linux commands, in this case #ssh info, and to present the different layers that are the OS, app and nixos settings. The program ssh-key-manager is in my flake https://repoducible.org ( features/security/packages #flake #part can be pulled out into another flake) & bit of a monster. Yours looks ultra compact #nixos
#flakepart #flakeparts

Hi Nix and flake-parts users,

Just ported my flake file to use flake-parts finally for my nixos config😄

https://github.com/vivekanandan-ks/ksvnixospcconfigs/blob/main/flake.nix

Please check this and suggest any improvements.

It would help me learn to do things more properly.

🥹
#nix #nixos #flake #flakeparts #config #system

ksvnixospcconfigs/flake.nix at main · vivekanandan-ks/ksvnixospcconfigs

pesonal nixospc config files. Contribute to vivekanandan-ks/ksvnixospcconfigs development by creating an account on GitHub.

GitHub
So homemanager in #nix now has support for #flakeparts that's nice, I have to first migrate to unstable

https://flake.parts has switched to markdown-only tooling just now. Let me know if anything's off.

#FlakeParts #Nix #Documentation

Introduction - flake-parts

@stevestreza but since it's deprecated I'm looking into rebuilding the config with flake-parts and haumea.

https://github.com/hercules-ci/flake-parts
https://github.com/nix-community/haumea

#nixos #flake #flakeParts #haumea

GitHub - hercules-ci/flake-parts: ❄️ Simplify Nix Flakes with the module system

❄️ Simplify Nix Flakes with the module system. Contribute to hercules-ci/flake-parts development by creating an account on GitHub.

GitHub
I enjoy using #nixos a lot, but the ecosystem is evolving and I struggle to keep up.
Had a spaghetti-code config for my main PC until about a year ago. Switched over to using #flake-based #divnix #digga and migrated my work PC and a small home-server to it as well. It feels linke magic when multiple similar but slightly distinct systems can be build from the same well-structured code with ease!
Now digga seems to be deprecated and #flakeParts seems to be considered best practice...