summaryrefslogtreecommitdiff
path: root/hosts/glados-wsl/default.nix
blob: bc9bdd2de2ae4b1a3095602b9f0522a7157e5328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  config,
  modulesPath,
  pkgs,
  ...
}: {
  imports = [
    (modulesPath + "/profiles/minimal.nix")
    ../common
    ../../users/seth
  ];

  sys.wsl.enable = true;

  # 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";
}