Compare commits

..

No commits in common. "e4fb3d6e6495da3fec58fe00c892d633da67cecf" and "320884976d4a658b99ef508d75dbe93967788abe" have entirely different histories.

11 changed files with 182 additions and 81 deletions

View file

@ -91,6 +91,22 @@
}
},
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_3": {
"flake": false,
"locked": {
"lastModified": 1733328505,
@ -106,7 +122,7 @@
"type": "github"
}
},
"flake-compat_3": {
"flake-compat_4": {
"locked": {
"lastModified": 1717312683,
"narHash": "sha256-FrlieJH50AuvagamEvWMIE6D2OAnERuDboFDYAED/dE=",
@ -145,7 +161,25 @@
},
"flake-utils": {
"inputs": {
"systems": "systems_2"
"systems": "systems"
},
"locked": {
"lastModified": 1705309234,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
@ -161,9 +195,9 @@
"type": "github"
}
},
"flake-utils_2": {
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
"systems": "systems_4"
},
"locked": {
"lastModified": 1726560853,
@ -179,9 +213,9 @@
"type": "github"
}
},
"flake-utils_3": {
"flake-utils_4": {
"inputs": {
"systems": "systems_4"
"systems": "systems_5"
},
"locked": {
"lastModified": 1731533236,
@ -212,6 +246,32 @@
"type": "github"
}
},
"ghostty": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs-stable": [
"nixpkgs"
],
"nixpkgs-unstable": [
"nixpkgs"
],
"zig": "zig"
},
"locked": {
"lastModified": 1735678070,
"narHash": "sha256-BiXFNeoL+BYpiqzCuDIrZGQ6JVI8cBOXerJH48CbnxU=",
"ref": "refs/tags/v1.0.1",
"rev": "4fdb1d7d47544e4b3912e32343f4075c5a9744b8",
"revCount": 8696,
"type": "git",
"url": "https://github.com/ghostty-org/ghostty.git"
},
"original": {
"ref": "refs/tags/v1.0.1",
"type": "git",
"url": "https://github.com/ghostty-org/ghostty.git"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
@ -306,15 +366,15 @@
"nixpkgs"
],
"pre-commit-hooks": "pre-commit-hooks",
"systems": "systems",
"systems": "systems_2",
"xdph": "xdph"
},
"locked": {
"lastModified": 1737038559,
"narHash": "sha256-iSJIeZz2Bto/RiZN1scp4hfvnEAc+IhIRGxD2V3iu+c=",
"lastModified": 1736873552,
"narHash": "sha256-lGZv+YcdDXYowKJf7vaeu97o7JKFzTL/vzS8WxTT+UM=",
"ref": "refs/heads/main",
"rev": "0dc7367a7006cc3cc877d52bf34c4998144bff84",
"revCount": 5674,
"rev": "25add26881d7b98d2b80eb7a95d3aee0449b72b9",
"revCount": 5672,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland/"
@ -436,11 +496,11 @@
]
},
"locked": {
"lastModified": 1736893905,
"narHash": "sha256-ClktBES0JrbUU1RUFGWpcbIekKPZdHkr11J6iBFZrr8=",
"lastModified": 1731684150,
"narHash": "sha256-jY0bRx2SWuLU02nwDE8Q5bPuMMSiUISJYaH4GWfUFc4=",
"ref": "refs/heads/main",
"rev": "a3784287446cbdffb4dcb0558e9d4351a4792253",
"revCount": 23,
"rev": "888c8e4c9395e7abfcbfc044d575ff6cf955672a",
"revCount": 21,
"type": "git",
"url": "https://git.dayl.in/daylin/hyprman.git"
},
@ -501,7 +561,7 @@
},
"jj": {
"inputs": {
"flake-utils": "flake-utils",
"flake-utils": "flake-utils_2",
"nixpkgs": [
"nixpkgs"
],
@ -524,7 +584,7 @@
},
"lib-aggregate": {
"inputs": {
"flake-utils": "flake-utils_3",
"flake-utils": "flake-utils_4",
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
@ -557,7 +617,7 @@
},
"lix-module": {
"inputs": {
"flake-utils": "flake-utils_2",
"flake-utils": "flake-utils_3",
"flakey-profile": "flakey-profile",
"lix": "lix",
"nixpkgs": [
@ -716,7 +776,7 @@
},
"nixos-wsl": {
"inputs": {
"flake-compat": "flake-compat_2",
"flake-compat": "flake-compat_3",
"nixpkgs": "nixpkgs"
},
"locked": {
@ -766,17 +826,17 @@
},
"nixpkgs-wayland": {
"inputs": {
"flake-compat": "flake-compat_3",
"flake-compat": "flake-compat_4",
"lib-aggregate": "lib-aggregate",
"nix-eval-jobs": "nix-eval-jobs",
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1736965550,
"narHash": "sha256-u34e02DgidNBbJ2ZPUWlNZeqQTo7tCGT8LN9dZphNAY=",
"lastModified": 1736879154,
"narHash": "sha256-aN0v2sr9o2zVoolZvoxOZuRRiACTRN1ySKZxDyvynxc=",
"owner": "nix-community",
"repo": "nixpkgs-wayland",
"rev": "8f3a889a1bb60d58f42fc671d8a0b73496ede51c",
"rev": "07d1519ff6abaf37209529e03da075f990da2479",
"type": "github"
},
"original": {
@ -787,11 +847,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736883708,
"narHash": "sha256-uQ+NQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140=",
"lastModified": 1736798957,
"narHash": "sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "eb62e6aa39ea67e0b8018ba8ea077efe65807dc8",
"rev": "9abb87b552b7f55ac8916b6fc9e5cb486656a2f3",
"type": "github"
},
"original": {
@ -887,7 +947,7 @@
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"flake-compat": "flake-compat_2",
"gitignore": "gitignore",
"nixpkgs": [
"hyprland",
@ -912,6 +972,7 @@
"inputs": {
"NixVirt": "NixVirt",
"f1multiviewer": "f1multiviewer",
"ghostty": "ghostty",
"hyprland": "hyprland",
"hyprland-contrib": "hyprland-contrib",
"hyprman": "hyprman",
@ -989,21 +1050,6 @@
}
},
"systems": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -1018,6 +1064,21 @@
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
@ -1048,6 +1109,21 @@
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
@ -1075,11 +1151,11 @@
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1737054102,
"narHash": "sha256-saLiCRQ5RtdTnznT/fja7GxcYRAzeY3k8S+IF/2s/2A=",
"lastModified": 1736154270,
"narHash": "sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "97871d416166803134ba64597a1006f3f670fbde",
"rev": "13c913f5deb3a5c08bb810efd89dc8cb24dd968b",
"type": "github"
},
"original": {
@ -1174,6 +1250,31 @@
"repo": "xdg-desktop-portal-hyprland",
"type": "github"
}
},
"zig": {
"inputs": {
"flake-compat": [
"ghostty"
],
"flake-utils": "flake-utils",
"nixpkgs": [
"ghostty",
"nixpkgs-stable"
]
},
"locked": {
"lastModified": 1717848532,
"narHash": "sha256-d+xIUvSTreHl8pAmU1fnmkfDTGQYCn2Rb/zOwByxS2M=",
"owner": "mitchellh",
"repo": "zig-overlay",
"rev": "02fc5cc555fc14fda40c42d7c3250efa43812b43",
"type": "github"
},
"original": {
"owner": "mitchellh",
"repo": "zig-overlay",
"type": "github"
}
}
},
"root": "root",

View file

@ -38,15 +38,15 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# using nixpkgs version now
# # https://github.com/ghostty-org/ghostty/issues/2025
# ghostty = {
# url = "git+https://github.com/ghostty-org/ghostty.git?ref=refs/tags/v1.0.1";
# inputs = {
# nixpkgs-stable.follows = "nixpkgs";
# nixpkgs-unstable.follows = "nixpkgs";
# };
# };
# https://github.com/NixOS/nixpkgs/pull/368404 replace when PR merged?
# https://github.com/ghostty-org/ghostty/issues/2025
ghostty = {
url = "git+https://github.com/ghostty-org/ghostty.git?ref=refs/tags/v1.0.1";
inputs = {
nixpkgs-stable.follows = "nixpkgs";
nixpkgs-unstable.follows = "nixpkgs";
};
};
hyprland.url = "git+https://github.com/hyprwm/Hyprland/?submodules=1";
hyprland.inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,9 +1,8 @@
flake:utils
ghostty
flake:ghostty
sops
attic-client
distrobox
firefox
zk
graphviz
charm-freeze

View file

@ -1,10 +1,25 @@
{
pkgs,
config,
flake,
mkOizysModule,
flake,
...
}:
let
selfPackages = (flake.pkgs "self");
pyWithLlm = (
pkgs.python3.withPackages (_: [
selfPackages.llm
selfPackages.llm-claude-3
])
);
llm-with-plugins = (
pkgs.writeShellScriptBin "llm" ''
exec ${pyWithLlm}/bin/llm "$@"
''
);
in
mkOizysModule config "llm" {
environment.systemPackages = [ (flake.pkgs "self").llm-with-plugins ];
environment.systemPackages = [ llm-with-plugins ];
}

View file

@ -1,4 +1,7 @@
{ pkgs, ... }:
let
inherit (pkgs) python3Packages;
in
{
nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
procs = pkgs.callPackage ./nim/procs { };
@ -6,5 +9,6 @@
distrobox = pkgs.callPackage ./distrobox { };
llm-with-plugins = pkgs.callPackage ./llm/llm-with-plugins { };
llm = python3Packages.callPackage ./llm { };
llm-claude-3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 { };
}

View file

@ -1,19 +0,0 @@
{
pkgs,
...
}:
let
inherit (pkgs) python3Packages;
llm = python3Packages.callPackage ../llm { };
llm-claude-3 = python3Packages.callPackage ../llm-claude-3 { };
pyWithLlm = (
pkgs.python3.withPackages (_: [
llm
llm-claude-3
])
);
in
pkgs.writeShellScriptBin "llm" ''
exec ${pyWithLlm}/bin/llm "$@"
''

View file

@ -1,11 +1,12 @@
{ fetchFromGitHub, buildNimPackage }:
buildNimPackage (finalAttrs: {
pname = "nimlangserver";
version = "1.8.0";
version = "1.6.0-unstable";
src = fetchFromGitHub {
owner = "nim-lang";
repo = "langserver";
rev = "v${finalAttrs.version}";
rev = "5adc15be0f785f0caa3b7fc444e54eeb5596602a";
# rev = "v${finalAttrs.version}";
hash = "sha256-JyBjHAP/sxQfQ1XvyeZyHsu0Er5D7ePDGyJK7Do5kyk=";
};

View file

@ -104,7 +104,7 @@ proc parseDryRunOutput(err: string): DryRunOutput =
elif line.contains("will be fetched"):
result.toFetch = drvs
else:
fatal """expected at least one of the lines to contain "built" or "fetched", check the output below"""
fatal "expected on of the lines to contain built or fetched check the output below"
stderr.writeLine err
quit()
of 0: