rest of the split migration
This commit is contained in:
20
modules/shell/config/home.nix
Normal file
20
modules/shell/config/home.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
osConfig ? null,
|
||||
...
|
||||
}:
|
||||
let
|
||||
shellType = inputs.self.lib.hmShellType osConfig "bash";
|
||||
in
|
||||
{
|
||||
options.my.shell.type = lib.mkOption {
|
||||
type = lib.types.enum [
|
||||
"bash"
|
||||
"zsh"
|
||||
];
|
||||
default = "bash";
|
||||
description = "The shell to use in Home Manager";
|
||||
};
|
||||
config.my.shell.type = lib.mkDefault shellType;
|
||||
}
|
||||
Reference in New Issue
Block a user