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 = {
modules = [ basant.nixosModule ];
};
box = { channelName = "nixos" };
box = { channelName = "nixos"; };
# hypercube = { };
# work = { };
};
@ -118,7 +118,7 @@
suites = with profiles; rec {
base = [ core users.root users.anish ];
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 ];
graphical = [ base bluetooth music sync wireguard wifi desktop ];
curve = [ graphical secrets ];

View file

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

View file

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

View file

@ -76,6 +76,7 @@ in
set autoindent
set undofile
set signcolumn=auto:4
set title
" set foldmethod=indent " fold based on indent
set number
@ -88,6 +89,9 @@ in
set list lcs=tab:\|\
filetype plugin on
" include - in word to move across easier in lisp / clojure
set iskeyword+=-
set termguicolors
colorscheme ayu-mirage
@ -439,6 +443,13 @@ in
local opts = { noremap = true, silent = true }
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)
-- Custom functions
-- updateDate = function()
-- for line in file.lines()
-- if line.is_empty()
-- line = os.time(<format>)
-- return
EOF
'';
@ -451,6 +462,7 @@ in
rnix-lsp
terraform-lsp
clj-kondo
gcc
# installs different langauge servers for neovim-lsp
# 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