Commit graph

710 commits

Author SHA1 Message Date
Robert Helgesson d74320012e
polybar: restart service on failure
(cherry picked from commit 698d0f0a44)
2019-09-17 22:53:09 +02:00
Alex Rice aa2f70def7
rofi: string -> str
(cherry picked from commit ec0459e139)
2019-09-03 15:39:48 +02:00
Robert Helgesson 76ba4bedff
systemd: fix unit examples
Closes #823

(cherry picked from commit 875eea1330)
2019-08-29 19:22:06 +02:00
Robert Helgesson 46eaee3262
Replace use of stdenv.shell by runtimeShell
(cherry picked from commit eb1b86a5ec)
2019-08-29 19:20:21 +02:00
Robert Helgesson f8187816a4
nixpkgs: improve description formatting slightly
(cherry picked from commit 57925c50bf)
2019-08-29 19:19:31 +02:00
Robert Helgesson f9ac2671bb
Use types.port where applicable
This changes the type of all options that specify ports to
`types.port`. This type restricts values to between 0 and 65535.

(cherry picked from commit ed4f66185f)
2019-08-29 19:19:16 +02:00
Robert Helgesson 2307cb280a
nix-darwin: pass on warnings to the system configuration
(cherry picked from commit c2429ca0cf)
2019-08-29 19:17:59 +02:00
Robert Helgesson 14c5a22cfb
nixos: pass on warnings to the system configuration
Fixes #804

(cherry picked from commit 7834ffbbf1)
2019-08-29 19:17:52 +02:00
Robert Helgesson 0f85326dee
emacs: document how to list available extra packages
(cherry picked from commit 5eed33ef08)
2019-08-29 19:17:10 +02:00
pacien 35d31c390d
alot: fix account extraConfig section
(cherry picked from commit 31ae1bc2ff)
2019-08-29 19:17:00 +02:00
Robert Helgesson 176e82ee1c
install: restrict to nix-shell
This commit adds a "build" command to the install derivation that
tells the user that `nix-shell` should be used.

A derivation attribute `shellHookOnly = true` is also added with the
intent to indicate that the shell hook is the entire point of the
derivation.

(cherry picked from commit fcdab6a62d)
2019-08-29 19:16:25 +02:00
Tobias Happ 634a909ddc
xsession: set RemainAfterExit for setxkbmap.service
(cherry picked from commit 2eae9daae7)
2019-08-29 19:16:14 +02:00
Robert Helgesson 33c6230dac
gitlab-ci: only run a single test
Unfortunately the full test suite seems to run out of memory on the
GitLab CI runner.

(cherry picked from commit 8830b8d082)
2019-08-19 16:37:53 +02:00
Robert Helgesson 1d8b6e7d9e
gitlab-ci: trigger NUR update
This will trigger a CI job at

    https://gitlab.com/rycee/nur-expressions

that will update Home Manager in NUR.

(cherry picked from commit 55c962fda2)
2019-08-19 16:37:52 +02:00
Robert Helgesson cf5e08cfb8
gitlab-ci: add test stage
(cherry picked from commit eb7f39f0aa)
2019-08-19 16:37:50 +02:00
Nikita Uvarov 45a73067ac
zsh: fix completion when oh-my-zsh is enabled
enableCompletion option not only calls compinit but also adds
nix-zsh-completions package to home.packages which should still happen
even if oh-my-zsh is enabled.

The double compinit call will still be eliminated by moving guarding condition
down to the compinit call itself.

Fixes #771.

(cherry picked from commit 7310cfc557)
2019-08-14 17:09:39 +02:00
Nikita Uvarov ef906c5a92
zsh: create oh-my-zsh cache directory
Fixes #761.

(cherry picked from commit 42ad0effdd)
2019-08-14 17:09:39 +02:00
paumr bb18d4c746
mbsync: fix use of certificatesFile
The `tls.certificatesFile` option may be set to a path but the
`CertificateFile` attribute should be a string.

(cherry picked from commit 3743e8995a)
2019-08-14 17:09:20 +02:00
Tobias Happ 6d5246f49f
systemd-activate.rb: add start/stop/restart sockets
(cherry picked from commit 4c9b40ca0e)
2019-08-14 17:09:20 +02:00
Olli Helenius 5d054abe6a
dconf: assume empty list value is a list of strings
Fixes #769.

(cherry picked from commit caf3349f01)
2019-08-14 17:09:14 +02:00
Brian Hicks a85f22164d
nix-darwin: add docs
(cherry picked from commit 6239ce20af)
2019-07-28 15:03:42 +02:00
Robert Helgesson dd6d8e278b
vscode: fix configuration path for Darwin
Fixes #737

(cherry picked from commit 056443ccbd)
2019-07-28 15:03:22 +02:00
Shanon McQuay 9291923e84
skim: correctly name default options
skim uses SKIM_DEFAULT_OPTIONS rather than SKIM_DEFAULT_OPTS.

(cherry picked from commit 734128930f)
2019-07-28 15:03:13 +02:00
Robert Helgesson b8bbd242f8
mbsync: use full path to mu in example
(cherry picked from commit ca4f22be85)
2019-07-28 15:02:55 +02:00
Robert Helgesson 413ac52bed
mbsync: put extra config at the beginning
If it is at the end it will just end up applying to the last defined
section.

Fixes #748

