This commit is contained in:
2026-08-11 04:03:42 +03:00
parent 843f0bafa1
commit 056e5895fe
23 changed files with 3 additions and 379 deletions
+21
View File
@@ -0,0 +1,21 @@
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
environment = {
systemPackages = with pkgs; [
# yabridge
wineWowPackages.yabridge
yabridge
yabridgectl
# JACK Control
qjackctl
];
};
}
+19
View File
@@ -0,0 +1,19 @@
# https://github.com/ezKEa/aagl-gtk-on-nix
{ inputs, ... }@flakeContext:
{
config,
pkgs,
...
}:
{
imports = [ inputs.aagl.nixosModules.default ];
nix.settings = inputs.aagl.nixConfig; # Set up Cachix
programs = {
anime-game-launcher.enable = true;
#anime-games-launcher.enable = true;
#honkers-railway-launcher.enable = true;
#honkers-launcher.enable = true;
#wavey-launcher.enable = true;
#sleepy-launcher.enable = true;
};
}
+13
View File
@@ -0,0 +1,13 @@
# https://github.com/fufexan/nix-gaming
{ inputs, ... }@flakeContext:
{
config,
pkgs,
...
}:
{
nix.settings = {
substituters = [ "https://nix-gaming.cachix.org" ];
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
};
}
+47
View File
@@ -0,0 +1,47 @@
# https://github.com/musnix/musnix
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
imports = [ inputs.musnix.nixosModules.musnix ];
specialisation = {
"rt_kernel" = {
inheritParentConfig = true;
configuration = {
###
boot.kernelModules = [
"snd-seq"
"snd-rawmidi"
];
services = {
pipewire.enable = lib.mkForce false;
jack = {
jackd.enable = lib.mkForce true;
alsa.enable = true;
loopback.enable = true;
};
};
environment.systemPackages = with pkgs; [
jack2
jack_capture
libjack2
pavucontrol
qjackctl
];
musnix = {
enable = true;
#ffado.enable = true;
rtcqs.enable = true;
kernel.realtime = true;
kernel.packages = pkgs.linuxPackages_latest_rt;
};
###
};
};
};
}
+33
View File
@@ -0,0 +1,33 @@
{ inputs, ... }@flakeContext:
let
pkgs-stable = import inputs.nixpkgs-fingerprint { system = "x86_64-linux"; };
in
{
config,
pkgs,
...
}:
{
security.pam.services.login.fprintAuth = false;
services = {
fprintd = {
enable = true;
package = pkgs-stable.fprintd.override {
libfprint = pkgs-stable.libfprint.overrideAttrs (oldAttrs: {
version = "git";
src = pkgs-stable.fetchFromGitHub {
owner = "ericlinagora";
repo = "libfprint-CS9711";
rev = "c242a40fcc51aec5b57d877bdf3edfe8cb4883fd";
sha256 = "sha256-WFq8sNitwhOOS3eO8V35EMs+FA73pbILRP0JoW/UR80=";
};
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [
pkgs-stable.opencv
pkgs-stable.cmake
pkgs-stable.doctest
];
});
};
};
};
}
+52
View File
@@ -0,0 +1,52 @@
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
boot = {
kernelModules = [
"kvm-amd"
"vfio"
"vfio-pci"
"vfio_iommu_type1"
"vfio_virqfd"
];
kernelParams = [
"amd_iommu=on"
"iommu=pt"
"kvm.ignore_msrs=1"
];
};
services = {
spice-vdagentd.enable = true;
};
virtualisation = {
libvirtd = {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemu = {
swtpm.enable = true;
ovmf.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
};
environment = {
systemPackages = with pkgs; [
spice
#spice-gtk
#spice-protocol
virt-manager
virt-viewer
virtiofsd
win-spice
virtio-win
#looking-glass-client # pci-passthrough
];
};
}
+20
View File
@@ -0,0 +1,20 @@
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
environment = {
systemPackages = with pkgs; [
#wineWowPackages.waylandFull
wineWowPackages.stagingFull
#wineWowPackages.fonts
dxvk
];
sessionVariables = {
WINEARCH = "win64";
};
};
}