Files
nix/home/guz-lite/apps.nix

73 lines
1.5 KiB
Nix
Raw Normal View History

{
inputs,
pkgs,
...
}: {
imports = [
inputs.nix-flatpak.homeManagerModules.nix-flatpak
2025-04-02 14:40:38 -03:00
inputs.rec-sh.homeManagerModules.rec-sh
2025-06-02 22:14:09 -03:00
./browser.nix
];
2025-04-02 14:40:38 -03:00
programs.rec-sh.enable = true;
xdg.mimeApps.enable = true;
xdg.mimeApps.defaultApplications = let
email = "org.mozilla.Thunderbird.desktop";
in {
"message/rfc822" = email;
"x-scheme-handler/mailto" = email;
"text/calendar" = email;
"text/x-vcard" = email;
};
services.flatpak.enable = true;
services.flatpak.packages = [
# Thunder Bird (Email Client)
"org.mozilla.Thunderbird"
2025-06-08 19:13:19 -03:00
# Brave (Job Browser)
"com.brave.Browser"
2025-07-22 19:13:27 -03:00
# Obsidian (Notes)
"md.obsidian.Obsidian"
];
services.flatpak.update.onActivation = true;
services.flatpak.overrides = {
global = {
# Force wayland by default
Context = {
sockets = ["wayland" "!x11" "!fallback-x11"];
filesystems = [
# Access to user themes
2025-07-04 19:18:03 -03:00
"$HOME/.icons:ro"
"$HOME/.themes:ro"
"$HOME/.local/share/fonts:ro"
];
};
Environment = {
# Fix un-themed cursor in Wayland apps
XCURSOR_PATH = "$HOME/.icons";
};
};
"com.brave.Browser" = {Context.sockets = ["x11"];};
};
home.packages = with pkgs; [
nautilus
2025-07-07 12:20:22 -03:00
# Social
vesktop
];
2025-07-24 19:16:55 -03:00
# TODO: Move this server to a remote server
services.activitywatch = {
enable = true;
package = pkgs.aw-server-rust;
watchers = {
"awatcher" = {
executable = "awatcher";
package = pkgs.awatcher;
};
};
};
}