1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
Commit graph

52 commits

Author SHA1 Message Date
Robert Helgesson
b95ad63201
Deprecate use of builtins.getEnv
This removes the use of the non-deterministic function
`builtins.getEnv` for state version ≥ 20.09.

PR #1269
2020-05-26 00:28:59 +02:00
Robert Helgesson
cc48e15f28
doc: add chapter with contribution guidelines 2020-05-20 01:13:23 +02:00
Robert Helgesson
9ec9f004e1
home-manager: use nix-env to list generations
Using the `nix-env` command is far more robust. It also has the
benefit that if the per-user `profiles` and `gcroots` directories do
not exist then they will be created with the correct permissions.

Because of the second point this commit also removes the `mkdir` step
of the installation instructions.

PR #1239
Closes #474, #948, #1091
2020-05-16 19:17:13 +02:00
Robert Helgesson
2434984336
doc: fix highlighting of root commands 2020-05-08 00:21:42 +02:00
Robert Helgesson
1afa5e257b
doc: move FAQ to manual
This converts the FAQ into AsciiDoc and includes it in the HTML
manual.
2020-05-07 23:46:13 +02:00
Robert Helgesson
cb17f1ede2
Add preliminary release notes for 20.09 2020-04-23 00:29:12 +02:00
Robert Helgesson
42e4eef749
Update documentation for release 20.03 2020-04-23 00:29:11 +02:00
Robert Helgesson
7613fd12ec
doc: document dagOf and gvariant types 2020-04-22 23:59:10 +02:00
Robert Helgesson
f735fac91b
doc: bump nmd revision
Also convert `release-notes.xml` to AsciiDoc.
2020-04-22 23:59:09 +02:00
Robert Helgesson
3461ceebc0
firefox: remove options removed upstream
Fixes #1166
2020-04-18 11:24:11 +02:00
Robert Helgesson
133badb297
ssh: deprecate the list form of match block
Configurations depending on specific block order should use the DAG
functions instead of lists.
2020-04-16 23:27:40 +02:00
Timo Kaufmann
5969551a5c
home-manager: add instantiate subcommand
It can be useful to simply instantiate a Home Manager configuration
without actually building it, for example for the purpose of
pre-building it with some custom command.

PR #1099
2020-03-25 21:16:43 +01:00
Ruby Iris Juric
78a0bbb38b
picom: add module
Nixpkgs no longer packages compton, and instead packages picom, a
(mostly) compatible fork of compton, providing an alias from compton
to picom. Because some configuration options have been changed, and
all references to "compton" have been made deprecated and replaced
with "picom", 'services.compton' has been deprecated in favor of the
new 'services.picom'.

Resolves #878
PR #1101
2020-03-24 23:50:22 +01:00
Erik Arvstedt
efbe1383e6
nixos integration: add option 'useGlobalPkgs'
PR #1059
2020-03-07 14:25:00 +01:00
ef148ab3cb
newsboat: show queries before urls
PR #1047
2020-02-26 21:38:07 +01:00
Robert Helgesson
03b622b356
Bump copyright year 2020-02-25 19:27:54 +01:00
Robert Helgesson
45abf3d38a
Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
Robert Helgesson
6e4b9af080
Switch to extended Nixpkg's lib
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-21 20:47:04 +01:00
Robert Helgesson
bff499113e
manual: note deprecation of list values for file options
In particular, this entry notes that assigning lists to `home.file`,
`xdg.configFile`, and `xdg.dataFile` is deprecated and will be removed
in the next release.
2020-01-13 22:34:38 +01:00
Robert Helgesson
7c2532d9f9
home-manager: add --(no-)substitute options
Fixes #312
2019-12-01 10:43:39 +01:00
Nikita Uvarov
4505710565
zsh: fix history.path issues
- Default value is set to static '$HOME/.zsh_history' -- dotDir is not
prepended anymore
- $HOME is not prepended to the option value
- Ensure history path directory exists

Fixes #886, replaces #427.
2019-11-05 23:04:06 +01:00
Robert Helgesson
6b6f759e7a
doc: update version number in some places 2019-10-29 23:08:46 +01:00
Robert Helgesson
79c16b9a90
doc: fix section ID for 20.03 release notes 2019-10-09 22:41:56 +02:00
Robert Helgesson
83018ac54a
doc: add preliminary release notes for 20.03 2019-10-09 21:07:43 +02:00
Robert Helgesson
ad52dbe044
doc: finalize the 19.09 release notes 2019-10-09 21:03:04 +02:00
Robert Helgesson
45ec65e1cc
doc: convert some DocBook files to AsciiDoc 2019-09-07 09:29:24 +02:00
Robert Helgesson
824d31a21c
keyboard: make layout and variant optional
Also default these options to `null` for state version ≥ 19.09.

