nix-config/modules/default.nix
Bruno BELANYI 8efe75295d modules: add option to specify username
Given that I use it in plenty of places, it makes sense to place it
there for reference in other modules.
2021-05-30 00:46:09 +02:00

21 lines
292 B
Nix

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