Skip to content

Commit

Permalink
feat(dev/encore): added config to never run browser
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed Jan 23, 2025
1 parent 7ad44b5 commit 32ac3dc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
1 change: 1 addition & 0 deletions home/modules/dev/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

./processors.nix
./clients.nix
./encore.nix
./mobile.nix
./writer.nix
./devenv.nix
Expand Down
17 changes: 17 additions & 0 deletions home/modules/dev/encore.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
inputs,
pkgs,
...
}: {
home.packages = [
inputs.encore.packages.${pkgs.system}.encore
];

xdg.configFile = {
"encore/config".source = (pkgs.formats.toml {}).generate "encore-config" {
run = {
browser = "never";
};
};
};
}
7 changes: 1 addition & 6 deletions home/modules/dev/ops/tools.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
inputs,
pkgs,
...
}: {
{pkgs, ...}: {
home.packages = with pkgs; [
inputs.encore.packages.${pkgs.system}.encore
argocd
lego
];
Expand Down

0 comments on commit 32ac3dc

Please sign in to comment.