modules: change username configuration option
It makes more sense to have a `my.user` option.
This commit is contained in:
parent
0ff730bf44
commit
76cac9af51
4 changed files with 11 additions and 9 deletions
|
|
@ -10,11 +10,13 @@
|
|||
];
|
||||
|
||||
options.my = with lib; {
|
||||
username = mkOption {
|
||||
type = types.str;
|
||||
default = "ambroisie";
|
||||
example = "alice";
|
||||
description = "my username";
|
||||
user = {
|
||||
name = mkOption {
|
||||
type = types.str;
|
||||
default = "ambroisie";
|
||||
example = "alice";
|
||||
description = "my username";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue