Commit graph

622 commits

Author SHA1 Message Date
Robert Helgesson deb2868d57
polybar: use writeShellScriptBin
(cherry picked from commit 41356ac267)
2019-04-04 23:39:56 +02:00
Robert Helgesson 6fcaef5235
firefox: make the extensions option visible
Also change the example to use the firefox-addons available on NUR.

(cherry picked from commit 86af599a18)
2019-04-04 23:39:56 +02:00
Robert Helgesson 6bc07d4f53
ssh: add some basic tests
(cherry picked from commit 989e636d98)
2019-04-04 23:37:05 +02:00
Robert Helgesson c40fa72cde
ssh: support multiple identity files in a match block
Fixes #625

(cherry picked from commit eec78fbd1e)
2019-04-04 23:36:18 +02:00
Robert Helgesson 594294e2ca
Remove some use of mkDerivation
Instead use `runCommand`, which by default uses `stdenvNoCC` resulting
in a reduced dependency footprint.

Fixes #612

(cherry picked from commit 70d4cf2cd9)
2019-04-04 23:36:02 +02:00
arcnmx 2b19f15be3
git: make userName and userEmail options optional
(cherry picked from commit 52692e299d)
2019-04-04 23:35:34 +02:00
Robert Helgesson 9901509ef8
faq: add entry about missing ca.desrt.dconf
(cherry picked from commit fd2bc150d8)
2019-04-04 23:35:34 +02:00
Robert Helgesson 5d5bc3dc5a
firefox: add support for add-on packages
Since no official source of packages exist the option is hidden for
now. For adventurous people there is an overlay of a few selected
add-ons available at

    https://rycee.gitlab.io/nixpkgs-firefox-addons/overlay.tar.gz

This overlay is automatically built daily using the REST API available
on https://addons.mozilla.org/.

(cherry picked from commit 267afa5a3b)
2019-04-04 23:35:34 +02:00
Wael M. Nasreddine ec05213a41
nix-darwin: login as the user when activating
(cherry picked from commit 7ec153889c)
2019-04-04 23:35:34 +02:00
Wael M. Nasreddine 9b82a37d28
nix-darwin: support package install through user packages
(cherry picked from commit efc795920b)
2019-04-04 23:35:33 +02:00
Wael M. Nasreddine 0ac92c6a42
nix-darwin: activate home-manager through postActivation
(cherry picked from commit d3fd287efb)
2019-04-04 23:35:33 +02:00
Robert Helgesson 5342c9479b
docs: add NixOS module installation instructions
(cherry picked from commit 52fdf5b7ec)
2019-04-04 23:35:09 +02:00
Robert Helgesson d99f0cbe62
docs: add language attribute to program listings
(cherry picked from commit a09196c4ae)
2019-04-04 23:35:09 +02:00
Robert Helgesson 87a897e0c9
docs: use <screen> for terminal interaction
(cherry picked from commit 1d8997633c)
2019-04-04 23:35:09 +02:00
Mario Rodas fdda547e9e
git: allow contents in git.includes
(cherry picked from commit 6da88339f5)
2019-04-04 23:34:35 +02:00
Maximilian Bosch da31e466a1
nixos module: evaluate assertions from Home Manager modules
(cherry picked from commit 0898b6b482)
2019-04-04 23:32:34 +02:00
Olli Helenius fa19c18343
pam: enclose session variable values in quotes
(cherry picked from commit 848b8b983e)
2019-04-04 23:32:34 +02:00
Maximilian Bosch 3c2823e3cd
programs/zsh: properly escape shell aliases
Otherwise all aliases break that use single quotes inside.

Already fixed in the nixpkgs module in 1e211a70cbdaf230a18ea4cb67a959039d5c2ddb.

(cherry picked from commit 465d08d99f)
2019-04-04 23:32:34 +02:00
Robert Helgesson dd94a849df
tests: remove tests attribute from root default.nix
Having it there prevented, e.g., `nix-env -qaP` from working in some
cases.

Fixes #509

(cherry picked from commit b8b391ad18)
2019-02-23 22:59:15 +01:00
Douglas Wilson ee1bfa0d92
systemd: sanitize unit derivation names
To allow a few special characters such as "@".

This is taken from

    c414e5bd08/nixos/modules/system/boot/systemd-lib.nix (L14)

(cherry picked from commit 74811679b7)
2019-02-23 22:59:08 +01:00
Robert Helgesson 8980e08240
msmtp: use <parameter> for CLI options in description
(cherry picked from commit 93f5fcae1e)
2019-02-23 22:59:01 +01:00
Robert Helgesson afd2d0fb84
fontconfig: make fonts accessible when in NixOS module
(cherry picked from commit 799a90ecfa)
2019-02-23 22:58:47 +01:00
Robert Helgesson 2bdaf4ae98
nixos module: support NixOS user packages install
When using the NixOS module we cannot guarantee that the Nix store
will be writable during startup. Installing the user packages through
`nix-env -i` will fail in these cases.

This commit adds a NixOS option `home-manager.useUserPackages` that,
when enabled, installs user packages through the NixOS

    users.users.<name?>.packages

option.

Note, when submodule support and external package install is enabled
then the installed packages are not available in `~/.nix-profile`. We
therefore set `home.profileDirectory` directly to the HM profile
packages.

(cherry picked from commit ef168979bf)
2019-02-23 22:58:47 +01:00
Robert Helgesson 1ade5cad80
Revert "fish: use global for abbr"
This reverts commit 7d6a6cbbe3.

