flake: add zedless

This commit is contained in:
Bloxx12 2025-06-20 10:33:46 +02:00
commit fe40ebce25
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
3 changed files with 49 additions and 1 deletions

View file

@ -1,9 +1,32 @@
{pkgs, ...}: {
{
inputs,
pkgs,
...
}:let
# a newer nil version, for pipes support.
newer-nil = pkgs.nil.overrideAttrs (_: {
version = "unstable-02-06-2025";
src = pkgs.fetchFromGitHub {
owner = "oxalica";
repo = "nil";
rev = "577d160da311cc7f5042038456a0713e9863d09e";
hash = "sha256-ggXU3RHv6NgWw+vc+HO4/9n0GPufhTIUjVuLci8Za8c=";
};
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
inherit (newer-nil) src;
hash = "sha256-uZsLlFU9GKLvFllF7Kf5Q7HfN26KQojf4rvOb9p7Rjs=";
};
});
in {
environment.systemPackages = builtins.attrValues {
inherit
(pkgs)
abook
aerc
alejandra
aichat
alsa-utils
anki
@ -79,5 +102,7 @@
xournalpp
zathura
;
inherit (inputs.zedless.packages.${pkgs.stdenv.system}) zed-editor;
inherit newer-nil;
};
}