nixfiles/home-manager/options.nix
Sebastian Walz 860d31cee1
Tohu vaBohu
2023-04-21 00:22:52 +02:00

28 lines
745 B
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ modules, ... }:
let
inherit(modules) options types;
literalExpression
= text:
{
_type = "literalExpression";
inherit text;
};
in
{
home-manager."sivizius"
= {
shell
= options.mkOption
{
type = types.nullOr types.shellPackage;
default = null;
defaultText = literalExpression "pkgs.zsh";
description
= ''
The users shell derivations, like pkgs.zsh,
or null for system default.
'';
};
};
}