2023-10-22 17:12:42 +02:00
|
|
|
{ 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
|
|
|
|
./fish.nix
|
|
|
|
./termux.nix
|
|
|
|
./gpg.nix
|
|
|
|
./communication.nix
|
|
|
|
./mail.nix
|
2024-02-10 14:19:30 +01:00
|
|
|
./helix.nix
|
2023-10-22 17:12:42 +02:00
|
|
|
];
|
|
|
|
|
2024-04-11 20:15:47 +02:00
|
|
|
options.isProfessional = mkOption { type = types.bool; };
|
2023-10-22 17:12:42 +02:00
|
|
|
|
|
|
|
config = {
|
|
|
|
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
|
2024-04-11 20:15:47 +02:00
|
|
|
home.packages =
|
|
|
|
with pkgs;
|
|
|
|
[
|
|
|
|
htop
|
|
|
|
firefox
|
|
|
|
autojump
|
|
|
|
nextcloud-client
|
|
|
|
keepassxc
|
|
|
|
ranger
|
|
|
|
libreoffice
|
|
|
|
tldr
|
|
|
|
zathura
|
|
|
|
lazygit
|
|
|
|
easyeffects
|
|
|
|
]
|
|
|
|
++ multimediaPackages
|
|
|
|
++ soundPackages
|
|
|
|
++ yubikeyTools;
|
2023-10-22 17:12:42 +02:00
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|