108 lines
2.5 KiB
Nix
108 lines
2.5 KiB
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
{
|
|
# Packages
|
|
environment.systemPackages = with pkgs; [
|
|
# Messaging
|
|
thunderbird
|
|
|
|
# Video
|
|
vlc
|
|
|
|
# Audio
|
|
easyeffects
|
|
|
|
# Office
|
|
libreoffice
|
|
onlyoffice-bin
|
|
hunspell
|
|
hunspellDicts.fr-reforme1990
|
|
hunspellDicts.fr-any
|
|
hunspellDicts.fr-moderne
|
|
hunspellDicts.en_US
|
|
hunspellDicts.en_GB-ize
|
|
|
|
# Printing
|
|
hplipWithPlugin
|
|
];
|
|
|
|
# Flatpaks
|
|
services.flatpak = lib.mkIf (config?services.flatpak.packages) {
|
|
packages = [
|
|
# Utilities
|
|
"org.gnome.World.PikaBackup"
|
|
|
|
# Customization
|
|
"com.github.tchx84.Flatseal"
|
|
|
|
# Games
|
|
"com.usebottles.bottles"
|
|
];
|
|
|
|
uninstallUnmanaged = true;
|
|
update.onActivation = true;
|
|
update.auto.enable = true;
|
|
};
|
|
|
|
fonts = {
|
|
enableDefaultPackages = true;
|
|
packages = with pkgs; [
|
|
noto-fonts
|
|
noto-fonts-cjk-sans
|
|
noto-fonts-lgc-plus
|
|
noto-fonts-emoji
|
|
cantarell-fonts
|
|
twitter-color-emoji
|
|
twemoji-color-font
|
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
|
# nerd-fonts.jetbrains-mono
|
|
];
|
|
|
|
fontconfig = {
|
|
useEmbeddedBitmaps = true;
|
|
|
|
defaultFonts = {
|
|
sansSerif = [ "Cantarell" "Noto Sans" ];
|
|
monospace = [ "JetBrainsMono Nerd Font" ];
|
|
emoji = [ "Twitter Color Emoji" "Noto Color Emoji" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
nixpkgs.overlays = [
|
|
# Version pins
|
|
(final: prev: {
|
|
# dolphin-emu = prev.dolphin-emu.overrideAttrs (super: {
|
|
# version = "2407";
|
|
# commit = "b92e354389bb7c0bd114a8631b8af110d3cb3a14";
|
|
|
|
# src = pkgs.fetchFromGitHub {
|
|
# owner = "dolphin-emu";
|
|
# repo = "dolphin";
|
|
# rev = "heads/refs/tags/${final.dolphin-emu.version}";
|
|
# hash = "sha256-8W4KyIj+rhDkWnQogjpzlEJVo3HJenfpWKimSyMGN7c=";
|
|
# fetchSubmodules = true;
|
|
# };
|
|
|
|
# cmakeFlags = [
|
|
# "-DDISTRIBUTOR=NixOS"
|
|
# "-DDOLPHIN_WC_BRANCH=${final.dolphin-emu.src.rev}"
|
|
# "-DDOLPHIN_WC_DESCRIBE=${final.dolphin-emu.version}"
|
|
# "-DDOLPHIN_WC_REVISION=${final.dolphin-emu.commit}"
|
|
# ];
|
|
# });
|
|
# mesa = final.mesa-24-2-4.mesa;
|
|
# mesa = prev.mesa.overrideAttrs (super: {
|
|
# version = "24.2.4";
|
|
|
|
# src = pkgs.fetchFromGitLab {
|
|
# domain = "gitlab.freedesktop.org";
|
|
# owner = "mesa";
|
|
# repo = "mesa";
|
|
# rev = "mesa-24.2.4";
|
|
# hash = "sha256-pgyvgMHImWO+b4vpCCe4+zOI98XCqcG8NRWpIcImGUk=";
|
|
# };
|
|
# });
|
|
})
|
|
];
|
|
}
|