home.social

#flakeparts — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #flakeparts, aggregated by home.social.

  1. @arichtman
    Recently started using #dendritic pattern using #flake parts it's really helpful.

    Earlier: A new module file means I add it to a folder, then import them in my configuration.nix home.nix accordingly.

    Now: a module file added to a folder. That's it.

    And more awesome is that I can place both a nixos module and home module in the same file to have aspects together🔥 much more benefits

    It's worth doing things this way

    #nix #nixos #dendriticpattern #config #management #flakeparts

  2. @arichtman
    Recently started using #dendritic pattern using #flake parts it's really helpful.

    Earlier: A new module file means I add it to a folder, then import them in my configuration.nix home.nix accordingly.

    Now: a module file added to a folder. That's it.

    And more awesome is that I can place both a nixos module and home module in the same file to have aspects together🔥 much more benefits

    It's worth doing things this way

    #nix #nixos #dendriticpattern #config #management #flakeparts

  3. 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.

    git.krutonium.ca/Krutonium/Nix

    #Nix #NixOS #HomeManager #Linux #FlakeParts

  4. 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.

    git.krutonium.ca/Krutonium/Nix

    #Nix #NixOS #HomeManager #Linux #FlakeParts

  5. 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.

    codeberg.org/rossabaker/le-gri

    #Nix #FlakeParts #Devshell #Treefmt

  6. 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.

    codeberg.org/rossabaker/le-gri

    #Nix #FlakeParts #Devshell #Treefmt

  7. 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.

    codeberg.org/rossabaker/le-gri

    #Nix #FlakeParts #Devshell #Treefmt

  8. 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.

    codeberg.org/rossabaker/le-gri

    #Nix #FlakeParts #Devshell #Treefmt

  9. 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.

    codeberg.org/rossabaker/le-gri

    #Nix #FlakeParts #Devshell #Treefmt

  10. @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 for commands, in this case info, and to present the different layers that are the OS, app and nixos settings. The program ssh-key-manager is in my flake repoducible.org ( features/security/packages can be pulled out into another flake) & bit of a monster. Yours looks ultra compact

  11. @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 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

  12. Hi Nix and flake-parts users,

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

    github.com/vivekanandan-ks/ksv

    Please check this and suggest any improvements.

    It would help me learn to do things more properly.

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

  13. Hi Nix and flake-parts users,

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

    github.com/vivekanandan-ks/ksv

    Please check this and suggest any improvements.

    It would help me learn to do things more properly.

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

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

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

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

    #FlakeParts #Nix #Documentation

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

    #FlakeParts #Nix #Documentation

  18. 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...