mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +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 {
|
addons = lib.mkOption {
|
||||||
type = with lib.types; listOf package;
|
type = with lib.types; listOf package;
|
||||||
description = lib.mdDoc ''
|
description = ''
|
||||||
List of packages providing Blender system resources at
|
List of packages providing Blender system resources at
|
||||||
{file}`/share/blender` or at {file}`/share/blender/$MAJORMINORVERSION`.
|
{file}`/share/blender` or at {file}`/share/blender/$MAJORMINORVERSION`.
|
||||||
'';
|
'';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
let
|
let
|
||||||
cfg = config.programs.retroarch;
|
cfg = config.programs.retroarch;
|
||||||
|
|
||||||
finalPkg = cfg.package.override {
|
finalPkg = pkgs.wrapRetroArch {
|
||||||
inherit (cfg) cores settings;
|
inherit (cfg) cores settings;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
@ -11,8 +11,6 @@ in
|
|||||||
options.programs.retroarch = {
|
options.programs.retroarch = {
|
||||||
enable = lib.mkEnableOption "configuring Retroarch";
|
enable = lib.mkEnableOption "configuring Retroarch";
|
||||||
|
|
||||||
package = lib.mkPackageOption pkgs "retroarch" { };
|
|
||||||
|
|
||||||
cores = lib.mkOption {
|
cores = lib.mkOption {
|
||||||
type = with lib.types; listOf package;
|
type = with lib.types; listOf package;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
|
@ -135,7 +135,7 @@ in
|
|||||||
|
|
||||||
instances = lib.mkOption {
|
instances = lib.mkOption {
|
||||||
type = with lib.types; attrsOf (submodule instanceType);
|
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 = { };
|
default = { };
|
||||||
example = lib.literalExpression ''
|
example = lib.literalExpression ''
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ in
|
|||||||
|
|
||||||
addons = lib.mkOption {
|
addons = lib.mkOption {
|
||||||
type = with lib.types; listOf package;
|
type = with lib.types; listOf package;
|
||||||
description = lib.mdDoc ''
|
description = ''
|
||||||
List of packages providing Blender system resources at
|
List of packages providing Blender system resources at
|
||||||
{file}`/share/blender` or at {file}`/share/blender/$MAJORMINORVERSION`.
|
{file}`/share/blender` or at {file}`/share/blender/$MAJORMINORVERSION`.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user