Files
frank-nix/hosts/nero/configuration.nix
T
2026-07-21 13:13:31 -04:00

105 lines
2.2 KiB
Nix

{
pkgs,
inputs,
...
}:
let
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
imports = [
../shared/nixos.nix
../../features/kde.nix
../../features/flatpak.nix
];
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";
}
rec {
appId = "io.github.Amethyst.ModManager";
sha256 = "sha256-fpbIpuD6qwVDYJATNjpxLeVxZEBKS6MfK1UV3eS7eAQ=";
bundle = "${pkgs.fetchurl {
url = "https://github.com/ChrisDKN/Amethyst-Mod-Manager/releases/download/v2.0.2/AmethystModManager.flatpak";
inherit sha256;
}}";
}
];
};
wivrn = {
enable = true;
openFirewall = true;
autoStart = true;
};
};
programs = {
gamemode.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
extraPackages = [ pkgs.hidapi ];
};
};
environment = {
systemPackages = with pkgs; [
qimgv
zathura
mangohud
gamescope
gamescope-wsi
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; })
];
};
}