83 lines
1.8 KiB
Nix
83 lines
1.8 KiB
Nix
with import <nixpkgs> {}; {
|
|
hardware = {
|
|
# support for GPUs
|
|
amdgpu = true;
|
|
intelgpu = false;
|
|
nvidiagpu = false;
|
|
|
|
# support for yubikey and additional software
|
|
yubikey = {
|
|
enable = true;
|
|
# additional software
|
|
ykman = false;
|
|
authenticator = true; # flutter yubico authenticator
|
|
};
|
|
};
|
|
|
|
virtualisation = {
|
|
docker-rootless = {
|
|
enable = true;
|
|
autoPrune = true;
|
|
};
|
|
qemu = {
|
|
enable = true;
|
|
virt-manager = true;
|
|
};
|
|
};
|
|
dev = {
|
|
platformio = true;
|
|
latex = true;
|
|
dotnet = false;
|
|
python3 = {
|
|
enable = true;
|
|
packages = ps: with ps; [
|
|
pandas
|
|
requests
|
|
pygments
|
|
tkinter
|
|
numpy
|
|
setuptools
|
|
youtube-dl
|
|
pip
|
|
ipykernel
|
|
scipy
|
|
];
|
|
};
|
|
|
|
lsp = {
|
|
enable = true;
|
|
# various language server
|
|
shellcheck = true;
|
|
luals = true;
|
|
pyright = true;
|
|
arduino = true;
|
|
clangd = true;
|
|
};
|
|
};
|
|
|
|
dvd = true; # enable DVD decryption + ripping via Handbrake
|
|
bluray = true; # enable Bluray decryption (requires additional setup)
|
|
printing = {
|
|
enable = true;
|
|
avahi = true;
|
|
};
|
|
xdg = {
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-kde
|
|
];
|
|
};
|
|
java = true;
|
|
dotnet = true;
|
|
|
|
networking = {
|
|
wireguard = true; # enable wireguard protocol
|
|
};
|
|
|
|
games = {
|
|
prismlauncher = true;
|
|
steam = true;
|
|
};
|
|
}
|