75 lines
1.2 KiB
Nix
75 lines
1.2 KiB
Nix
{ pkgs, lib, ... }:
|
|
with lib;
|
|
let
|
|
multimediaPackages = with pkgs; [
|
|
qpwgraph
|
|
feh
|
|
gimp
|
|
vlc
|
|
];
|
|
|
|
soundPackages = with pkgs; [
|
|
pavucontrol
|
|
pamixer
|
|
];
|
|
|
|
yubikeyTools = with pkgs; [
|
|
yubikey-personalization
|
|
yubico-pam
|
|
yubikey-manager
|
|
];
|
|
|
|
in
|
|
{
|
|
imports = [
|
|
./desktop
|
|
./development
|
|
./neovim
|
|
./fish.nix
|
|
./termux.nix
|
|
./gpg.nix
|
|
./communication.nix
|
|
./mail.nix
|
|
./helix.nix
|
|
];
|
|
|
|
options.isProfessional = mkOption {
|
|
type = types.bool;
|
|
};
|
|
|
|
config = {
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
htop
|
|
firefox
|
|
autojump
|
|
nextcloud-client
|
|
keepassxc
|
|
ranger
|
|
libreoffice
|
|
tldr
|
|
zathura
|
|
lazygit
|
|
easyeffects
|
|
] ++ multimediaPackages
|
|
++ soundPackages
|
|
++ yubikeyTools;
|
|
|
|
# XDG-Mime configuration
|
|
xdg.mime.enable = true;
|
|
xdg.mimeApps.enable = true;
|
|
xdg.mimeApps.associations.added = {
|
|
"x-scheme-handler/https" = "firefox.desktop";
|
|
"x-scheme-handler/http" = "firefox.desktop";
|
|
};
|
|
xdg.mimeApps.defaultApplications = {
|
|
"x-scheme-handler/https" = "firefox.desktop";
|
|
"x-scheme-handler/http" = "firefox.desktop";
|
|
"text/html" = "firefox.desktop";
|
|
};
|
|
};
|
|
|
|
}
|