Skip to content

Commit

Permalink
fix: update config sources
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwjackson committed Apr 13, 2024
1 parent 4a33e63 commit ea57c1f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions nix/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ in {

config = lib.mkIf cfg.enable {
environment.etc."${pname}/config.json".source = jsonConfigFile;
environment.etc."${pname}/tmesh.tmux.conf".source = cfg.tmeshTmuxConfig;
environment.etc."${pname}/tmesh-server.tmux.conf".source = cfg.tmeshServerTmuxConfig;
environment.etc."${pname}/tmesh-server.tmux.conf" = {
text = cfg.tmeshServerTmuxConfig;
mode = "0644";
};
environment.etc."${pname}/tmesh.tmux.conf" = {
text = cfg.tmeshTmuxConfig;
mode = "0644";
};

environment.systemPackages = [
(pkgs.writeScriptBin "${pname}" ''
Expand Down

0 comments on commit ea57c1f

Please sign in to comment.