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