Compare commits
11 Commits
2a63a01ce3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7153e2d3e3 | |||
| 24b1438410 | |||
| 3d62cc10d3 | |||
| f92f4e8362 | |||
| 60fe1fd579 | |||
| 575d797b5c | |||
| b492aeb371 | |||
| 023007dc79 | |||
| 962aadd77b | |||
| cb2388c3c6 | |||
| dca64dd6c2 |
@@ -3,10 +3,22 @@
|
||||
imports = [
|
||||
../../modules/nixos/desktop.nix
|
||||
|
||||
../../modules/nixos/ssh.nix
|
||||
./hardware-configuration.nix
|
||||
./variables.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
interfaces = {
|
||||
enp5s0 = {
|
||||
wakeOnLan.enable = true;
|
||||
};
|
||||
};
|
||||
firewall = {
|
||||
allowedUDPPorts = [ 9 ];
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users."${config.var.username}" = import ./home.nix;
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
@@ -89,6 +89,8 @@
|
||||
cmatrix
|
||||
|
||||
libreoffice-qt6-fresh
|
||||
|
||||
trash-cli
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
homedir = "${config.xdg.dataHome}/gnupg";
|
||||
@@ -15,6 +16,9 @@
|
||||
pinentry = {
|
||||
package = pkgs.pinentry-gnome3;
|
||||
};
|
||||
sshKeys = ["CD848796822630B280FC6DFA55F24A20040F22B5"];
|
||||
sshKeys = [
|
||||
"CD848796822630B280FC6DFA55F24A20040F22B5"
|
||||
"B8FBDFBD7F42C444C17E086E0EE2E34FB43A7187"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ let
|
||||
typescript
|
||||
typescript-language-server
|
||||
|
||||
rustc
|
||||
rust-analyzer
|
||||
rustfmt
|
||||
|
||||
@@ -60,6 +61,8 @@ let
|
||||
typstyle
|
||||
|
||||
ltex-ls-plus
|
||||
|
||||
harper
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -171,13 +171,25 @@ require("lz.n").load({
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
end,
|
||||
},
|
||||
{
|
||||
-- lazydev makes your lsp way better in your config without needing extra lsp configuration.
|
||||
"lazydev.nvim",
|
||||
cmd = "LazyDev",
|
||||
ft = "lua",
|
||||
after = function()
|
||||
require("lazydev").setup({
|
||||
library = {
|
||||
{ words = { "nixCats" }, path = (nixCats.nixCatsPath or "") .. "/lua" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"blink.cmp",
|
||||
before = function()
|
||||
-- Trigger lazydev so it's ready for blink source
|
||||
require("lz.n").trigger_load({ "lazydev.nvim", "luasnip" })
|
||||
end,
|
||||
event = "VimEnter",
|
||||
after = function()
|
||||
require("blink.cmp").setup({
|
||||
keymap = {
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
require("lz.n").load({
|
||||
{
|
||||
{
|
||||
-- lazydev makes your lsp way better in your config without needing extra lsp configuration.
|
||||
"lazydev.nvim",
|
||||
cmd = "LazyDev",
|
||||
ft = "lua",
|
||||
after = function()
|
||||
require("lazydev").setup({
|
||||
library = {
|
||||
{ words = { "nixCats" }, path = (nixCats.nixCatsPath or "") .. "/lua" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-lspconfig",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
@@ -78,7 +64,7 @@ require("lz.n").load({
|
||||
-- 1. Setup Diagnostics (Visuals)
|
||||
vim.diagnostic.config({
|
||||
severity_sort = true,
|
||||
underline = { severity = vim.diagnostic.severity.ERROR },
|
||||
-- underline = { severity = vim.diagnostic.severity.ERROR },
|
||||
signs = {
|
||||
text = {
|
||||
[vim.diagnostic.severity.ERROR] = " ",
|
||||
@@ -179,7 +165,8 @@ require("lz.n").load({
|
||||
},
|
||||
})
|
||||
vim.lsp.enable("ltex_plus")
|
||||
|
||||
vim.lsp.enable("harper_ls")
|
||||
end,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
@@ -4,6 +4,15 @@
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
|
||||
matchBlocks = {
|
||||
"github-work" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = "/home/kiri/.ssh/github-work.pub";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
};
|
||||
|
||||
includes = [
|
||||
config.sops.secrets.ssh_config_orion.path
|
||||
];
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
time_format = "%H:%M"
|
||||
default_list = "personal"
|
||||
default_due = 0
|
||||
default_command = "list --sort due"
|
||||
default_command = "list --sort priority,due"
|
||||
humanize = True
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -52,7 +52,7 @@ in
|
||||
path = syncPath;
|
||||
devices = builtins.attrNames devices; # Share with all defined devices
|
||||
# Ensure new files are readable by the group (chmod 770 approx)
|
||||
ignorePerms = false;
|
||||
ignorePerms = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user