45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
accentColourName,
|
|
...
|
|
}:
|
|
{
|
|
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
|
|
];
|
|
home.packages = with pkgs; [
|
|
libreoffice-qt-fresh
|
|
krdc
|
|
krita
|
|
tokodon
|
|
signal-desktop
|
|
ferdium
|
|
];
|
|
xdg.configFile = {
|
|
"autostart/org.kde.yakuake.desktop".source = "${pkgs.yakuake}/share/applications/org.kde.yakuake.desktop";
|
|
"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.${accentColourName};
|
|
in
|
|
builtins.toJSON (
|
|
import ./config/ferdium.nix {
|
|
inherit accentColor;
|
|
progressbarAccentColor = accentColor;
|
|
}
|
|
);
|
|
};
|
|
}
|