init opam, add stack and remove hostname

This commit is contained in:
Noa Aarts 2024-05-18 11:13:11 +02:00
parent c365e01645
commit be42ca6833
4 changed files with 6 additions and 4 deletions

View file

@ -625,6 +625,7 @@ require("lazy").setup({
local luasnip = require("luasnip") local luasnip = require("luasnip")
luasnip.config.setup({}) luasnip.config.setup({})
require("luasnip.loaders.from_vscode").lazy_load()
cmp.setup({ cmp.setup({
snippet = { snippet = {
expand = function(args) expand = function(args)
@ -777,6 +778,5 @@ require("lazy").setup({
-- For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins -- For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins
-- { import = 'custom.plugins' }, -- { import = 'custom.plugins' },
}, {}) }, {})
require("luasnip.loaders.from_vscode").lazy_load()
-- The line beneath this is called `modeline`. See `:help modeline` -- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et

View file

@ -45,9 +45,6 @@
networking = { networking = {
hostName = "lambdaOS"; # Define your hostname. hostName = "lambdaOS"; # Define your hostname.
extraHosts = ''
::1 noa.voorwaarts.nl
'';
}; };
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View file

@ -65,6 +65,8 @@
go go
nodejs nodejs
opam opam
stack
localsend localsend
]; ];

View file

@ -21,6 +21,9 @@ in
lt = "lsd -l --tree"; lt = "lsd -l --tree";
update = "nix flake update --commit-lock-file $HOME/nixos && sudo nixos-rebuild switch --flake $HOME/nixos"; update = "nix flake update --commit-lock-file $HOME/nixos && sudo nixos-rebuild switch --flake $HOME/nixos";
}; };
initExtra = ''
[[ ! -r /home/noa/.opam/opam-init/init.zsh ]] || source /home/noa/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
'';
history = { history = {
path = "${config.xdg.dataHome}/zsh/history"; path = "${config.xdg.dataHome}/zsh/history";
size = 10000; size = 10000;