Working on reshuffling
This commit is contained in:
+6
-4
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user