We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos-generate-config generates the following commented out invalid syntax:
nixos-generate-config
# Configure keymap in X11 # services.xserver.layout = "us"; # services.xserver.xkbOptions = { # "eurosign:e"; # "caps:escape" # map caps to escape. # };
Perhaps = [ ... ] was intended?
= [ ... ]
Steps to reproduce the behavior:
configuration.nix
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
"x86_64-linux"
Linux 5.15.102, NixOS, 22.11 (Raccoon), 22.11.3184.9b8e5abb183
yes
nix-env (Nix) 2.11.1
"nixos-22.11.3184.9b8e5abb183"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered:
Nice catch! xkbOptions requires a comma separated string.
xkbOptions
I submitted a PR which will fix this issue.
Sorry, something went wrong.
nixos-generate-config: fix invalid sample config
a6b712f
This issue was reported in #221510
Successfully merging a pull request may close this issue.
Describe the bug
nixos-generate-config
generates the following commented out invalid syntax:Perhaps
= [ ... ]
was intended?Steps To Reproduce
Steps to reproduce the behavior:
nixos-generate-config
configuration.nix
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-linux"
Linux 5.15.102, NixOS, 22.11 (Raccoon), 22.11.3184.9b8e5abb183
yes
yes
nix-env (Nix) 2.11.1
"nixos-22.11.3184.9b8e5abb183"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: