nixos/system/home/desktop.nix
Evie Litherland-Smith 506163ff37 Customise plasma config to disable things set by stylix
Split system-level sway config to separate file, imported by
system/desktop.nix, and add plasma.nix at the same level
2024-09-27 11:41:52 +01:00

44 lines
1.1 KiB
Nix

{ config, pkgs, ... }:
{
imports = [
./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
whatsapp-for-linux
x2goclient
];
services.syncthing.enable = true;
programs.mpv.enable = true;
xdg = {
mime.enable = true;
mimeApps =
let
defaultApplications = import ./mimeapps/default.nix;
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";
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
};
};
}