nixos-config/hosts
Gabriel Arazas 00e5c13cff Improve NixOS custom user module
Now, it allows for fine-grained configuration for specific users. I also
managed to fix the infinite recursion error by directly assigning the
values to the keys instead of creating a merged module value in
`config`.
2021-12-19 17:33:33 +08:00
..
ni Improve NixOS custom user module 2021-12-19 17:33:33 +08:00
README.adoc Update home-manager modules and related configs 2021-11-29 17:56:24 +08:00

These are configurations that are specific to a machine (e.g., desktop, servers, VM, containers). Ideally, it should be made minimal as much as possible considering you also have to manage your users.

For managing users, there are multiple ways to manage them with this config:

  • The usual users.users.${user} from system configuration (see man configuration.nix.5).

  • Modularize them (see User-specific configuration for more information). If you have user-specific configs in set, you have to manage them with modules.users.users which is my implementation of managing users (e.g., modules.users.users = [ "foo-dogsquared" ]).