aboutsummaryrefslogtreecommitdiff
path: root/modules/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* waybar: add moduleNicolas Berbiche2020-08-141-0/+10
| | | | PR #1329
* lib.gvariant: escape backslashes in stringsSymphorien Gibol2020-08-121-1/+1
| | | | PR #1433
* files: minor documentation improvementsRobert Helgesson2020-07-311-6/+10
|
* lib: support gvariant maybe typeRobert Helgesson2020-07-242-0/+17
| | | | Fixes #1397
* ne: add modulecwyc2020-06-231-0/+6
| | | | | | | Added a simple module to place configuration files for ne: the nice editor. PR #1336
* i3status: add moduleJustin Lovinger2020-05-031-0/+6
| | | | PR #1210
* lib: add maintainers attribute setRobert Helgesson2020-05-022-1/+17
| | | | | This attribute set is for users who are Home Manager maintainers but not Nixpkgs maintainers.
* ssh: deprecate the list form of match blockRobert Helgesson2020-04-161-9/+19
| | | | | Configurations depending on specific block order should use the DAG functions instead of lists.
* types: improve dagOf and listOrDagOfRobert Helgesson2020-04-131-18/+23
| | | | | In particular, improve the behavior of these types if the element type is a submodule.
* Update nixfmt and apply to a few more filesRobert Helgesson2020-04-061-32/+23
|
* lib: add GVariant datatype and functionsRobert Helgesson2020-03-213-3/+184
|
* files: add `force` flagRobert Helgesson2020-03-171-0/+12
| | | | | | Enabling this flag for a `home.file` entry causes the target to be unconditionally overwritten. The option is not visible in documentation for now and shouldn't be relied on for general use.
* types: create fontType option typeivann2020-02-231-0/+23
|
* Apply `nixfmt` on many filesRobert Helgesson2020-02-026-101/+75
|
* Switch to extended Nixpkg's `lib`Robert Helgesson2020-01-214-9/+14
| | | | | | | | | This change makes use of the `extend` function inside `lib` to inject a new `hm` field containing the Home Manager library functions. This simplifies use of the Home Manager library in the modules and reduces the risk of accidental infinite recursion. PR #994
* lib: add type generators `dagOf` and `listOrDagOf`Robert Helgesson2020-01-162-1/+106
| | | | | | Given an inner type, the former function generates a type that expect DAG option values. The latter function is only present to temporarily allow the `programs.ssh.matchBlocks` to keep accepting list values.
* emacs: fix merging of `extraPackages` and `overrides`Jonas Holst Damtoft2019-06-101-0/+28
| | | | | | Because `extraPackages` and `overrides` expect functions as values it has not been possible to perform merges. This adds suitable types for these options that allow reasonable merging.
* files: allow a wider range of source file namesRobert Helgesson2019-01-193-22/+31
| | | | | | | In particular support source files whose name start with `.` or contain characters not allowed in the nix store, such as spaces. Also add some test cases for `home.file`.
* lib.zsh: add moduleMarcial Gaißert2019-01-112-0/+29
| | | | | | | | | Added utilities to generate export statements and definitions for zsh scripts. Currently, there is only lib.shell which generates export statements in bash syntax. However, this does not allow to generate export statements for zsh arrays (syntax: NAME=(elem1 elem2 ...) ), which would be the natural representation of lists in the nix language.
* files: add `onChange` optionAndrew Scott2018-07-271-0/+11
| | | | | | This option allows execution of arbitrary shell code when a file that is linked into the home directory has been changed between generations.
* lib/shell: add library of convenience functionsRobert Helgesson2018-01-072-0/+13
| | | | | This library holds a few convenience functions for generating shell code.
* Add dag library to `config.lib`Robert Helgesson2017-12-261-0/+18
| | | | Also replace all imports of `dag.nix` by the entry in `config.lib`.
* files: remove `mode` optionRobert Helgesson2017-12-111-11/+0
| | | | | This option was deprecated >1 month ago and is therefore removed as per the corresponding news entry.
* files: support recursive linking of directoryRobert Helgesson2017-11-071-0/+17
|
* files: extract type of `home.file` into own fileRobert Helgesson2017-11-061-0/+105
|
* lib: make dag.nix take `lib` as argumentRobert Helgesson2017-09-211-3/+3
|
* lib: use generators from NixpkgsRobert Helgesson2017-09-211-93/+0
|
* Add basic directed acyclic graph data structureRobert Helgesson2017-05-041-0/+124
| | | | | Also make use of this instead of Nixpkgs's strings-with-deps library in activation script generation.
* Initial importRobert Helgesson2017-01-141-0/+93