nix-config/modules/default.nix
Bruno BELANYI 0f17123d09 modules: change username configuration option
It makes more sense to have a `my.user` option.
2021-06-25 20:45:36 +02:00

23 lines
320 B
Nix

# Common modules
{ lib, ... }:
{
imports = [
./hardware
./home.nix
./services
./system
];
options.my = with lib; {
user = {
name = mkOption {
type = types.str;
default = "ambroisie";
example = "alice";
description = "my username";
};
};
};
}