Skip to content

Commit

Permalink
Slack: make metadata persistent
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
  • Loading branch information
unbel13ver authored and brianmcgillion committed Sep 6, 2024
1 parent a189d9d commit d66c087
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions modules/reference/appvms/comms.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
...
}:
let
name = "comms";
inherit (lib) hasAttr optionals;
dendrite-pinecone = pkgs.callPackage ../../../packages/dendrite-pinecone { };
isDendritePineconeEnabled =
Expand All @@ -17,7 +18,7 @@ let
false;
in
{
name = "comms";
name = "${name}";

packages = [
pkgs.chromium
Expand Down Expand Up @@ -102,13 +103,18 @@ in

ghaf.givc.appvm = {
enable = true;
name = lib.mkForce "comms-vm";
name = lib.mkForce "${name}-vm";
applications = lib.mkForce ''
{
"element": "${config.ghaf.givc.appPrefix}/run-waypipe ${config.ghaf.givc.appPrefix}/element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland",
"slack": "${config.ghaf.givc.appPrefix}/run-waypipe ${config.ghaf.givc.appPrefix}/chromium --enable-features=UseOzonePlatform --ozone-platform=wayland --app=https://app.slack.com/client ${config.ghaf.givc.idsExtraArgs}"
}'';
};
ghaf.storagevm = {
enable = true;
name = "${name}";
users.${config.ghaf.users.accounts.user}.directories = [ ".config/" ];
};
}
];
borderColor = "#337aff";
Expand Down

0 comments on commit d66c087

Please sign in to comment.