nixos/system/home/desktop.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
imports = [
2024-09-11 15:19:43 +01:00
./sway/default.nix
./plasma/default.nix
./emacs/default.nix
./terminal/default.nix
./browser/default.nix
./zathura/default.nix
./services/email/default.nix
];
home.packages = with pkgs; [
webcord
signal-desktop
2024-09-22 10:12:34 +01:00
whatsapp-for-linux
x2goclient
];
services.syncthing.enable = true;
programs.mpv.enable = true;
xdg = {
mime.enable = true;
2024-07-30 15:06:34 +01:00
mimeApps =
let
defaultApplications = import ./mimeapps/default.nix;
2024-07-30 15:06:34 +01:00
in
{
enable = true;
inherit defaultApplications;
associations.added = defaultApplications;
};
userDirs = {
enable = true;
createDirectories = true;
extraConfig = {
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
};
};
configFile = {
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
2024-09-22 10:12:34 +01:00
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
};
};
}