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, ... }:
|
||||
|
||||
let
|
||||
teamsWrapper = pkgs.writeShellScriptBin "teams-for-linux" ''
|
||||
${pkgs.teams-for-linux}/bin/teams-for-linux --followSystemTheme
|
||||
'';
|
||||
in
|
||||
{
|
||||
options.chvp.work.teams.enable = lib.mkOption {
|
||||
default = false;
|
||||
|
@ -14,9 +19,7 @@
|
|||
};
|
||||
|
||||
home-manager.users.charlotte = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
teams-for-linux
|
||||
];
|
||||
home.packages = with pkgs; [ teamsWrapper ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue