initial commit

This commit is contained in:
2026-07-21 13:13:31 -04:00
commit 2ac6ab0dd5
23 changed files with 2614 additions and 0 deletions
+104
View File
@@ -0,0 +1,104 @@
{
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; })
];
};
}
+66
View File
@@ -0,0 +1,66 @@
{
config,
lib,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd.availableKernelModules = [
"nvme"
"ahci"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/7559f03a-28da-482d-934a-5d4f88ab085f";
fsType = "btrfs";
};
"/home" = {
device = "/dev/disk/by-uuid/7559f03a-28da-482d-934a-5d4f88ab085f";
fsType = "btrfs";
options = [ "subvol=home" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/7559f03a-28da-482d-934a-5d4f88ab085f";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/12B3-D345";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
};
swapDevices = [
{ device = "/dev/disk/by-uuid/431e8332-e3d5-400b-93e7-27b9c8dc1dfe"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = {
bluetooth.enable = true;
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
}