summaryrefslogtreecommitdiff
path: root/modules/lib
AgeCommit message (Collapse)Author
2024-06-15write-text: remove support for `copy`Emily
This is a huge anti‐declarative footgun; `copy` files cannot distinguish if a previous version is managed by nix-darwin, so they can’t check the hash, so they’re prone to destroying data, and copied files are not deleted when they’re removed from the system configuration, which led to a security bug. Nothing else in‐tree was using this functionality, so let’s make sure it doesn’t cause any more bugs.
2024-04-19treewide: remove lib.mdDocWeijia Wang
2023-06-24treewide: convert all option docs to MarkdownEmily
This process was automated by [my fork of `nix-doc-munge`]; thanks to @pennae for writing this tool! It automatically checks that the resulting documentation doesn't change, although my fork loosens this a little to ignore some irrelevant whitespace and typographical differences. As of this commit there is no DocBook remaining in the options documentation. You can play along at home if you want to reproduce this commit: $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \ nix shell nixpkgs#coreutils \ -c find . -name '*.nix' \ -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \ {} + [my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-05-10support authorized_keys for userssbh69840
2020-06-17etc: allow replacing files with known contentDaiderd Jordan
This enables replacing existing system files like /etc/bashrc by default while keeping the safer behaviour for other files like /etc/passwd, etc. that could potentially cause major problems for the system when replaced.
2017-12-13whitespaceDaiderd Jordan
2017-01-05write-text: support empty filesDaiderd Jordan
2017-01-05environment.etc: provide proper error message when source is missingDaiderd Jordan
2017-01-04fix environment.etc entries with a subdirectoryDaiderd Jordan
2017-01-02add missing write-text.nix fileDaiderd Jordan