mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
modules: update to latest nixpkgs conventions
This commit is contained in:
parent
4626a4603c
commit
663322b348
@ -38,7 +38,7 @@ in
|
||||
|
||||
addons = lib.mkOption {
|
||||
type = with lib.types; listOf package;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
List of packages providing Blender system resources at
|
||||
{file}`/share/blender` or at {file}`/share/blender/$MAJORMINORVERSION`.
|
||||
'';
|
||||
|
@ -3,7 +3,7 @@
|
||||
let
|
||||
cfg = config.programs.retroarch;
|
||||
|
||||
finalPkg = cfg.package.override {
|
||||
finalPkg = pkgs.wrapRetroArch {
|
||||
inherit (cfg) cores settings;
|
||||
};
|
||||
in
|
||||
@ -11,8 +11,6 @@ in
|
||||
options.programs.retroarch = {
|
||||
enable = lib.mkEnableOption "configuring Retroarch";
|
||||
|
||||
package = lib.mkPackageOption pkgs "retroarch" { };
|
||||
|
||||
cores = lib.mkOption {
|
||||
type = with lib.types; listOf package;
|
||||
default = [ ];
|
||||
|
@ -135,7 +135,7 @@ in
|
||||
|
||||
instances = lib.mkOption {
|
||||
type = with lib.types; attrsOf (submodule instanceType);
|
||||
description = lib.mdDoc "Instances of Vouch proxy to be run.";
|
||||
description = "Instances of Vouch proxy to be run.";
|
||||
default = { };
|
||||
example = lib.literalExpression ''
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ in
|
||||
|
||||
addons = lib.mkOption {
|
||||
type = with lib.types; listOf package;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
List of packages providing Blender system resources at
|
||||
{file}`/share/blender` or at {file}`/share/blender/$MAJORMINORVERSION`.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user