NixOS/settings.nix

68 lines
1.5 KiB
Nix
Raw Permalink Normal View History

2023-12-15 19:10:28 +00:00
with import <nixpkgs> {}; {
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
# support for yubikey and additional software
yubikey = {
enable = true;
# additional software
ykman = false;
authenticator = true; # flutter yubico authenticator
};
};
2023-12-15 19:44:33 +00:00
virtualisation = {
docker-rootless = {
enable = true;
autoPrune = true;
};
qemu = {
enable = true;
virt-manager = true;
};
};
dev = {
platformio = true;
latex = true;
dotnet = false;
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-15 17:58:49 +00:00
games = {
prismlauncher = true;
steam = true;
};
}