Added extra hosts to easily connect to servers through Tailscale
Fixed ocaml in home manager packages, adding the standard distribution of packages as per https://ocaml.org/install Enabled lazy vim
This commit is contained in:
parent
8e59184658
commit
3b1a010fb7
|
|
@ -35,6 +35,12 @@
|
||||||
networking.hostName = "oyvoLaptop"; # Define your hostname.
|
networking.hostName = "oyvoLaptop"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||||
|
|
||||||
|
# Extra hosts for connecting to tailscale'd servers
|
||||||
|
networking.extraHosts = ''
|
||||||
|
100.89.185.72 raymond
|
||||||
|
100.119.100.64 sherbrooke
|
||||||
|
'';
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Montreal";
|
time.timeZone = "America/Montreal";
|
||||||
|
|
||||||
|
|
|
||||||
2
home.nix
2
home.nix
|
|
@ -19,7 +19,7 @@ in
|
||||||
# Install packages
|
# Install packages
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
[ texliveFull ] ++ # TeX distribution
|
[ texliveFull ] ++ # TeX distribution
|
||||||
[ ocaml ] ++ # OCaml
|
(with ocamlPackages; [ ocaml dune_3 dune-release merlin ocaml-lsp odoc ocamlformat utop ]) ++ # OCaml
|
||||||
[ grim slurp wl-clipboard jq ] ++ # Basic utilities
|
[ grim slurp wl-clipboard jq ] ++ # Basic utilities
|
||||||
[ bitwarden-cli ] ++ # Personalized selection of command-line (CLI/TUI) apps
|
[ bitwarden-cli ] ++ # Personalized selection of command-line (CLI/TUI) apps
|
||||||
[ wezterm ] ++ # Terminal emulator
|
[ wezterm ] ++ # Terminal emulator
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,29 @@ vim.opt.number = true
|
||||||
vim.opt.syntax = 'on'
|
vim.opt.syntax = 'on'
|
||||||
vim.opt.smartcase = true
|
vim.opt.smartcase = true
|
||||||
|
|
||||||
|
--- clipboard
|
||||||
|
vim.opt.clipboard = 'unnamedplus'
|
||||||
|
|
||||||
|
-- Enable lazy.vim
|
||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
|
vim.fn.system({
|
||||||
|
"git",
|
||||||
|
"clone",
|
||||||
|
"--filter=blob:none",
|
||||||
|
"https://github.com/folke/lazy.nvim.git",
|
||||||
|
"--branch=stable", -- latest stable release
|
||||||
|
lazypath,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
vim.g.mapleader = " " -- Make sure to set `mapleader` before lazy so your mappings are correct
|
||||||
|
|
||||||
|
plugins = {
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
{ "folke/neoconf.nvim", cmd = "Neoconf" },
|
||||||
|
"folke/neodev.nvim",
|
||||||
|
}
|
||||||
|
|
||||||
|
require("lazy").setup(plugins)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
profiles = {
|
profiles = {
|
||||||
main = {
|
main = {
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
name = "Main";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue