use lib more

This commit is contained in:
Osman Faruk Bayram 2025-03-18 18:29:21 +03:00
parent 8c783ea14d
commit 37546a037c
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{pkgs, lib, ...}: {
programs.alacritty = {
enable = true;
settings = {
@ -8,7 +8,7 @@
};
terminal.shell = {
args = ["new-session" "-A" "-s" "general"];
program = pkgs.tmux + "/bin/tmux";
program = lib.getExe pkgs.tmux;
};
window = {
decorations = "None";

View file

@ -1,4 +1,4 @@
{pkgs, ...}: let
{pkgs, lib, ...}: let
wanikani-current-reviews-script = builtins.path {path = ./wanikani-current-reviews.sh;};
wanikani-level-script = builtins.path {path = ./wanikani-level.sh;};
wanikani-progression-script = builtins.path {path = ./wanikani-progression.sh;};
@ -32,7 +32,7 @@ in {
baseIndex = 1;
shortcut = "s";
mouse = true;
shell = "${pkgs.fish}/bin/fish";
shell = lib.getExe pkgs.fish;
plugins = with pkgs; [
tmuxPlugins.sensible
tmuxPlugins.better-mouse-mode