···1-# Edit this configuration file to define what should be installed on
2-# your system. Help is available in the configuration.nix(5) man page, on
3-# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
4-5-# NixOS-WSL specific options are documented on the NixOS-WSL repository:
6-# https://github.com/nix-community/NixOS-WSL
7-8-{ ... }: {
9- imports = [
10- # WSL has no hardware configuration
11- #./hardware-configuration.nix
12- #./boot.nix
13- ./networking.nix
14- #./gui.nix
15- ./users.nix
16- ./packages.nix
17- ./services.nix
18- # include NixOS-WSL modules
19- <nixos-wsl/modules>
20- ];
21- wsl = {
22- enable = true;
23- defaultUser = "noah";
24- wslConf.network.hostname = "touma-wsl-nixos";
25- };
26-27 # Set your time zone.
28 time.timeZone = "America/Chicago";
29···34 # keyMap = "us";
35 # useXkbConfig = true; # use xkb.options in tty.
36 # };
37-38- # Copy the NixOS configuration file and link it from the resulting system
39- # (/run/current-system/configuration.nix). This is useful in case you
40- # accidentally delete configuration.nix.
41- system.copySystemConfiguration = true;
4243 # Automatic doc cache generation
44 documentation.man.generateCaches = true;
···1+{ ... }:
2+{
0000000000000000000000003 # Set your time zone.
4 time.timeZone = "America/Chicago";
5···10 # keyMap = "us";
11 # useXkbConfig = true; # use xkb.options in tty.
12 # };
000001314 # Automatic doc cache generation
15 documentation.man.generateCaches = true;
···1+# Edit this configuration file to define what should be installed on
2+# your system. Help is available in the configuration.nix(5) man page, on
3+# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
4+5+# NixOS-WSL specific options are documented on the NixOS-WSL repository:
6+# https://github.com/nix-community/NixOS-WSL
7+8+{ ... }:
9+{
10+ imports = [
11+ # WSL has no hardware configuration
12+ ../networking.nix
13+ ../users.nix
14+ ../packages.nix
15+ ../services.nix
16+ ];
17+ wsl = {
18+ enable = true;
19+ defaultUser = "noah";
20+ wslConf.network.hostname = "touma-wsl-nixos";
21+ };
22+}