teams: Wrap teams-for-linux to always follow system theme
This commit is contained in:
parent
1afe0b9a56
commit
25877924b2
1 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
teamsWrapper = pkgs.writeShellScriptBin "teams-for-linux" ''
|
||||||
|
${pkgs.teams-for-linux}/bin/teams-for-linux --followSystemTheme
|
||||||
|
'';
|
||||||
|
in
|
||||||
{
|
{
|
||||||
options.chvp.work.teams.enable = lib.mkOption {
|
options.chvp.work.teams.enable = lib.mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
|
@ -14,9 +19,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [ teamsWrapper ];
|
||||||
teams-for-linux
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue