Skip to content

Commit

Permalink
home (terminal): Setup terminal env for gradlex website development
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Jan 28, 2025
1 parent 12403b8 commit df188cc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions home/terminal/direnv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ in {
whitelist = {
prefix = [
"~/github/britter"
"~/github/gradlex-org"
];
};
};
Expand Down
17 changes: 17 additions & 0 deletions home/terminal/tmux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
}
];
};
gradlex-website = {
name = "gradlex-website";
root = "~/github/gradlex-org/gradlex-org.github.io";
windows = [
{
workspace = {
layout = "main-horizontal";
panes = [
{editor = "v";}
{dev-server = "npm run dev";}
{term = "";}
];
};
}
];
};
in {
options.my.home.terminal.tmux = {
enable = lib.mkEnableOption "tmux";
Expand Down Expand Up @@ -79,5 +95,6 @@ in {
tmuxinator.enable = true;
};
home.file.".config/tmuxinator/website.yml".source = yaml.generate "website.yaml" websiteConfig;
home.file.".config/tmuxinator/gradlex-website.yml".source = yaml.generate "gradlex-website.yaml" gradlex-website;
};
}

0 comments on commit df188cc

Please sign in to comment.