nixos/home/default.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

{
config,
pkgs,
accentColourName,
...
}:
2024-07-30 15:06:34 +01:00
{
imports = [
# Programs
./desktop/default.nix
./shell/default.nix
./alacritty/default.nix
./emacs/default.nix
./browser/default.nix
# Services
./services/email/default.nix
./services/password-store/default.nix
# Additional Scripts
./scripts/default.nix
];
2024-07-25 07:46:49 +01:00
home.packages = with pkgs; [
2024-08-22 06:57:50 +01:00
libreoffice-qt-fresh
2024-08-01 16:41:34 +01:00
krdc
2024-08-06 09:36:06 +01:00
tokodon
ferdium
2024-08-25 20:30:58 +01:00
webcord
2024-07-28 09:09:07 +01:00
signal-desktop
teams-for-linux
];
xdg.configFile = {
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
"autostart/ferdium.desktop".source = "${pkgs.ferdium}/share/applications/ferdium.desktop";
"Ferdium/config/settings.json".text =
let
accentColor = config.scheme.withHashtag.${accentColourName};
in
builtins.toJSON (
import ./config/ferdium.nix {
inherit accentColor;
progressbarAccentColor = accentColor;
}
);
"teams-for-linux/config.json".text = builtins.toJSON (import ./config/teams-for-linux.nix);
};
}