The version of fish in Nixpkgs 18.09 is not compatible with this
option. See #581.
2019-02-13 17:25:03 +01:00
Olli Helenius cf5b16b45f
msmtp: use XDG config directory
(cherry picked from commit a3462daeb1)
2019-02-11 01:23:50 +01:00
Robert Helgesson 45057f353c
tests: bump to latest nmt version
(cherry picked from commit a334a941c4)
2019-02-11 01:22:02 +01:00
Robert Helgesson ee7631fbe3
git: add basic support for LFS
Fixes #542

(cherry picked from commit 1cdb8abf30)
2019-02-11 01:22:02 +01:00
Ingolf Wanger fdb81a7ea0
nixos: use correct username for systemd service
(cherry picked from commit fbdb5beb59)
2019-02-11 01:22:02 +01:00
Robert Helgesson 1c3614cbc8
Clean up support code for Home Manager as a submodule
This removes the `nixosSubmodule` option in favor of a new option
`submoduleSupport.enable`. This name better indicates that the
submodule mode applies to both NixOS and nix-darwin.

(cherry picked from commit 2f372ab4d6)
2019-02-11 01:22:02 +01:00
Lorenzo Manacorda 75538973db
doc: add "See also" section to manpages
Pointing to each other.

(cherry picked from commit 524ce43e23)
2019-02-11 01:22:02 +01:00
Lorenzo Manacorda 37760ed934
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.

(cherry picked from commit 7f8e139413)
2019-02-11 01:22:01 +01:00
Robert Helgesson 6924761aaf
doc: move home-manager man page to section 1
This is not really a system administration tool so 8 is unsuitable.

(cherry picked from commit 99d79d0a80)
2019-02-11 01:22:01 +01:00
Jonas Holst Damtoft 5ccc2298de
emacs: add service module
(cherry picked from commit 0ca1bf3cfd)
2019-02-11 01:22:01 +01:00
Matthieu Coudron 0f4c798c81
neovim: allow to override package
If you want to run a development version for instance, it is easier to
set neovim.package rather than work around the wrapping mechanism etc.

(cherry picked from commit c18984c452)
2019-02-11 01:22:01 +01:00
Robert Helgesson f89522362f
git: use attrsOf instead of attrs
This makes sure that values added to

    programs.git.aliases

or

    programs.git.extraConfig

are merged as expected.

Also add a few option examples.

(cherry picked from commit 445c0b1482)
2019-02-11 01:22:01 +01:00
Robert Helgesson 7772158ac4
mbsync: add basic test of result configuration
(cherry picked from commit 0590c2a4f6)
2019-02-11 01:22:01 +01:00
Nadrieril fb96af9b9d
mbsync: add some required assertions
(cherry picked from commit 81ec856a0f)
2019-02-11 01:22:01 +01:00
Yurii Rashkovskii c73685ec74
nixpkgs: fix installation on non-x86
On non-x86 architectures (for example, aarch64) the installation of
home-manager fails indicating that it is attempting to select i686
packages for Linux and those aren't available.

Solution: make the condition for choosing these packages stricter
(cherry picked from commit 2410bc603b)
2019-02-11 01:22:00 +01:00
Robert Helgesson de2d6a5d95
git: quote sendemail section header
This will allow, e.g., the character `@` in the email identity.

Also adds a test case.

Fixes #557

(cherry picked from commit 45cadbd4f3)
2019-02-11 01:22:00 +01:00
Amarandus 3bef871dac
irssi: add module
irssi is a cli IRC client.

(cherry picked from commit 02a5a678f6)
2019-02-11 01:22:00 +01:00
Robert Helgesson 27042d1050
flameshot: add bars to systemd After
Fixes #544

(cherry picked from commit 98f534e172)
2019-02-11 01:22:00 +01:00
Matthieu Coudron a6475e3e60
git: generate identities from mail accounts
(cherry picked from commit a68c8cf5f1)
2019-02-11 01:22:00 +01:00
wedens 17aaf04f72
polybar: add /run/wrappers/bin to PATH
Without this the network module in polybar is unable to check
connection as it invokes 'ping' command directly.

(cherry picked from commit 604fc92943)
2019-02-11 01:21:05 +01:00
Robert Helgesson 708de1ac8d
xembed-sni-proxy: add module
(cherry picked from commit 008d93928f)
2019-02-11 01:21:04 +01:00
Jonas Holst Damtoft 7d6a6cbbe3
fish: use global for abbr
Makes fish use global scope for abbreviations.
This makes it so that they don't stick across config changes.
Before, an abbreviation would still exist even if removed from the config.

(cherry picked from commit 601619660d)
2019-02-11 01:21:04 +01:00
Robert Helgesson 016005a3a3
doc: bump copyright year to 2019 in man pages
(cherry picked from commit 4aa07c3547)
2019-02-11 01:21:04 +01:00
Robert Helgesson 966b790859
doc: reformat XML files
(cherry picked from commit f3f7c5cc57)
2019-02-11 01:21:04 +01:00
Robert Helgesson bceb74a78c
doc: add basic release notes
(cherry picked from commit c035046999)
2019-02-11 01:21:04 +01:00
Robert Helgesson bde13d0482
Update LICENSE file for 2019
(cherry picked from commit e15cd64ac9)
2019-02-11 01:21:04 +01:00
Robert Helgesson 6c30decf8d
i3: replace use of types.string by types.str
(cherry picked from commit 59a4ac71f9)
2019-02-11 01:21:04 +01:00