2024-09-06 14:07:46 +01:00
|
|
|
{ config, pkgs, ... }:
|
2024-08-30 12:57:02 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2024-09-11 15:19:43 +01:00
|
|
|
./sway/default.nix
|
2024-09-01 08:08:11 +01:00
|
|
|
./emacs/default.nix
|
2024-08-30 12:57:02 +01:00
|
|
|
./browser/default.nix
|
2024-09-18 15:05:51 +01:00
|
|
|
./zathura/default.nix
|
2024-08-30 12:57:02 +01:00
|
|
|
./services/email/default.nix
|
|
|
|
];
|
2024-09-19 08:05:48 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
libreoffice-fresh
|
|
|
|
webcord
|
|
|
|
signal-desktop
|
|
|
|
teams-for-linux
|
|
|
|
];
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
programs = {
|
|
|
|
mpv.enable = true;
|
|
|
|
alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
shell = "${config.programs.fish.package}/bin/fish";
|
|
|
|
window = {
|
|
|
|
dynamic_title = true;
|
|
|
|
padding = {
|
|
|
|
x = 5;
|
|
|
|
y = 5;
|
|
|
|
};
|
2024-07-30 15:06:34 +01:00
|
|
|
};
|
2024-09-19 08:05:48 +01:00
|
|
|
live_config_reload = true;
|
|
|
|
selection.save_to_clipboard = true;
|
|
|
|
mouse.hide_when_typing = true;
|
2024-07-08 08:58:32 +01:00
|
|
|
};
|
2024-09-19 08:05:48 +01:00
|
|
|
};
|
2024-07-08 08:58:32 +01:00
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
xdg = {
|
|
|
|
mime.enable = true;
|
2024-07-30 15:06:34 +01:00
|
|
|
mimeApps =
|
|
|
|
let
|
2024-08-30 12:57:02 +01:00
|
|
|
defaultApplications = import ./mimeapps/default.nix;
|
2024-07-30 15:06:34 +01:00
|
|
|
in
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
inherit defaultApplications;
|
|
|
|
associations = {
|
|
|
|
added = defaultApplications;
|
|
|
|
removed = {
|
|
|
|
"x-scheme-handler/zoomus" = config.xdg.mimeApps.defaultApplications."x-scheme-handler/http";
|
|
|
|
};
|
2024-07-07 08:47:50 +01:00
|
|
|
};
|
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
userDirs = {
|
|
|
|
enable = true;
|
|
|
|
createDirectories = true;
|
|
|
|
extraConfig = {
|
|
|
|
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
|
|
|
};
|
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
configFile = {
|
|
|
|
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
|
2024-09-06 14:07:46 +01:00
|
|
|
"teams-for-linux/config.json".text = builtins.toJSON {
|
|
|
|
awayOnSystemIdle = true;
|
|
|
|
closeAppOnCross = true;
|
|
|
|
followSystemTheme = true;
|
|
|
|
notificationMethod = "electron";
|
|
|
|
optInTeamsV2 = true;
|
|
|
|
spellCheckerLanguages = [ "en_GB" ];
|
|
|
|
};
|
2024-08-30 12:57:02 +01:00
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
}
|