aboutsummaryrefslogtreecommitdiff
path: root/modules/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-14waybar: add moduleNicolas Berbiche1-0/+10
PR #1329
2020-08-12lib.gvariant: escape backslashes in stringsSymphorien Gibol1-1/+1
PR #1433
2020-07-31files: minor documentation improvementsRobert Helgesson1-6/+10
2020-07-24lib: support gvariant maybe typeRobert Helgesson2-0/+17
Fixes #1397
2020-06-23ne: add modulecwyc1-0/+6
Added a simple module to place configuration files for ne: the nice editor. PR #1336
2020-05-03i3status: add moduleJustin Lovinger1-0/+6
PR #1210
2020-05-02lib: add maintainers attribute setRobert Helgesson2-1/+17
This attribute set is for users who are Home Manager maintainers but not Nixpkgs maintainers.
2020-04-16ssh: deprecate the list form of match blockRobert Helgesson1-9/+19
Configurations depending on specific block order should use the DAG functions instead of lists.
2020-04-13types: improve dagOf and listOrDagOfRobert Helgesson1-18/+23
In particular, improve the behavior of these types if the element type is a submodule.
2020-04-06Update nixfmt and apply to a few more filesRobert Helgesson1-32/+23
2020-03-21lib: add GVariant datatype and functionsRobert Helgesson3-3/+184
2020-03-17files: add `force` flagRobert Helgesson1-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.
2020-02-23types: create fontType option typeivann1-0/+23
2020-02-02Apply `nixfmt` on many filesRobert Helgesson6-101/+75
2020-01-21Switch to extended Nixpkg's `lib`Robert Helgesson4-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
2020-01-16lib: add type generators `dagOf` and `listOrDagOf`Robert Helgesson2-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.
2019-06-10emacs: fix merging of `extraPackages` and `overrides`Jonas Holst Damtoft1-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.
2019-01-19files: allow a wider range of source file namesRobert Helgesson3-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`.
2019-01-11lib.zsh: add moduleMarcial Gaißert2-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.
2018-07-27files: add `onChange` optionAndrew Scott1-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.
2018-01-07lib/shell: add library of convenience functionsRobert Helgesson2-0/+13
This library holds a few convenience functions for generating shell code.
2017-12-26Add dag library to `config.lib`Robert Helgesson1-0/+18
Also replace all imports of `dag.nix` by the entry in `config.lib`.
2017-12-11files: remove `mode` optionRobert Helgesson1-11/+0
This option was deprecated >1 month ago and is therefore removed as per the corresponding news entry.
2017-11-07files: support recursive linking of directoryRobert Helgesson1-0/+17
2017-11-06files: extract type of `home.file` into own fileRobert Helgesson1-0/+105
2017-09-21lib: make dag.nix take `lib` as argumentRobert Helgesson1-3/+3
2017-09-21lib: use generators from NixpkgsRobert Helgesson1-93/+0
2017-05-04Add basic directed acyclic graph data structureRobert Helgesson1-0/+124
Also make use of this instead of Nixpkgs's strings-with-deps library in activation script generation.
2017-01-14Initial importRobert Helgesson1-0/+93