Flake structure for multi system

This page summarizes the projects mentioned and recommended in the original post on /r/NixOS

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • nyx

    ⚙️Nix[OS] Configuration

  • Current config [nix](https://github.com/edeneast/nyx)

  • veritas

    @davidtwco's personal mono-repo - containing the declarative configuration of servers, desktops and laptops - including dotfiles; a collection of packages; a static site generator and source of "davidtw.co".

  • I work in the game industry... and that means one things... WINDOWS 🤮. I user nixos on my laptops. This meant that my nix configuration defined both `nixosSystem` and `homeManagerConfiguration`. I would use wsl on windows as much as I could. My current flake structure was modeled from [@davidwco](https://github.com/davidtwco/veritas) and [@hlissner](https://github.com/hlissner/dotfiles).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • dotfiles

    And I say hey, what's going on? (by hlissner)

  • I work in the game industry... and that means one things... WINDOWS 🤮. I user nixos on my laptops. This meant that my nix configuration defined both `nixosSystem` and `homeManagerConfiguration`. I would use wsl on windows as much as I could. My current flake structure was modeled from [@davidwco](https://github.com/davidtwco/veritas) and [@hlissner](https://github.com/hlissner/dotfiles).

  • nixos-configs

    My NixOS and nix-darwin configs (by reckenrode)

  • My flake does most of those things. I don’t have any systems with WSL, so I’m not sure whether or how that would work. If it can be created by nixosSystem, then it would probably work. I take a pretty different approach in my flake though. I’ve structured it so I can define platforms, hosts, and users by convention. Adding a new host is just creating the right directory and dropping a configuration.nix in it. Still, that might not be helpful for your needs since you’ve already got an established convention.

  • dotfiles

  • Mine sets up a nixos host, a linux host and a macos host with nix-darwin, all with home manager: https://github.com/sebastiant/dotfiles/blob/master/flake.nix

  • dotfiles

    My NixOS dotfiles for desktops and servers (by jordanisaacs)

  • I’ll just add on, I use functions in my nix file to make configs (iso, home manager, nixos),: function folder. With this logic you can create basic other hosts. How they are used in used in flake.nix

  • dotfiles

  • People have upvoted me, so I guess I better deliver now. My flake includes multiple hosts and multiple independent home-manager configurations. For the machines that are actual nixos machines, I set them up with

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts