mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
Restructure shell config
This commit is contained in:
parent
e0f7a8440b
commit
097cf795fc
4 changed files with 5 additions and 1 deletions
|
|
@ -5,7 +5,9 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
||||
options.custom.programs.shell.aliases.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.programs.shell.aliases.enable {
|
||||
home.packages = [
|
||||
pkgs.eza
|
||||
pkgs.bat
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
options.custom.programs.shell.zsh.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
||||
custom.programs.shell.aliases.enable = true;
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
Loading…
Add table
Add a link
Reference in a new issue