···11-# Edit this configuration file to define what should be installed on
22-# your system. Help is available in the configuration.nix(5) man page, on
33-# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
44-55-# NixOS-WSL specific options are documented on the NixOS-WSL repository:
66-# https://github.com/nix-community/NixOS-WSL
77-88-{ ... }: {
99- imports = [
1010- # WSL has no hardware configuration
1111- #./hardware-configuration.nix
1212- #./boot.nix
1313- ./networking.nix
1414- #./gui.nix
1515- ./users.nix
1616- ./packages.nix
1717- ./services.nix
1818- # include NixOS-WSL modules
1919- <nixos-wsl/modules>
2020- ];
2121- wsl = {
2222- enable = true;
2323- defaultUser = "noah";
2424- wslConf.network.hostname = "touma-wsl-nixos";
2525- };
2626-11+{ ... }:
22+{
273 # Set your time zone.
284 time.timeZone = "America/Chicago";
295···3410 # keyMap = "us";
3511 # useXkbConfig = true; # use xkb.options in tty.
3612 # };
3737-3838- # Copy the NixOS configuration file and link it from the resulting system
3939- # (/run/current-system/configuration.nix). This is useful in case you
4040- # accidentally delete configuration.nix.
4141- system.copySystemConfiguration = true;
42134314 # Automatic doc cache generation
4415 documentation.man.generateCaches = true;
···11+# Edit this configuration file to define what should be installed on
22+# your system. Help is available in the configuration.nix(5) man page, on
33+# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
44+55+# NixOS-WSL specific options are documented on the NixOS-WSL repository:
66+# https://github.com/nix-community/NixOS-WSL
77+88+{ ... }:
99+{
1010+ imports = [
1111+ # WSL has no hardware configuration
1212+ ../networking.nix
1313+ ../users.nix
1414+ ../packages.nix
1515+ ../services.nix
1616+ ];
1717+ wsl = {
1818+ enable = true;
1919+ defaultUser = "noah";
2020+ wslConf.network.hostname = "touma-wsl-nixos";
2121+ };
2222+}