about summary refs log tree commit diff
path: root/stallo-configuration.nix
blob: 21f89fb180dbeafd5bde4cfa79045c037da733a6 (plain) (blame)
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
26
27
28
29
30
31
32
# Local configuration for 'stallo' (Home desktop PC)
{ config, pkgs, ...}:

{
  boot.initrd.luks.devices.stallo-luks.device = "/dev/disk/by-uuid/b484cf1e-a27b-4785-8bd6-fa85a004b073";

  # Use proprietary nvidia driver
  services.xserver.videoDrivers = [ "nvidia" ];

  # Enable 32-bit compatibility for Steam:
  hardware.opengl.driSupport32Bit = true;
  hardware.pulseaudio.support32Bit = true;

  # Wine for Blizzard stuff
  environment.systemPackages = with pkgs.unstable; [ wineWowPackages.staging winetricks ];

  networking = {
    hostName = "stallo";
    wireless.enable = true;
    wireless.networks = {
      "How do I computer fast?" = {
        # Welcome to roast club!
        psk = "washyourface";
      };
    };
    # IPv6 at home, of course:
    nameservers = [
      "2606:4700:4700::1111"
      "2606:4700:4700::1001"
    ];
  };
}