Workstation: kdeconnect + thunar thumbnails + sidecar + agentpipe (source build)

This commit is contained in:
2026-02-13 14:04:16 +11:00
parent bbb8cae22d
commit 3b908a7d9c
5 changed files with 55 additions and 39 deletions

View File

View File

@@ -7,7 +7,7 @@
@define-color overlay0 #6e738d;
* {
font-family: "JetBrainsMono Nerd Font", "Font Awesome 6 Free", sans-serif;
font-family: "JetBrainsMono Nerd Font", "Symbols Nerd Font","Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif;
font-size: 14px;
border: none;
border-radius: 0;

View File

@@ -1,36 +1,50 @@
return {
{
"nvim-orgmode/orgmode",
ft = { "org" },
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
config = function()
-- Ensure *.org files are treated as "org" filetype
vim.filetype.add({
extension = {
org = "org",
},
})
-- Treesitter grammar for org (required for good highlighting)
local ok, parsers = pcall(require, "nvim-treesitter.parsers")
if ok then
local parser_config = parsers.get_parser_configs()
parser_config.org = {
install_info = {
url = "https://github.com/milisims/tree-sitter-org",
revision = "main",
files = { "src/parser.c", "src/scanner.c" },
},
filetype = "org",
}
end
require("orgmode").setup({
org_agenda_files = { "~/organizer/agenda/**/*", "~/organizer/*.org" },
org_default_notes_file = "~/organizer/inbox.org",
})
end,
"nvim-orgmode/orgmode",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
-- Load at startup so the parser definition exists before you run TSInstall.
lazy = false,
init = function()
-- Register the org parser with nvim-treesitter (API-compatible fallback).
local ok, parsers = pcall(require, "nvim-treesitter.parsers")
if not ok then
return
end
local parser_configs = nil
if type(parsers.get_parser_configs) == "function" then
parser_configs = parsers.get_parser_configs()
elseif type(parsers.get_parser_configs) == "table" then
parser_configs = parsers.get_parser_configs
elseif type(parsers.parser_configs) == "table" then
parser_configs = parsers.parser_configs
end
if not parser_configs then
return
end
-- Dont overwrite if it already exists.
if not parser_configs.org then
parser_configs.org = {
install_info = {
url = "https://github.com/milisims/tree-sitter-org",
revision = "main",
files = { "src/parser.c", "src/scanner.c" },
},
filetype = "org",
}
end
end,
config = function()
require("orgmode").setup({
org_agenda_files = { "~/organizer/agenda/**/*", "~/organizer/*.org" },
org_default_notes_file = "~/organizer/inbox.org",
})
end,
}

View File

@@ -8,15 +8,17 @@ buildGoModule rec {
owner = "kevinelliott";
repo = "agentpipe";
rev = "v${version}";
hash = lib.fakeHash;
hash ="sha256-sLnlgXG4Qy1nTbLyx2ci2492kwi8NNaue/4Xpdx7LQw=";
};
vendorHash = lib.fakeHash;
vendorHash ="sha256-ZvJ4N2SVVBbxL2qyz/FyXUvrmTGyoojwitf5p1xSUo0=";
subPackages = [ "." ];
# Avoid dynamic linking surprises.
CGO_ENABLED = 0;
env = {
CGO_ENABLED = "0";
};
ldflags = [
"-s"

View File

@@ -7,7 +7,7 @@ stdenvNoCC.mkDerivation {
src = fetchurl {
url =
"https://github.com/marcus/sidecar/releases/download/v0.71.1/sidecar_0.71.1_linux_amd64.tar.gz";
sha256 = lib.fakeSha256;
sha256 = "sha256-FFisAM3oHZL8lp35/shvYPj/jmfNohoTiTuVrtePeCU=";
};
dontUnpack = false;