summaryrefslogtreecommitdiff
path: root/hosts/glados-wsl/default.nix
blob: b7efacd9bf63fc7f56795f30de706511173cf0ca (plain)
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
33
34
35
36
37
38
39
40
{
  config,
  modulesPath,
  pkgs,
  ...
}: {
  imports = [
    (modulesPath + "/profiles/minimal.nix")
    ./packages.nix
    ../../users/seth
  ];

  # enable non-free packages
  nixpkgs.config.allowUnfree = true;

  # Enable nix flakes
  nix.package = pkgs.nixFlakes;
  nix.settings.experimental-features = ["nix-command" "flakes"];

  system.stateVersion = "22.11";

  # hardware = {
  #   nvidia.package = boot.kernelPackages.nvidiaPackages.stable;
  #   xserver = {
  #     videoDrivers = [ "nvidia" ];
  #   };
  #   opengl.enable = true;
  # };

  networking.hostName = "glados-wsl";

  programs = {
    gnupg = {
      agent = {
        enable = true;
        pinentryFlavor = "curses";
      };
    };
  };
}