Fixes #811

Suggested-by: Sean Marshallsay <srm.1708@gmail.com>
2019-09-05 01:56:06 +02:00
Robert Helgesson
a144c723a1
doc: surround name? with fancier characters 2019-09-01 21:28:40 +02:00
Robert Helgesson
8ab1d22a82
home-manager: support --option argument
Fixes #784
2019-08-30 00:52:09 +02:00
Robert Helgesson
7c76ae1814
manual: add nmd as a generation dependency
This is to allow network-less rebuilding of a generation after a
garbage collection.

Fixes #819
2019-08-28 20:36:11 +02:00
Robert Helgesson
db86bd6c01
doc: update nmd
Also perform scrubbing of `pkgs` since nmd no longer does this
automatically.
2019-08-27 23:40:52 +02:00
Robert Helgesson
13fa61744c
doc: minor grammar fix 2019-08-26 23:14:51 +02:00
Robert Helgesson
8fe4e0879c
home-manager: support a few extra pass-through options
These options will be passed through to the `nix-build` tool.
2019-08-26 23:06:36 +02:00
Robert Helgesson
eb0ccf7286
docs: use nmd for generating documentation
The nmd library is an external library for generating Nix-centric
documentation.
2019-08-21 20:35:59 +02:00
Robert Helgesson
73641e492c
firefox: use wrapped package
This makes the

    programs.firefox.package

option take a pre-wrapped Firefox package as value if state version is
set to "19.09" or later. This should make the Firefox module work with
a wider range of Firefox packages.
2019-08-18 18:04:04 +02:00
Brian Hicks
6239ce20af
nix-darwin: add docs 2019-07-26 23:45:05 +02:00
Robert Helgesson
42732990cd
home-manager: rewrite argument parsing
This rewrite allows "long options" but unfortunately does not allow
merged options such as `-vn`.

Also improve the home-manager manual page, with this it should include
all sub-commands and arguments.

Finally, include the home-manager manual page in the generated HTML
documentation.
2019-06-09 22:19:03 +02:00
Robert Helgesson
ba0375bf06
docs: add systemd type change to 19.03 release notes 2019-04-23 22:02:29 +02:00
Robert Helgesson
8ecc311bcc
Update stable version to 19.03
Also prepares for 19.09.
2019-04-22 20:04:31 +02:00
Robert Helgesson
52fdf5b7ec
docs: add NixOS module installation instructions 2019-03-06 19:20:42 +01:00
Robert Helgesson
a09196c4ae
docs: add language attribute to program listings 2019-03-06 18:52:54 +01:00
Robert Helgesson
1d8997633c
docs: use <screen> for terminal interaction 2019-03-06 18:52:54 +01:00
Lorenzo Manacorda
524ce43e23
doc: add "See also" section to manpages
Pointing to each other.
2019-02-10 00:38:35 +01:00
Lorenzo Manacorda
7f8e139413
doc: remove extraneous contrib element
`contrib` is "A summary of the contributions made to a document by a
credited source", which we don't need in this case.
2019-02-10 00:38:35 +01:00
Robert Helgesson
99d79d0a80
doc: move home-manager man page to section 1
This is not really a system administration tool so 8 is unsuitable.
2019-02-10 00:38:28 +01:00
Robert Helgesson
4aa07c3547
doc: bump copyright year to 2019 in man pages 2019-01-20 18:03:04 +01:00
Robert Helgesson
f3f7c5cc57
doc: reformat XML files 2019-01-20 18:01:22 +01:00
Robert Helgesson
c035046999
doc: add basic release notes 2019-01-20 17:56:44 +01:00
Robert Helgesson
235a6617c4
readme: add notice that relog may be needed
Also add instructions for non-NixOS users to add the user channel
directory to `NIX_PATH`.
2018-12-23 10:55:30 +01:00
Robert Helgesson
6e67bb7ae6
doc: add installation instructions to manual
Also minor cleanups in README.
2018-12-06 00:57:49 +01:00