Skip to content

Commit

Permalink
Automated rfc145 migration for comments into doc-comments
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 1, 2024
1 parent 6fdb14c commit e05057e
Show file tree
Hide file tree
Showing 944 changed files with 18,269 additions and 10,703 deletions.
19 changes: 13 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,23 @@
nixosModules = {
notDetected = ./nixos/modules/installer/scan/not-detected.nix;

/*
/**
Make the `nixpkgs.*` configuration read-only. Guarantees that `pkgs`
is the way you initialize it.
Example:
{
imports = [ nixpkgs.nixosModules.readOnlyPkgs ];
nixpkgs.pkgs = nixpkgs.legacyPackages.x86_64-linux;
}
# Examples
:::{.example}
## `readOnlyPkgs` usage example
```nix
{
imports = [ nixpkgs.nixosModules.readOnlyPkgs ];
nixpkgs.pkgs = nixpkgs.legacyPackages.x86_64-linux;
}
```
:::
*/
readOnlyPkgs = ./nixos/modules/misc/nixpkgs/read-only.nix;
};
Expand Down

0 comments on commit e05057e

Please sign in to comment.