srid / nixos-flake

A flake-parts module to manage NixOS and macOS machines, along with home-manager support, in a unified fashion.
https://community.flake.parts/nixos-flake
MIT License
175 stars 19 forks source link

Allow different users for a nixos or darwin configuration #20

Closed bestlem closed 1 year ago

bestlem commented 1 year ago

Currently this usses myself as a global and only user.

Can machine setips also take a user name (possibly optional) my user name differs on different machines.

In some ways this is the generalisation of issue #19 for none homeManager configs.

I think this means mkLinuxSystem and mkMacosSystem have an optional parameter user that sets myself.