merge main

This commit is contained in:
Anish L 2022-04-24 14:55:24 +10:00
parent ae2cf393b2
commit f02500fcfb
4 changed files with 33 additions and 21 deletions

View file

@ -107,7 +107,7 @@
cube = { cube = {
modules = [ basant.nixosModule ]; modules = [ basant.nixosModule ];
}; };
box = { channelName = "nixos" }; box = { channelName = "nixos"; };
# hypercube = { }; # hypercube = { };
# work = { }; # work = { };
}; };
@ -118,7 +118,7 @@
suites = with profiles; rec { suites = with profiles; rec {
base = [ core users.root users.anish ]; base = [ core users.root users.anish ];
sealight = [ base server ]; # matrix rsshub backup wireguard sealight = [ base server ]; # matrix rsshub backup wireguard
mossnet = [ base server taskd nextcloud networking wireguard-box shaarli wallabag headphones dns backup monitoring dev gonic cron nfs]; mossnet = [ base server taskd nextcloud networking wireguard-box shaarli wallabag headphones dns backup monitoring dev gonic cron nfs ];
cube = [ base site server ]; cube = [ base site server ];
graphical = [ base bluetooth music sync wireguard wifi desktop ]; graphical = [ base bluetooth music sync wireguard wifi desktop ];
curve = [ graphical secrets ]; curve = [ graphical secrets ];

View file

@ -152,7 +152,7 @@ in
jtl = "journalctl"; jtl = "journalctl";
# quick ssh # quick ssh
sm = "ssh mossnet.lan"; sm = "ssh 10.0.69.4";
ss = "ssh sealight.xyz"; ss = "ssh sealight.xyz";
sc = "ssh lakhwara.com"; # cube sc = "ssh lakhwara.com"; # cube
}; };

View file

@ -1,12 +1,12 @@
{ {
networking.extraHosts = '' networking.extraHosts = ''
192.168.1.240 mossnet.lan 10.0.69.4 mossnet.lan
192.168.1.240 links.mossnet.lan 10.0.69.4 links.mossnet.lan
192.168.1.240 read.mossnet.lan 10.0.69.4 read.mossnet.lan
192.168.1.240 stats.mossnet.lan 10.0.69.4 stats.mossnet.lan
''; '';
#10.0.69.4 mossnet.lan #192.168.1.240 mossnet.lan
#10.0.69.4 links.mossnet.lan #192.168.1.240 links.mossnet.lan
#10.0.69.4 read.mossnet.lan #192.168.1.240 read.mossnet.lan
#10.0.69.4 stats.mossnet.lan #192.168.1.240 stats.mossnet.lan
} }

View file

@ -76,6 +76,7 @@ in
set autoindent set autoindent
set undofile set undofile
set signcolumn=auto:4 set signcolumn=auto:4
set title
" set foldmethod=indent " fold based on indent " set foldmethod=indent " fold based on indent
set number set number
@ -88,6 +89,9 @@ in
set list lcs=tab:\|\ set list lcs=tab:\|\
filetype plugin on filetype plugin on
" include - in word to move across easier in lisp / clojure
set iskeyword+=-
set termguicolors set termguicolors
colorscheme ayu-mirage colorscheme ayu-mirage
@ -439,6 +443,13 @@ in
local opts = { noremap = true, silent = true } local opts = { noremap = true, silent = true }
map('n', '<C-i>', '<CMD>lua require("FTerm").toggle()<CR>', opts) map('n', '<C-i>', '<CMD>lua require("FTerm").toggle()<CR>', opts)
map('t', '<A-i>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>', opts) map('t', '<A-i>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>', opts)
-- Custom functions
-- updateDate = function()
-- for line in file.lines()
-- if line.is_empty()
-- line = os.time(<format>)
-- return
EOF EOF
''; '';
@ -451,6 +462,7 @@ in
rnix-lsp rnix-lsp
terraform-lsp terraform-lsp
clj-kondo clj-kondo
gcc
# installs different langauge servers for neovim-lsp # installs different langauge servers for neovim-lsp
# have a look on the link below to figure out the ones for your languages # have a look on the link below to figure out the ones for your languages
# https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md # https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md