Working on reshuffling

This commit is contained in:
2026-03-19 07:13:52 +00:00
parent 81b1a029da
commit b7c9be916e
2 changed files with 12 additions and 8 deletions
+6 -4
View File
@@ -1311,13 +1311,15 @@ This sets up the zsh terminal
let let
username = "henrov"; username = "henrov";
in { in
{
options.mySystem.terminals.zsh.enable = options.mySystem.terminals.zsh.enable =
lib.mkEnableOption "Enable Zsh terminal with Oh-My-Zsh"; lib.mkEnableOption "Enable Zsh terminal with Oh-My-Zsh";
config = lib.mkIf (config.mySystem.terminals.zsh.enable or false) { # Let op: config komt van NixOS module args, niet top-level
# Home Manager scope config = {
home-manager.users.${username} = { # mkIf kan hier veilig config.mySystem gebruiken
home-manager.users.${username} = lib.mkIf (config.mySystem.terminals.zsh.enable or false) {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
+6 -4
View File
@@ -2,13 +2,15 @@
let let
username = "henrov"; username = "henrov";
in { in
{
options.mySystem.terminals.zsh.enable = options.mySystem.terminals.zsh.enable =
lib.mkEnableOption "Enable Zsh terminal with Oh-My-Zsh"; lib.mkEnableOption "Enable Zsh terminal with Oh-My-Zsh";
config = lib.mkIf (config.mySystem.terminals.zsh.enable or false) { # Let op: config komt van NixOS module args, niet top-level
# Home Manager scope config = {
home-manager.users.${username} = { # mkIf kan hier veilig config.mySystem gebruiken
home-manager.users.${username} = lib.mkIf (config.mySystem.terminals.zsh.enable or false) {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;