Compare commits
5 commits
a777db4848
...
981bc43fbe
Author | SHA1 | Date | |
---|---|---|---|
981bc43fbe |
|||
feab8121e2 |
|||
cf105b786e |
|||
5ce5cae930 |
|||
b23d4a3b9b |
7 changed files with 40 additions and 14 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
packages = eachSystem (
|
||||
system: {
|
||||
inherit (import ./packages pkgsFor.${system}) helix fish;
|
||||
inherit (import ./packages pkgsFor.${system}) fish helix kakoune;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
sound.enable = true;
|
||||
};
|
||||
usrEnv = {
|
||||
desktops.hyprland.enable = true;
|
||||
desktops.hyprland.enable = false;
|
||||
|
||||
programs = {
|
||||
launchers = {
|
||||
|
|
|
@ -90,6 +90,9 @@
|
|||
zapzap
|
||||
zip
|
||||
zoxide
|
||||
kakoune
|
||||
kakoune-lsp
|
||||
television
|
||||
;
|
||||
inherit (self.packages.${pkgs.stdenv.system}) helix;
|
||||
};
|
||||
|
|
31
modules/wms/wayland/niri/module.nix
Normal file
31
modules/wms/wayland/niri/module.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -5,12 +5,4 @@
|
|||
...
|
||||
}: let
|
||||
in {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit (pkgs) i3status;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue