This commit is contained in:
2026-05-01 15:04:27 -06:00
parent 50ac93c727
commit 3c40029892
6 changed files with 36 additions and 17 deletions

30
flake.lock generated
View File

@@ -161,11 +161,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1775087534,
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"lastModified": 1777678872,
"narHash": "sha256-EPIFsulyon7Z1vLQq5Fk64GR8L7cQsT+IPhcsukVbgk=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"rev": "5250617bffd85403b14dbf43c3870e7f255d2c16",
"type": "github"
},
"original": {
@@ -424,11 +424,11 @@
"nixpkgs-nixcord": "nixpkgs-nixcord"
},
"locked": {
"lastModified": 1777125640,
"narHash": "sha256-jKmRu5PknoI0pk3WEqMhVReosUubUCq3M/izEQWzb+4=",
"lastModified": 1778257733,
"narHash": "sha256-FPKWRBfH2Zowz2Q+vRqL8GKNRZHaa6L450Ys2CQtLDQ=",
"owner": "KaylorBen",
"repo": "nixcord",
"rev": "0e738683dd7551a9cbfa343397b1592dfd785b7e",
"rev": "1b1f027264ad08153b480d37f10007ee71048567",
"type": "github"
},
"original": {
@@ -470,11 +470,11 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1774748309,
"narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
"lastModified": 1777168982,
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "333c4e0545a6da976206c74db8773a1645b5870a",
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
"type": "github"
},
"original": {
@@ -485,11 +485,11 @@
},
"nixpkgs-nixcord": {
"locked": {
"lastModified": 1776734388,
"narHash": "sha256-vl3dkhlE5gzsItuHoEMVe+DlonsK+0836LIRDnm6MXQ=",
"lastModified": 1777428379,
"narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "10e7ad5bbcb421fe07e3a4ad53a634b0cd57ffac",
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
"type": "github"
},
"original": {
@@ -597,11 +597,11 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1776734388,
"narHash": "sha256-vl3dkhlE5gzsItuHoEMVe+DlonsK+0836LIRDnm6MXQ=",
"lastModified": 1777428379,
"narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "10e7ad5bbcb421fe07e3a4ad53a634b0cd57ffac",
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
"type": "github"
},
"original": {

View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
let cfg = config.sydnix.kerbal-space-program;
in {
options.sydnix.kerbal-space-program = {
enable = lib.mkEnableOption "KSPslop";
};
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.ckan ];
};
}

View File

@@ -62,6 +62,7 @@
syd/wgrep
syd/nix
syd/backup
syd/flycheck
syd/agda
syd/eshell
syd/treesit

View File

@@ -25,6 +25,7 @@
(defun syd-haskell-hoogle-start-server ()
(interactive)
(require 'haskell-hoogle)
(haskell-hoogle-start-server)
(browse-url-xdg-open (format "http://localhost:%d"
haskell-hoogle-port-number))

View File

@@ -39,8 +39,12 @@
:select nil :size 0.42 :popup t :align bottom))
(defun syd-lsp-handle-docs ()
(interactive)
(lsp-describe-thing-at-point)
(get-buffer "*lsp-help*"))
(save-excursion
(when evil-mode (forward-char)) ; evil-mode cope
(lsp-describe-thing-at-point))
(with-current-buffer (get-buffer "*lsp-help*")
(and (not (string-empty-p (string-trim (buffer-string))))
(current-buffer))))
(syd-handle 'lsp-mode
:docs #'syd-lsp-handle-docs))

View File

@@ -52,6 +52,7 @@
easyeffects.enable = on "sydpc";
ryujinx.enable = on "sydpc";
haskell.enable = true;
kerbal-space-program.enable = on "sydpc";
sops = {
enable = true;
keyFile = "/persist/private-keys/age/crumb";