Files
frank-nix/hosts/nero/configuration.nix
T

112 lines
2.2 KiB
Nix

{
pkgs,
inputs,
...
}:
let
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
wivrn-overlay = _final: _prev: {
inherit (unstable) wivrn;
};
in
{
imports = [
../shared/nixos.nix
../../features/kde.nix
../../features/flatpak.nix
];
nixpkgs.overlays = [
wivrn-overlay
inputs.millennium.overlays.default
inputs.cheatengine.overlays.default
];
boot = {
kernelParams = [
"vfio-pci.ids=10de:2782,10de:22bc"
"video=HDMI-A-1:896x672@100"
];
};
networking.hostName = "nero";
services = {
flatpak = {
packages = [
{
appId = "com.discordapp.Discord";
origin = "flathub";
}
{
appId = "com.github.Matoking.protontricks";
origin = "flathub";
}
{
appId = "com.steamgriddb.SGDBoop";
origin = "flathub";
}
{
appId = "com.vysp3r.ProtonPlus";
origin = "flathub";
}
{
appId = "io.mpv.Mpv";
origin = "flathub";
}
{
appId = "org.ghidra_sre.Ghidra";
origin = "flathub";
}
{
appId = "io.github.ryubing.Ryujinx";
origin = "flathub";
}
{
appId = "org.gtk.Gtk3theme.Breeze";
origin = "flathub";
}
{
appId = "io.github.Amethyst.ModManager";
origin = "amethyst-mod-manager";
}
];
};
wivrn = {
enable = true;
openFirewall = true;
autoStart = true;
};
};
programs = {
gamemode.enable = true;
steam = {
enable = true;
package = pkgs.millennium-steam;
remotePlay.openFirewall = true;
extraPackages = [ pkgs.hidapi ];
};
};
environment = {
systemPackages = with pkgs; [
qimgv
zathura
mangohud
gamescope
gamescope-wsi
cheatengine
inputs.scopebuddy.packages.${pkgs.stdenv.hostPlatform.system}.default
(callPackage ../../packages/xivlauncher/package.nix { })
(callPackage ../../packages/aseprite/package.nix { })
(callPackage ../../packages/aseprite-thumbnailer-kde/package.nix { inherit unstable; })
];
};
}