nixos/config/packages.nix

80 lines
1.6 KiB
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
# flatpaks for the one time i'll need them for some reason
services.flatpak.enable = true;
# system packages
environment.systemPackages = with pkgs; [
git
wget
fzf
curl
curlHTTP3
virt-manager
pinentry-curses
kitty
wezterm
distrobox
];
# firefox
programs.firefox.enable = true;
# steam
programs.steam.enable = true;
# android debugging tools
programs.adb.enable = true;
# gnupg is basically required for everything i use
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
# podmen
virtualisation.podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
};
# virtualization stuff
virtualisation.libvirtd = {
enable = true;
#qemu.runAsRoot = false;
qemu.swtpm.enable = true;
};
virtualisation.spiceUSBRedirection.enable = true;
# waydroid
virtualisation.waydroid.enable = true;
}