rename plusultra to metacfg

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-03-20 08:58:05 +01:00
parent b22607a4df
commit 04f08d679e
48 changed files with 149 additions and 149 deletions

View file

@ -5,8 +5,8 @@
, ...
}:
with lib;
with lib.plusultra; let
cfg = config.plusultra.user;
with lib.metacfg; let
cfg = config.metacfg.user;
defaultIconFileName = "profile.jpg";
defaultIcon = pkgs.stdenvNoCC.mkDerivation {
name = "default-icon";
@ -24,14 +24,14 @@ with lib.plusultra; let
pkgs.runCommandNoCC "propagated-icon"
{ passthru = { fileName = cfg.icon.fileName; }; }
''
local target="$out/share/plusultra-icons/user/${cfg.name}"
local target="$out/share/metacfg-icons/user/${cfg.name}"
mkdir -p "$target"
cp ${cfg.icon} "$target/${cfg.icon.fileName}"
'';
in
{
options.plusultra.user = with types; {
options.metacfg.user = with types; {
name = mkOpt str "harald" "The name to use for the user account.";
fullName = mkOpt str "Harald Hoyer" "The full name of the user.";
email = mkOpt str "harald@hoyer.xyz" "The email of the user.";
@ -58,7 +58,7 @@ in
environment.systemPackages = with pkgs; [
];
plusultra.home = {
metacfg.home = {
file = {
"Desktop/.keep".text = "";
"Documents/.keep".text = "";