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:
# Configurations
"${inputs.neovim-jsm}/default.nix"
# Programs
./programs/git.nix
./programs/zsh.nix
];
nixpkgs = {
@ -51,7 +55,7 @@
username = "admin";
homeDirectory = "/home/admin";
sessionVariables = {
EDITOR = "vim";
EDITOR = "nvim";
};
# Install some packages

View file

@ -116,11 +116,12 @@
# services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.admin = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ];
};
users.users.admin = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
shell = pkgs.zsh;
openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ];
};
# List packages installed in system profile. To search, run:
# $ nix search wget
@ -131,9 +132,12 @@
home-manager
];
environment.pathsToLink = [ "/share/zsh" ];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
programs.zsh.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;