Add mime type module and refactor options

This commit is contained in:
DashieTM 2024-09-09 23:11:36 +02:00
parent 3a2266d44f
commit 69fb898087
25 changed files with 641 additions and 478 deletions

View file

@ -2,7 +2,6 @@
lib,
config,
options,
pkgs,
...
}:
{
@ -19,7 +18,7 @@
type = lib.types.str;
description = "Git email";
};
ssh_config = lib.mkOption {
sshConfig = lib.mkOption {
default = ''
Host github.com
${
@ -63,7 +62,7 @@
};
};
};
home.file.".ssh/config".text = config.mods.git.ssh_config;
home.file.".ssh/config".text = config.mods.git.sshConfig;
}
);
}