(cherry picked from commit c3520bfa52)
2019-07-05 22:19:57 +02:00
Robert Helgesson 4f13f06b01
network-manager-applet: fix indentation
(cherry picked from commit 5b50eb18fc)
2019-06-09 22:49:19 +02:00
Florian Klink d714740961
screen-locker: fix systemd unit
In particular, don't add trailing backslashes introduced by
`xautolockExtraOptions`. Systemd's unit file parser seems to have
gotten a bit stricter and with systemd 242, the trailing backslash
caused the next non-empty line to be ignored.

In that case, this was `[Section]`, so all subsequent settings were
mistakenly added to `[Service]`, causing them to be ignored entirely.

Simplify and fix this by using `concatStringsSep` to build a single
`ExecStart` line.

(cherry picked from commit 8991fe2e90)
2019-06-09 22:48:06 +02:00
Robert Helgesson 81d600d948
vscode: add example for extensions option
(cherry picked from commit e1535d2bd8)
2019-06-09 22:47:27 +02:00
Jaka Hudoklin 3daa1da497
nixos: use usercfg.home.username for username
Use `usercfg.home.username` for username instead of attribute name,
as this way we can change username regardless of the name of the attribute.

(cherry picked from commit 2e13c3cdfd)
2019-06-09 22:46:11 +02:00
Roman Volosatovs 41d2a16f99
nix-darwin: actually install packages
Also apply assertions when using the nix-darwin module.

Closes #702

(cherry picked from commit 1480a6ca14)
2019-06-09 22:46:01 +02:00
Tadeo Kondrak 24b734500f
alacritty: don't create file if settings is empty
Also add a few test cases for the alacritty module.

(cherry picked from commit d2ed39f103)
2019-05-15 00:01:21 +02:00
Robert Helgesson de9fc235d0
tests: bump nmt version
(cherry picked from commit 939274281a)
2019-05-15 00:00:35 +02:00
Robert Helgesson 14a0dce9e8
flameshot: fix service description
(cherry picked from commit f99d4ba7c4)
2019-05-01 18:24:38 +02:00
Will Dietz ef78cae6a4
files: fix find invocation broken in c94eaa0e
Add parens to expression so the `-exec` includes files matching both.

Otherwise (before this change) the `-exec` is only invoked for
links (`-type l`):

    file or (link -> doexec)
      =>
    (file or link) -> doexec

(cherry picked from commit f56256f488)
2019-05-01 18:24:30 +02:00
Robert Helgesson e3c4ec12cc
home-manager: add uninstall command
(cherry picked from commit 3bb7c75db3)
2019-05-01 18:24:02 +02:00
Robert Helgesson f73c6ed74f
files: replace unnecessary use of xargs
(cherry picked from commit c94eaa0e6c)
2019-05-01 18:24:02 +02:00
Robert Helgesson de0dae5666
firefox: deprecate Google Talk and IcedTea options
(cherry picked from commit a16439e38e)
2019-05-01 18:24:02 +02:00
Robert Helgesson 162a65f029
Fix type of various sessionVariables options
Unfortunately, using `attrsOf` is not possible since it results in too
eager evaluation. In particular, the

    home.sessionVariables = {
      FOO = "Hello";
      BAR = "${config.home.sessionVariables.FOO} World!";
    };

example will cause an infinite recursion.

This commit restores the option type of

- `home.sessionVariables`,
- `pam.sessionVariables`,
- `programs.bash.sessionVariables`, and
- `programs.zsh.sessionVariables`

to `attrs`. It also adds test cases for the above options to avoid
regressions.

Fixes #659

(cherry picked from commit b6e613c771)
2019-05-01 18:24:02 +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 13ad532412
xscreensaver: add option settings 2019-04-22 23:44:46 +02:00
Robert Helgesson 8ecc311bcc
Update stable version to 19.03
Also prepares for 19.09.
2019-04-22 20:04:31 +02:00
hyperfekt e3831d8ecc
alacritty: add module 2019-04-22 14:43:43 +02:00
Robert Helgesson 9c0536deda
emacs: prevent service restart on change
Fixes #668
2019-04-18 01:38:25 +02:00
Robert Helgesson 6b42bd7abf
systemd: support X-RestartIfChanged = false
Having this in the unit file will prevent the file from being
restarted if a change is detected. This is useful if data loss may
occur if the unit is suddenly restarted. For example, restarting the
Emacs service may result in the loss of unsaved open buffers.
2019-04-18 01:38:20 +02:00
Robert Helgesson 0d246aa435
systemd: escape unit names in systemctl commands 2019-04-18 01:37:59 +02:00
Benjamin Staffin c5f35b7ff9
dconf: allow values to be floats
Technically dconf calls these "double" but nix floats ought to work.
2019-04-17 23:04:48 +02:00
Alex Ameen ff602cb906
manual: add option manual.json.enable
Make it possible to install a JSON file containing the available Home
Manager options.
2019-04-15 22:43:46 +02:00
Olli Helenius 1806e5511e
skim: add module 2019-04-14 17:36:27 +02:00
ash lea cb93316fed
browserpass: update app id 2019-04-14 11:40:37 +02:00
Nick Hu a6f0fa90f7
email: add facility for email aliases
Also update the notmuch and alot modules to include support for email
aliases.
2019-04-12 21:26:46 +02:00