Add rustc and npm to home-manager, sadly due to nvim lsp dependencies

nix-components
pegasust 2022-11-07 18:15:34 +00:00
parent 907f3664f5
commit 09af605f44
3 changed files with 30 additions and 1 deletions

View File

@ -4,7 +4,8 @@
home.homeDirectory = "/home/nixos";
home.packages = [
pkgs.htop pkgs.ripgrep pkgs.gcc pkgs.fd pkgs.zk
pkgs.htop pkgs.ripgrep pkgs.gcc pkgs.fd pkgs.zk pkgs.unzip
pkgs.nodePackages.npm pkgs.rustc pkgs.cargo
];
home.stateVersion = "22.05";
nixpkgs.config.allowUnfree = true;
@ -17,6 +18,10 @@
programs.alacritty = {
enable = true;
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
programs.zoxide = {
enable = true;
enableZshIntegration = true;
@ -76,4 +81,9 @@
# why is this no longer valid?
# pull = { rebase=true; };
};
programs.ssh = {
enable = true;
forwardAgent = true;
extraConfig = builtins.readFile ../ssh/config;
};
}

View File

@ -70,6 +70,7 @@ vim.call('plug#begin', '~/.config/nvim/plugged')
Plug('nvim-lua/plenary.nvim')
-- plugins
Plug('tjdevries/nlua.nvim') -- adds symbols of vim stuffs in init.lua
Plug('nvim-treesitter/nvim-treesitter') -- language parser engine for highlighting
Plug('nvim-treesitter/nvim-treesitter-textobjects') -- more text objects
Plug('nvim-telescope/telescope.nvim', { tag = '0.1.0' }) -- file browser

18
ssh/config Normal file
View File

@ -0,0 +1,18 @@
Host felia-win
HostName felia.coati-celsius.ts.net
Port 2222
User _nhitrl
IdentityFile ~/.ssh/id_rsa
Host felia
HostName felia.coati-celsius.ts.net
Port 22
User ubuntu_admin
IdentityFile ~/.ssh/id_rsa
Host fel
HostName fel.coati-celsius.ts.net
User user
IdentityFile ~/.ssh/id_rsa
Port 22