73 lines
1.5 KiB
Nix
73 lines
1.5 KiB
Nix
{ inputs, config, lib, pkgs, ... }:
|
|
|
|
# TODO: split into multiple files
|
|
|
|
{
|
|
home.packages = with pkgs; [
|
|
telegram-desktop
|
|
vscode
|
|
spotify
|
|
obsidian
|
|
nixfmt-classic
|
|
plantuml
|
|
btop
|
|
python312
|
|
python312Packages.virtualenv
|
|
python312Packages.pip
|
|
libreoffice
|
|
imagemagick
|
|
wl-clipboard
|
|
tesseract
|
|
syncthing
|
|
todo
|
|
pass
|
|
gtypist
|
|
zip
|
|
unzip
|
|
vlc
|
|
# yubikey-manager-qt
|
|
# paprefs
|
|
|
|
zed-editor
|
|
ollama
|
|
];
|
|
|
|
services.syncthing = { enable = true; };
|
|
|
|
# do i really need it?
|
|
programs.direnv.enable = true;
|
|
programs.direnv.nix-direnv.enable = true;
|
|
programs.direnv.enableZshIntegration = true;
|
|
|
|
# imports = [ inputs.zen-browser.homeModules.twilight ];
|
|
imports = [ inputs.zen-browser.homeModules.default ];
|
|
programs.zen-browser = { enable = true; };
|
|
|
|
xdg.mimeApps =
|
|
let
|
|
value = "zen-beta.desktop";
|
|
|
|
associations = builtins.listToAttrs (map (name: {
|
|
inherit name value;
|
|
}) [
|
|
"application/x-extension-shtml"
|
|
"application/x-extension-xhtml"
|
|
"application/x-extension-html"
|
|
"application/x-extension-xht"
|
|
"application/x-extension-htm"
|
|
"x-scheme-handler/unknown"
|
|
"x-scheme-handler/mailto"
|
|
"x-scheme-handler/chrome"
|
|
"x-scheme-handler/about"
|
|
"x-scheme-handler/https"
|
|
"x-scheme-handler/http"
|
|
"application/xhtml+xml"
|
|
"application/json"
|
|
"text/html"
|
|
]);
|
|
in {
|
|
associations.added = associations;
|
|
defaultApplications = associations;
|
|
};
|
|
}
|