2024-04-21 12:59:57 -05:00
|
|
|
{
|
|
|
|
|
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 = {
|
|
|
|
|
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
|
|
|
|
|
curl
|
|
|
|
|
curlHTTP3
|
|
|
|
|
pinentry-curses
|
2024-04-21 17:39:09 -05:00
|
|
|
|
2024-04-21 12:59:57 -05:00
|
|
|
kitty
|
|
|
|
|
wezterm
|
2024-04-21 17:39:09 -05:00
|
|
|
|
2024-04-21 12:59:57 -05:00
|
|
|
distrobox
|
2024-04-21 17:39:09 -05:00
|
|
|
virt-manager
|
2024-04-21 12:59:57 -05:00
|
|
|
|
2024-04-21 17:39:09 -05:00
|
|
|
kde-rounded-corners
|
|
|
|
|
];
|
2024-04-21 12:59:57 -05:00
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
|
}
|