Nix configurations for my homelab
1{ pkgs, ... }:
2{
3 imports = [ ./unfree.nix ];
4
5 cafe.unfree = [
6 "modrinth-app"
7 "modrinth-app-unwrapped"
8 "steam"
9 "steam-original"
10 "steam-run"
11 "steam-unwrapped"
12 ];
13
14 nixpkgs.overlays = [
15 (final: prev: {
16 extest = prev.extest.overrideAttrs (
17 finalAttrs: prevAttrs: {
18 version = "1.0.3";
19
20 src = prev.fetchFromGitHub {
21 owner = "Supreeeme";
22 repo = "extest";
23 rev = "0d068672fdaefd6f6565036ddd8e6949ee82eb63";
24 hash = "sha256-4SVZD0aHKsn97B5bhCf7URR6iQhJlYGALKWhDg+lGhU=";
25 };
26
27 cargoDeps = prev.rustPlatform.fetchCargoVendor {
28 src = finalAttrs.src;
29 hash = "sha256-OBWgNQ3OfqztaQwbK4fjOp7Lbu58U6j8tbStJ17bIko=";
30 };
31 }
32 );
33 })
34 ];
35
36 services.udev.packages = with pkgs; [ game-devices-udev-rules ];
37
38 programs = {
39 # gamescope = {
40 # enable = true;
41 # # capSysNice = true; # This doesn't work inside of the bubblewrap container
42 # };
43 steam = {
44 enable = true;
45 extest.enable = true;
46 extraPackages = with pkgs; [ adwaita-icon-theme ];
47 extraCompatPackages = with pkgs; [ dwproton-bin ]; # Needed for Neverness to Everness
48 protontricks.enable = true;
49 };
50 };
51
52 users.users.mou.packages = with pkgs; [
53 deadlock-mod-manager
54 mangohud
55 modrinth-app
56 r2modman
57 ryubing
58 supertuxkart
59 ];
60}