updating...

This commit is contained in:
Anish Lakhwara 2022-12-07 16:29:07 +10:00
parent a242b28158
commit 243bd46338
5 changed files with 18 additions and 16 deletions

View file

@ -312,11 +312,11 @@
"vimwiki-cli": "vimwiki-cli" "vimwiki-cli": "vimwiki-cli"
}, },
"locked": { "locked": {
"lastModified": 1670292234, "lastModified": 1670394209,
"narHash": "sha256-rKXu1mkj/iNlZv2fb5MRHkYV6XR8BfHAXGgmMnxA7T8=", "narHash": "sha256-8JCo1pThdC8yJte1DnozsdO5ZlSKfSmfaxNRib+mloA=",
"ref": "main", "ref": "main",
"rev": "130146bcb642d18994de42bdc20e4f9617cfc1a3", "rev": "a0c9977d1ae241c0b59c44d0921180774a6e7820",
"revCount": 444, "revCount": 446,
"type": "git", "type": "git",
"url": "ssh://gitea@git.sealight.xyz/aynish/kitaab" "url": "ssh://gitea@git.sealight.xyz/aynish/kitaab"
}, },

View file

@ -537,16 +537,17 @@ in
require("luasnip.loaders.from_vscode").lazy_load() require("luasnip.loaders.from_vscode").lazy_load()
-- null-ls -- null-ls
local null_ls = require "null-ls" local null_ls = require("null-ls")
local sources = { null_ls.setup({
sources = {
null_ls.builtins.code_actions.statix, null_ls.builtins.code_actions.statix,
null_ls.builtins.diagnostics.shellcheck, null_ls.builtins.diagnostics.shellcheck,
-- null_ls.builtins.diagnostics.clj_kondo, -- null_ls.builtins.diagnostics.clj_kondo,
null_ls.builtins.formatting.isort, null_ls.builtins.formatting.isort,
null_ls.builtins.formatting.black, null_ls.builtins.formatting.black,
null_ls.builtins.code_actions.proselint, null_ls.builtins.code_actions.proselint,
} },
null_ls.setup({sources}) })
-- Setup lspconfig -- Setup lspconfig
require("lsp-format").setup {} require("lsp-format").setup {}

View file

@ -16,7 +16,7 @@ in
nix = { nix = {
settings = { settings = {
sandbox = true; sandbox = true;
trusted-users = [ "root" "@wheel" ]; trusted-users = [ "anish" "root" "@wheel" ];
allowed-users = [ "@wheel" ]; allowed-users = [ "@wheel" ];
auto-optimise-store = true; auto-optimise-store = true;
system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];

View file

@ -1,5 +1,5 @@
{ self, pkgs, ... }: { self, pkgs, ... }:
{ {
services."anish.lakhwara.com".enable = true; services."anish.lakhwara.com".enable = true;
services."anish.lakhwara.com".enableSSL = false; services."anish.lakhwara.com".enableSSL = true;
} }

View file

@ -1,3 +1,4 @@
#!/usr/bin/env bash
key_length=512 key_length=512
iterations="$(head -n 2 /boot/crypted-storage/default)" iterations="$(head -n 2 /boot/crypted-storage/default)"
salt="$(head -n 1 /boot/crypted-storage/default)" salt="$(head -n 1 /boot/crypted-storage/default)"