zsh + nvim

This commit is contained in:
♥ Minnie ♥ 2023-05-14 10:39:26 +00:00
parent 43ce8ca42f
commit 3c22c2043a
2 changed files with 14 additions and 6 deletions

View file

@ -12,8 +12,12 @@
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# Configurations
"${inputs.neovim-jsm}/default.nix"
# Programs # Programs
./programs/git.nix ./programs/git.nix
./programs/zsh.nix
]; ];
nixpkgs = { nixpkgs = {
@ -51,7 +55,7 @@
username = "admin"; username = "admin";
homeDirectory = "/home/admin"; homeDirectory = "/home/admin";
sessionVariables = { sessionVariables = {
EDITOR = "vim"; EDITOR = "nvim";
}; };
# Install some packages # Install some packages

View file

@ -119,6 +119,7 @@
users.users.admin = { users.users.admin = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.
shell = pkgs.zsh;
openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ]; openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ];
}; };
@ -131,9 +132,12 @@
home-manager home-manager
]; ];
environment.pathsToLink = [ "/share/zsh" ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
programs.zsh.enable = true;
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;