Working on reshuffling

This commit is contained in:
2026-03-19 07:24:30 +00:00
parent b74b778413
commit ec8a4ed47b
2 changed files with 104 additions and 96 deletions
+5 -1
View File
@@ -1307,12 +1307,15 @@ in
** =generated/modules/terminals/zsh.nix= ** =generated/modules/terminals/zsh.nix=
This sets up the zsh in the terminal This sets up the zsh in the terminal
#+BEGIN_SRC nix :tangle generated/modules/terminals/zsh.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/modules/terminals/zsh.nix :noweb tangle :mkdirp yes :eval never-html
# terminals/zsh.nix
{ lib, pkgs, ... }: { lib, pkgs, ... }:
flake.nixosModules.zsh = { config, pkgs, lib, ... }: let let
username = "henrov"; username = "henrov";
in in
{ {
# Export as a flake module
zsh = { config, pkgs, lib, ... }: {
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";
@@ -1365,6 +1368,7 @@ in
''; '';
}; };
}; };
};
} }
#+END_SRC #+END_SRC
+5 -1
View File
@@ -1,9 +1,12 @@
# terminals/zsh.nix
{ lib, pkgs, ... }: { lib, pkgs, ... }:
flake.nixosModules.zsh = { config, pkgs, lib, ... }: let let
username = "henrov"; username = "henrov";
in in
{ {
# Export as a flake module
zsh = { config, pkgs, lib, ... }: {
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";
@@ -56,4 +59,5 @@ in
''; '';
}; };
}; };
};
} }