diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-01-13 11:48:11 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-02-03 14:47:14 +0100 |
commit | 4fede53c0996938979d2966a69f108782a8c1c12 (patch) | |
tree | 6f15d992897ef0ef0b26636c6cb769e4868d86d5 /nixos/modules/services/misc | |
parent | e0feace5cde328a8f7478b2cf762991316d4c07c (diff) | |
download | nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.gz nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.bz2 nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.lz nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.xz nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.zst nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.zip |
nixos manuals: bring back package references
This reverts most of 89e983786a, as those references are sanitized now. Fixes #10039, at least most of it. The `sane` case wasn't fixed, as it calls a *function* in pkgs to get the default value.
Diffstat (limited to 'nixos/modules/services/misc')
-rw-r--r-- | nixos/modules/services/misc/nixos-manual.nix | 3 | ||||
-rw-r--r-- | nixos/modules/services/misc/subsonic.nix | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/nixos/modules/services/misc/nixos-manual.nix b/nixos/modules/services/misc/nixos-manual.nix index 8ef1b035ca6..b586bc84579 100644 --- a/nixos/modules/services/misc/nixos-manual.nix +++ b/nixos/modules/services/misc/nixos-manual.nix @@ -96,6 +96,7 @@ in services.nixosManual.browser = mkOption { type = types.path; + default = "${pkgs.w3m-nox}/bin/w3m"; description = '' Browser used to show the manual. ''; @@ -133,8 +134,6 @@ in services.mingetty.helpLine = mkIf cfg.showManual "\nPress <Alt-F${toString cfg.ttyNumber}> for the NixOS manual."; - services.nixosManual.browser = mkDefault "${pkgs.w3m-nox}/bin/w3m"; - }; } diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix index 2831e95b948..020d53a481d 100644 --- a/nixos/modules/services/misc/subsonic.nix +++ b/nixos/modules/services/misc/subsonic.nix @@ -97,6 +97,7 @@ in transcoders = mkOption { type = types.listOf types.path; + default = [ "${pkgs.ffmpeg}/bin/ffmpeg" ]; description = '' List of paths to transcoder executables that should be accessible from Subsonic. Symlinks will be created to each executable inside @@ -152,8 +153,5 @@ in }; users.extraGroups.subsonic.gid = config.ids.gids.subsonic; - - services.subsonic.transcoders = mkDefault [ "${pkgs.ffmpeg}/bin/ffmpeg" ]; - }; } |