mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41: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 = [
|
home.packages = [
|
||||||
pkgs.eza
|
pkgs.eza
|
||||||
pkgs.bat
|
pkgs.bat
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@
|
||||||
options.custom.programs.shell.zsh.enable = lib.mkEnableOption "";
|
options.custom.programs.shell.zsh.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
||||||
|
custom.programs.shell.aliases.enable = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue