rename plusultra to metacfg
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
b22607a4df
commit
04f08d679e
48 changed files with 149 additions and 149 deletions
|
@ -2,9 +2,9 @@
|
|||
|
||||
let
|
||||
inherit (lib) types mkIf mkDefault mkMerge;
|
||||
inherit (lib.plusultra) mkOpt;
|
||||
inherit (lib.metacfg) mkOpt;
|
||||
|
||||
cfg = config.plusultra.user;
|
||||
cfg = config.metacfg.user;
|
||||
|
||||
is-linux = pkgs.stdenv.isLinux;
|
||||
is-darwin = pkgs.stdenv.isDarwin;
|
||||
|
@ -18,7 +18,7 @@ let
|
|||
"/home/${cfg.name}";
|
||||
in
|
||||
{
|
||||
options.plusultra.user = {
|
||||
options.metacfg.user = {
|
||||
enable = mkOpt types.bool false "Whether to configure the user account.";
|
||||
name = mkOpt (types.nullOr types.str) config.snowfallorg.user.name "The user account.";
|
||||
|
||||
|
@ -33,11 +33,11 @@ in
|
|||
assertions = [
|
||||
{
|
||||
assertion = cfg.name != null;
|
||||
message = "plusultra.user.name must be set";
|
||||
message = "metacfg.user.name must be set";
|
||||
}
|
||||
{
|
||||
assertion = cfg.home != null;
|
||||
message = "plusultra.user.home must be set";
|
||||
message = "metacfg.user.home must be set";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue