DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 7ef6a72fc0800a78267b341ad08404720cf2db14 nix-arta/modules/nixos/steam.nix -rw-r--r-- 490 bytes
7ef6a72fJonni Liljamo feat: gaming and friends 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{config, ...}: {
  flake.modules.nixos.steam = {...}: {
    imports = with config.flake.modules.nixos; [
      unfree
      gaming
    ];

    arta.unfree.allow = [
      "steam"
      "steam-unwrapped"
    ];

    programs.steam = {
      enable = true;
      # TODO: verify if needed anymore
      /*
        extraPackages = with pkgs; [
        # Fallback fonts (e.g. for Don't Get Lost).
        liberation_ttf
      ];
      */
    };
    hardware.steam-hardware.enable = true;
  };
}