Add a zsh module
This commit is contained in:
parent
7f153092e9
commit
dd11fbfe91
|
@ -14,7 +14,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
params:
|
||||
{
|
||||
rec {
|
||||
# A single nixos config outputting multiple formats.
|
||||
# Alternatively put this in a configuration.nix.
|
||||
generator = {config, ...}: {
|
||||
|
@ -132,11 +132,26 @@ params:
|
|||
];
|
||||
};
|
||||
|
||||
users = {config, ...}: {
|
||||
zshModule = {config, pkgs, ...}: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestions.enable = true;
|
||||
histSize = 5000;
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
users = {config, pkgs, ...}: {
|
||||
|
||||
imports = [
|
||||
zshModule
|
||||
];
|
||||
|
||||
users = {
|
||||
users.lxsameer = {
|
||||
password = "123123";
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
|
|
Loading…
Reference in New Issue