42 lines
941 B
Nix
42 lines
941 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [./plasma/default.nix];
|
|
home.packages = with pkgs; [
|
|
libreoffice-fresh
|
|
inkscape
|
|
webcord
|
|
teams-for-linux
|
|
kdePackages.krdc
|
|
];
|
|
services.syncthing.enable = true;
|
|
programs.mpv.enable = true;
|
|
xdg = {
|
|
mime.enable = true;
|
|
mimeApps = let
|
|
defaultApplications = import ./mimeapps.nix;
|
|
in {
|
|
enable = true;
|
|
inherit defaultApplications;
|
|
associations.added = defaultApplications;
|
|
};
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
extraConfig = {
|
|
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
|
};
|
|
};
|
|
configFile."teams-for-linux/config.json".text = builtins.toJSON {
|
|
awayOnSystemIdle = true;
|
|
closeAppOnCross = true;
|
|
followSystemTheme = true;
|
|
notificationMethod = "electron";
|
|
optInTeamsV2 = true;
|
|
spellCheckerLanguages = ["en_GB"];
|
|
};
|
|
};
|
|
}
|