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
username = "henrov";
in {
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) {
# Home Manager scope
home-manager.users.${username} = {
# Let op: config komt van NixOS module args, niet top-level
config = {
# mkIf kan hier veilig config.mySystem gebruiken
home-manager.users.${username} = lib.mkIf (config.mySystem.terminals.zsh.enable or false) {
programs.zsh = {
enable = true;
enableCompletion = true;
+6 -4
View File
@@ -2,13 +2,15 @@
let
username = "henrov";
in {
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) {
# Home Manager scope
home-manager.users.${username} = {
# Let op: config komt van NixOS module args, niet top-level
config = {
# mkIf kan hier veilig config.mySystem gebruiken
home-manager.users.${username} = lib.mkIf (config.mySystem.terminals.zsh.enable or false) {
programs.zsh = {
enable = true;
enableCompletion = true;