nix: put builtin in scope when needed

This commit is contained in:
Léana 江 2024-04-06 13:50:33 +02:00 committed by Léana 江
parent d7d55059ce
commit 8271aea4ba
9 changed files with 38 additions and 34 deletions

View file

@ -1,4 +1,5 @@
{ pkgs, ... }:
with builtins;
{
programs.tmux = {
enable = true;
@ -7,6 +8,6 @@
set -g default-command "${pkgs.fish}/bin/fish" # Use fish
set -g default-shell "${pkgs.fish}/bin/fish"
''
+ builtins.readFile ./tmux.conf;
+ readFile ./tmux.conf;
};
}