-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nix-community:master' into sway-generators
- Loading branch information
Showing
108 changed files
with
1,607 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,46 @@ | ||
"mail": | ||
- modules/programs/aerc*.nix | ||
- modules/programs/alot*.nix | ||
- tests/modules/programs/aerc/* | ||
- tests/modules/programs/alot/* | ||
- modules/programs/mujmap.nix | ||
- tests/modules/programs/mujmap/* | ||
- modules/programs/notmuch.nix | ||
- modules/programs/neomutt* | ||
- tests/modules/programs/neomutt/* | ||
- modules/programs/getmail* | ||
- modules/*/mbsync* | ||
- tests/modules/programs/mbsync/* | ||
- modules/programs/himalaya.nix | ||
- tests/modules/programs/himalaya/* | ||
- modules/programs/thunderbird.nix | ||
- tests/modules/programs/thunderbird/* | ||
- modules/services/imapnotify.nix | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- modules/programs/aerc*.nix | ||
- modules/programs/alot*.nix | ||
- tests/modules/programs/aerc/* | ||
- tests/modules/programs/alot/* | ||
- modules/programs/mujmap.nix | ||
- tests/modules/programs/mujmap/* | ||
- modules/programs/notmuch.nix | ||
- modules/programs/neomutt* | ||
- tests/modules/programs/neomutt/* | ||
- modules/programs/getmail* | ||
- modules/*/mbsync* | ||
- tests/modules/programs/mbsync/* | ||
- modules/programs/himalaya.nix | ||
- tests/modules/programs/himalaya/* | ||
- modules/programs/thunderbird.nix | ||
- tests/modules/programs/thunderbird/* | ||
- modules/services/imapnotify.nix | ||
|
||
"neovim": | ||
- modules/programs/neovim.nix | ||
- tests/modules/programs/neovim/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- modules/programs/neovim.nix | ||
- tests/modules/programs/neovim/**/* | ||
|
||
"shell": | ||
- modules/lib/zsh.nix | ||
- modules/programs/zsh* | ||
- modules/programs/bash* | ||
- tests/modules/programs/zsh/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- modules/lib/zsh.nix | ||
- modules/programs/zsh* | ||
- modules/programs/bash* | ||
- tests/modules/programs/zsh/**/* | ||
|
||
"calendar": | ||
- modules/programs/khal* | ||
- modules/*/vdirsyncer* | ||
- modules/accounts/calendar.nix | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- modules/programs/khal* | ||
- modules/*/vdirsyncer* | ||
- modules/accounts/calendar.nix | ||
|
||
"contacts": | ||
- modules/accounts/contacts.nix | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- modules/accounts/contacts.nix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Introduction to Home Manager {#ch-introduction} | ||
|
||
Home Manager is a [Nix](https://nix.dev/)-powered tool for reproducible management of the contents of users' home directories. | ||
This includes programs, configuration files, environment variables and, well… arbitrary files. | ||
The following example snippet of Nix code: | ||
|
||
```nix | ||
programs.git = { | ||
enable = true; | ||
userEmail = "[email protected]"; | ||
userName = "joe"; | ||
}; | ||
``` | ||
|
||
would make available to a user the `git` executable and man pages and a configuration file `~/.config/git/config`: | ||
|
||
```ini | ||
[user] | ||
email = "[email protected]" | ||
name = "joe" | ||
``` | ||
|
||
Since Home Manager is implemented in Nix, it provides several benefits: | ||
|
||
- Contents are reproducible — a home will be the exact same every time it is built, unless of course, an intentional change is made. | ||
This also means you can have the exact same home on different hosts. | ||
- Significantly faster and more powerful than various backup strategies. | ||
- Unlike "dotfiles" repositories, Home Manager supports specifying programs, as well as their configurations. | ||
- Supported by <http://cache.nixos.org/>, so that you don't have to build from source. | ||
- If you do want to build some programs from source, there is hardly a tool more useful than Nix for that, and the build instructions can be neatly integrated in your Home Manager usage. | ||
- Infinitely composable, so that values in different configuration files and build instructions can share a source of truth. | ||
- Connects you with the [most extensive](https://repology.org/repositories/statistics/total) and [most up-to-date](https://repology.org/repositories/statistics/newest) software package repository on earth, [Nixpkgs](https://github.com/NixOS/nixpkgs). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ preface.md | |
``` | ||
|
||
```{=include=} parts | ||
introduction.md | ||
installation.md | ||
usage.md | ||
nix-flakes.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Redirecting…</title> | ||
<meta charset="utf-8"> | ||
<link rel="canonical" href="options.xhtml"> | ||
<noscript><meta http-equiv="refresh" content="0; url=options.xhtml"></noscript> | ||
</head> | ||
<body> | ||
<h1>Redirecting…</h1> | ||
<script> | ||
window.location.href = "options.xhtml" + (window.location.search || "") + (window.location.hash || ""); | ||
</script> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.