Working on reshuffling
This commit is contained in:
+3
-2
@@ -1316,7 +1316,8 @@ in
|
||||
options.mySystem.terminals.zsh.enable =
|
||||
lib.mkEnableOption "Enable Zsh terminal with Oh-My-Zsh";
|
||||
|
||||
config = lib.mkIf (config.mySystem.terminals.zsh.enable or false) {
|
||||
# Use `config` only inside a `config = { ... }` block of the module
|
||||
config = lib.mkIf (lib.getOption config.mySystem.terminals.zsh.enable) {
|
||||
home-manager.users.${username} = {
|
||||
programs.zsh.enable = true;
|
||||
programs.zsh.enableCompletion = true;
|
||||
@@ -1336,7 +1337,7 @@ in
|
||||
};
|
||||
|
||||
programs.zsh.initExtra = ''
|
||||
# Catppuccin Mocha kleuren
|
||||
# Catppuccin Mocha colors
|
||||
local mocha_base="#1E1E2E"
|
||||
local mocha_surface0="#313244"
|
||||
local mocha_text="#CDD6F4"
|
||||
|
||||
@@ -7,7 +7,8 @@ in
|
||||
options.mySystem.terminals.zsh.enable =
|
||||
lib.mkEnableOption "Enable Zsh terminal with Oh-My-Zsh";
|
||||
|
||||
config = lib.mkIf (config.mySystem.terminals.zsh.enable or false) {
|
||||
# Use `config` only inside a `config = { ... }` block of the module
|
||||
config = lib.mkIf (lib.getOption config.mySystem.terminals.zsh.enable) {
|
||||
home-manager.users.${username} = {
|
||||
programs.zsh.enable = true;
|
||||
programs.zsh.enableCompletion = true;
|
||||
@@ -27,7 +28,7 @@ in
|
||||
};
|
||||
|
||||
programs.zsh.initExtra = ''
|
||||
# Catppuccin Mocha kleuren
|
||||
# Catppuccin Mocha colors
|
||||
local mocha_base="#1E1E2E"
|
||||
local mocha_surface0="#313244"
|
||||
local mocha_text="#CDD6F4"
|
||||
|
||||
Reference in New Issue
Block a user