NixOS/settings.nix

129 lines
2.8 KiB
Nix
Raw Normal View History

with import <nixpkgs> {};
{
stateVersion = "23.11";
hardware = {
2023-12-15 17:49:12 +00:00
# support for GPUs
amdgpu = true;
intelgpu = false;
nvidiagpu = false;
2023-12-15 17:49:12 +00:00
2023-12-15 22:02:33 +00:00
bluetooth = true;
acpilight = false;
iio = true;
2023-12-15 17:49:12 +00:00
# support for yubikey and additional software
yubikey = {
enable = true;
# additional software
ykman = false;
authenticator = true; # flutter yubico authenticator
};
};
2023-12-23 11:13:43 +00:00
fish = false;
2023-12-15 22:18:26 +00:00
2023-12-15 22:14:53 +00:00
plasma5 = {
enable = true;
dconf = true;
xwayland = true;
excludePackages = with pkgs.libsForQt5; [
elisa
oxygen
khelpcenter
kcolorpicker
];
};
2023-12-15 19:44:33 +00:00
virtualisation = {
docker-rootless = {
enable = true;
autoPrune = true;
};
qemu = {
enable = true;
2023-12-23 11:13:43 +00:00
virt-manager = false;
2023-12-15 19:44:33 +00:00
};
2023-12-15 22:02:33 +00:00
waydroid = false;
wine = {
enable = true;
wayland = false;
winetricks = true;
};
2023-12-15 19:44:33 +00:00
};
dev = {
platformio = true;
latex = true;
dotnet = false;
2023-12-15 21:55:04 +00:00
python3 = {
enable = true;
packages = ps: with ps; [
pandas
requests
pygments
tkinter
numpy
setuptools
youtube-dl
pip
ipykernel
scipy
];
};
2023-12-22 13:41:26 +00:00
arduino = {
enable = false; # enable arduino development platform
ide2 = true; # wether to use IDE 2.x or deprecated 1.x
};
2023-12-23 11:13:43 +00:00
android = {
enable = true;
};
2023-12-15 19:53:37 +00:00
lsp = {
enable = true;
# various language server
shellcheck = true;
luals = true;
pyright = true;
arduino = true;
clangd = true;
};
2023-12-15 19:44:33 +00:00
};
2023-12-15 17:49:12 +00:00
dvd = true; # enable DVD decryption + ripping via Handbrake
bluray = true; # enable Bluray decryption (requires additional setup)
2023-12-15 19:10:28 +00:00
printing = {
enable = true;
avahi = true;
};
xdg = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-kde
];
};
java = true;
dotnet = true;
2023-12-15 17:49:12 +00:00
networking = {
wireguard = true; # enable wireguard protocol
2023-12-23 11:13:43 +00:00
hostname = "servostar-nixos-flex";
};
2023-12-15 17:58:49 +00:00
games = {
prismlauncher = true;
steam = true;
};
sound = {
pipewire = {
enable = true;
alsa = true;
pulse = true;
jack = true;
};
pulseaudio = {
enable = false;
};
};
}