Initial import

This commit is contained in:
2026-06-10 18:36:32 +02:00
commit 41ff233f31
11 changed files with 321 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
environment.systemPackages = with pkgs; [
easyeffects
helvum
pavucontrol
qpwgraph
];
}
+48
View File
@@ -0,0 +1,48 @@
{ config, lib, pkgs, ... }:
{
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
kernelPackages = pkgs.linuxPackages_latest;
supportedFilesystems = [ "ntfs" ];
# Helpful for large games, shader caches and some launchers.
kernel.sysctl = {
"fs.inotify.max_user_watches" = 1048576;
"vm.max_map_count" = 2147483642;
};
};
networking.networkmanager.enable = true;
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "de_DE.UTF-8";
console.keyMap = "de";
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
security = {
rtkit.enable = true;
polkit.enable = true;
};
hardware = {
enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
services.fwupd.enable = true;
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}
+16
View File
@@ -0,0 +1,16 @@
{ pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
chaotic = {
mesa-git = {
enable = true;
fallbackSpecialisation = true;
};
};
environment.systemPackages = with pkgs; [
mesa_git
];
}
+19
View File
@@ -0,0 +1,19 @@
{ pkgs, ... }:
{
services.desktopManager.cosmic = {
enable = true;
xwayland.enable = true;
};
services.displayManager.cosmic-greeter.enable = true;
environment.systemPackages = with pkgs; [
gnome-keyring
networkmanagerapplet
seahorse
wayland-utils
wl-clipboard
xwayland
];
}
+33
View File
@@ -0,0 +1,33 @@
{ pkgs, ... }:
{
programs = {
appimage = {
enable = true;
binfmt = true;
};
gamemode.enable = true;
gamescope.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
gamescopeSession.enable = true;
protontricks.enable = true;
};
};
environment.systemPackages = with pkgs; [
gamemode
goverlay
heroic
lact
lutris
mangohud
protontricks
steam-run
wineWowPackages.stable
winetricks
];
}
+15
View File
@@ -0,0 +1,15 @@
{ pkgs, ... }:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
};
services.xserver.videoDrivers = [ "amdgpu" ];
environment.systemPackages = with pkgs; [
mesa-demos
vulkan-tools
];
}
+27
View File
@@ -0,0 +1,27 @@
{ pkgs, ... }:
{
hardware = {
i2c.enable = true;
steam-hardware.enable = true;
};
services = {
hardware.openrgb.enable = true;
ratbagd.enable = true;
};
environment.systemPackages = with pkgs; [
openrgb
pciutils
piper
solaar
usbutils
];
# Observed devices:
# - 048d:5702 Integrated Technology Express RGB LED Controller
# - 1235:8211 Focusrite Scarlett Solo (3rd Gen.)
# - 1b1c:1bfd Corsair K70 CORE RGB
# - 046d:c539 Logitech Lightspeed receiver
}