Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos: Type some more options #149415

Merged
merged 3 commits into from
Dec 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nixos/modules/hardware/pcmcia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ in

config = mkOption {
default = null;
type = types.nullOr types.path;
description = ''
Path to the configuration file which maps the memory, IRQs
and ports used by the PCMCIA hardware.
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/services/development/hoogle.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ in {

haskellPackages = mkOption {
description = "Which haskell package set to use.";
type = types.attrs;
default = pkgs.haskellPackages;
defaultText = literalExpression "pkgs.haskellPackages";
};
Expand Down
2 changes: 2 additions & 0 deletions nixos/modules/services/x11/window-managers/xmonad.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ in {
options = {
services.xserver.windowManager.xmonad = {
enable = mkEnableOption "xmonad";

haskellPackages = mkOption {
default = pkgs.haskellPackages;
defaultText = literalExpression "pkgs.haskellPackages";
example = literalExpression "pkgs.haskell.packages.ghc784";
type = types.attrs;
description = ''
haskellPackages used to build Xmonad and other packages.
This can be used to change the GHC version used to build
Expand Down