nixos-config/systems/common-gui.nix

149 lines
2.5 KiB
Nix

{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfreePredicate = (pkg: true);
environment.systemPackages = with pkgs; [
filezilla
qbittorrent
transmission-remote-gtk
sc-controller
steam-run
minecraft
lutris
teamspeak_client
betaflight-configurator
electrum
electron-cash
ledger-live-desktop
monero-gui
firefox
tor-browser-bundle-bin
chromium
tdesktop
element-desktop
mumble
discord
kleopatra
gnupg
gopass
xclip
kdeplasma-addons
ark
kate
kmail
kdeconnect
okular
yakuake
konversation
gwenview
kcalc
spectacle
kinfocenter
kile
(texlive.combine {
inherit (texlive) scheme-small titling collection-langfrench cm-super;
})
libsForQt5.breeze-gtk
libreoffice
gimp
inkscape
imagemagick
obs-studio
vlc
mpv
jellyfin-mpv-shim
kdenlive
glxinfo
i7z
appimage-run
pavucontrol
];
i18n = {
defaultLocale = "fr_FR.UTF-8";
};
console.keyMap = "fr";
programs.steam.enable = true;
# hardware = {
# pulseaudio.enable = true;
# };
# sound.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
networking.networkmanager.enable = true;
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
security.pam.loginLimits = [{
domain = "*";
type = "hard";
item = "nofile";
value = "1048576";
}];
programs = {
gnupg.agent = { enable = true; enableSSHSupport = true; };
browserpass.enable = true;
};
services = {
xserver = {
enable = true;
layout = "fr";
exportConfiguration = true;
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
};
udev.packages = with pkgs; [ ledger-udev-rules ];
pcscd = {
enable = true;
plugins = [
(pkgs.ccid.overrideAttrs (oldAttrs: rec {
preBuild = ''
echo "0x2C97:0x0001:Ledger Token" >> ./readers/supported_readers.txt
'';
})
)
];
};
};
environment.etc = {
"mpv/mpv.conf" = {
text = ''
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
'';
};
# CK3 fix
"ssl/certs/f387163d.0".source = "${pkgs.cacert.unbundled}/etc/ssl/certs/Starfield_Class_2_CA.crt";
};
}