Compare commits

...

5 commits

7 changed files with 40 additions and 14 deletions

View file

@ -13,7 +13,7 @@
packages = eachSystem (
system: {
inherit (import ./packages pkgsFor.${system}) helix fish;
inherit (import ./packages pkgsFor.${system}) fish helix kakoune;
}
);

View file

@ -59,7 +59,7 @@
sound.enable = true;
};
usrEnv = {
desktops.hyprland.enable = true;
desktops.hyprland.enable = false;
programs = {
launchers = {

View file

@ -90,6 +90,9 @@
zapzap
zip
zoxide
kakoune
kakoune-lsp
television
;
inherit (self.packages.${pkgs.stdenv.system}) helix;
};

View file

@ -0,0 +1,31 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.programs.niri;
inherit (pkgs) xdg-desktop-portal-gtk xdg-desktop-portal-gnome;
in {
programs.niri = {
enable = true;
};
programs.xwayland.enable = lib.mkForce false;
services.gnome.gnome-keyring.enable = lib.mkForce false;
environment.systemPackages = builtins.attrValues {
inherit (pkgs) wmenu swaylock;
};
xdg.portal = {
enable = lib.mkDefault true;
configPackages = [cfg.package];
# Recommended by upstream, required for screencast support
# https://github.com/YaLTeR/niri/wiki/Important-Software#portals
extraPortals = [
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
];
};
}

View file

@ -5,12 +5,4 @@
...
}: let
in {
programs.sway = {
enable = true;
xwayland.enable = true;
};
environment.systemPackages = builtins.attrValues {
inherit (pkgs) i3status;
};
}

View file

@ -1,6 +1,6 @@
pkgs: let
helix = pkgs.callPackage ./helix.nix {};
kakoune = null;
kakoune = pkgs.callPackage ./kakoune.nix {};
fish = pkgs.callPackage ./shell {};
in {
inherit helix kakoune fish;

View file

@ -11,8 +11,8 @@
src = fetchFromGitHub {
owner = "mawww";
repo = "kakoune";
rev = "be82047dbf5f74f123e925b96e0e13962a4e0c09";
hash = "sha256-akSmIe0SUe9re8a90ssrykowCzThZnzqVow9erT+0U4=";
rev = "da5e5bc635fa6a3def21d3d59906b9ee0f1d1831";
hash = "sha256-+xqJrJr6nnmEpQaizQ3JMDEISCD8IMB84NJZiXJ74kY=";
};
makeFlags = ["debug=no" "PREFIX=${placeholder "out"}"];
@ -32,7 +32,7 @@
'';
};
plugins = builtins.attrValues {
inherit (kakounePlugins) fzf-kak kakoune-catppuccin;
inherit (kakounePlugins);
};
kakoune-wrapped = symlinkJoin {