Robin Gloster
19c737fd79
Merge pull request #65699 from jslight90/patch-5
...
nixos/gitlab: fix config initializer permissions
2019-08-01 23:08:39 +00:00
Colin L Rice
d7aa6df31f
nix-daemon: Fix builduser count to work when maxJobs is auto
2019-08-01 01:54:28 -04:00
Jeff Slight
7efcbead2c
nixos/gitlab: fix config initializer permissions
2019-07-31 14:55:08 -07:00
arcnmx
c604b38791
nixos/taskserver: crl file is optional
2019-07-27 15:49:46 -07:00
steve-chavez
dfd3a0269c
Shorten mkEnableOption description
2019-07-23 12:19:28 +09:00
steve-chavez
5ccfa0c816
nixos/modules: add greenclip user service
2019-07-23 12:19:28 +09:00
Johan Thomsen
bbd4a0c100
nixos/gitlab: gitlab-workhorse requires exiftool on path to process uploaded images
2019-07-22 16:41:16 +00:00
Aaron Andersen
44565adda5
Merge pull request #60436 from nbardiuk/master
...
nixos/tiddlywiki: init
2019-07-21 16:39:42 -04:00
Aaron Andersen
30920fbf69
Merge pull request #64741 from dasJ/gitea-smtp-pw
...
nixos/gitea: Support SMTP without pw in the store
2019-07-20 08:32:51 -04:00
Robin Gloster
0972409c95
Merge pull request #64550 from bgamari/gitlab-12.0
...
gitlab: 11.10.8 -> 12.0.3
2019-07-17 16:01:03 +00:00
Nazarii Bardiuk
976928daa2
nixos/tiddlywiki: init
...
Service that runs TiddlyWiki nodejs server
2019-07-16 23:12:16 +01:00
Robin Gloster
52fd300b8c
gitlab module: fix permissions
2019-07-16 03:51:17 +02:00
Robin Gloster
3469c206f2
gitlab-shell: better gitlab_shell_secret location
...
So this won't be cleaned up by removing config/*
2019-07-16 03:51:11 +02:00
Robin Gloster
783c2f6106
gitlab module: clean up permission handling
...
This is WIP to get rid of PermissionsStartOnly=true
2019-07-16 01:19:07 +02:00
Janne Heß
1e23007dcd
nixos/gitea: Support SMTP without pw in the store
2019-07-14 22:48:10 +02:00
Silvan Mosberger
5eac339829
nixos/redmine: add database.createLocally option ( #63932 )
...
nixos/redmine: add database.createLocally option
2019-07-14 16:22:37 +02:00
Frederik Rietdijk
74c24385cb
Merge master into staging-next
2019-07-09 15:46:00 +02:00
Elis Hirwing
3b354cc037
Merge pull request #64412 from davidtwco/lidarr/fix-home
...
nixos/lidarr: re-add home attribute
2019-07-07 21:35:06 +02:00
David Wood
e2247dceb3
nixos/lidarr: re-add home attribute
...
This was accidentally removed in a previous PR and broke things.
2019-07-07 12:31:28 +01:00
David Wood
7f32961ea2
nixos/jackett: add package option
...
This allows users of the module to override the package to a newer
version. Particularly useful as Jackett warns that old versions may not
work.
2019-07-07 12:23:01 +01:00
worldofpeace
ab34f8b39b
Merge pull request #63824 from JohnAZoidberg/zoneminder-alias
...
nixos/zoneminder: Fix package and service build
2019-07-06 21:19:23 -04:00
Vladimír Čunát
0746c4dbb4
Merge branch 'master' into staging-next
...
There are several thousand rebuilds from master already.
Hydra nixpkgs: ?compare=1528940
2019-07-06 13:44:40 +02:00
Elis Hirwing
823120765c
Merge pull request #64113 from davidtwco/lidarr/users-groups-firewalls
...
nixos/lidarr: add user/group/openFirewall opts.
2019-07-05 12:20:49 +02:00
Frederik Rietdijk
25a77b7210
Merge staging-next into staging
2019-07-03 08:59:42 +02:00
Peter Hoeg
897834f015
nixos/nix-optimise: be smarter about when we run the store optimiser
...
We might be inside a NixOS container on a non-NixOS host, so instead of not
running at all inside a container, check if the nix-daemon socket is writable as
it will tell us if the store is managed from here or outside.
Fixes #63578
2019-07-03 09:37:14 +08:00
David Wood
6ba90c2aae
nixos/lidarr: add user/group/openFirewall opts.
...
This commit adds new configuration options to the Lidarr module that
allows configuration of the user and group that Lidarr runs as; and to
open the firewall for the Lidarr port.
2019-07-01 16:17:18 +01:00
worldofpeace
3f4a353737
treewide: use dontUnpack
2019-07-01 04:23:51 -04:00
Aaron Andersen
26a5f32096
nixos/redmine: cosmetic cleanup
2019-06-30 07:24:23 -04:00
Aaron Andersen
e702468f6b
nixos/redmine: add database.createLocally option
2019-06-30 07:24:18 -04:00
Aaron Andersen
278d867a9b
Revert "Merge pull request #63156 from Izorkin/phpfpm-rootless"
...
This reverts commit b5478fd1a2
, reversing
changes made to dbb00bfcbf
.
2019-06-28 21:47:43 -04:00
Elis Hirwing
b5478fd1a2
Merge pull request #63156 from Izorkin/phpfpm-rootless
...
phpfpm: do not run anything as root
2019-06-27 19:13:53 +02:00
Elis Hirwing
dbb00bfcbf
Merge pull request #63726 from davidtwco/lidarr/specify-package
...
nixos/lidarr: allow specifying package
2019-06-27 19:06:51 +02:00
Janne Heß
8c3dd6f5e7
nixos/gitea: Generate a JWT secret for git LFS
2019-06-27 03:29:02 +02:00
Aaron Andersen
616e52e21b
Merge pull request #63622 from aanderse/zoneminder
...
nixos/zoneminder: fix some issues with database.createLocally option
2019-06-26 20:36:26 -04:00
Daniel Schaefer
19851ec1fc
nixos/zoneminder: Fix nginx config check
...
NixOS wouldn't build because the nginx config checker fails.
Location without a trailing slash "could allow an attacker to read file
stored outside the target folder.", source:
https://github.com/yandex/gixy/blob/master/docs/en/plugins/aliastraversal.md
Shouldn't change the behaviour according to
https://serverfault.com/questions/607615/using-trailing-slashes-in-nginx-configuration/607731#607731
2019-06-26 20:45:55 +02:00
Eelco Dolstra
8e620e1bc5
Merge pull request #63810 from NixOS/binaryCaches-default
...
nix.binaryCaches: always set https://cache.nixos.org
2019-06-26 18:51:17 +02:00
Domen Kožar
036728f3f4
nix.binaryCaches: always set https://cache.nixos.org
...
There are many support questions when people add a new binary cache
and they suddenly lose nixos substitutions.
Most of the users want to keep that, so we're doing a breaking change.
Previously to disable all binary caches one had to do:
nix.binaryCache = [];
Now the same is possible via:
nix.binaryCache = lib.mkForce;
2019-06-26 14:30:56 +02:00
Graham Christensen
38c28ef10c
Merge pull request #56265 from aanderse/permissions-start-only
...
replace deprecated usage of PermissionsStartOnly (part 2)
2019-06-25 18:04:22 -04:00
Aaron Andersen
74ff20fae7
nixos/zoneminder: fix some issues with database.createLocally option
2019-06-25 12:20:22 -04:00
David Wood
7e38a64709
nixos/lidarr: allow specifying package
...
This commit allows users of `services.lidarr` to specify the package
that is used with `services.lidarr.package`.
2019-06-24 09:53:38 +01:00
Aaron Andersen
93412bc35f
Merge pull request #63413 from etu/gitea-183-update
...
gitea: 1.8.2 -> 1.8.3
2019-06-19 05:46:48 -04:00
Elis Hirwing
3576ba7c19
nixos/gitea: Add missing tmpfiles rules
2019-06-19 07:45:51 +02:00
Jan Tojnar
a3f2131eb6
doc: Use prompt more often
2019-06-17 13:25:50 +02:00
Izorkin
5d3805487a
nixos/zoneminder: fix work with phpfpm-rootless mode
2019-06-16 12:33:51 +03:00
Frederik Rietdijk
395da1280e
Merge pull request #63100 from aanderse/phabricator-remove
...
drop unmaintained phabricator package, service, and httpd subservice
2019-06-15 13:08:48 +02:00
Aaron Andersen
e278ff48bc
nixos/phd: remove unmaintained service
2019-06-13 17:09:45 -04:00
Maximilian Bosch
401360e15b
Merge pull request #61923 from aanderse/gitea
...
nixos/gitea: make use of declarative features where applicable
2019-06-13 01:01:18 +02:00
Tobias Happ
003b42f332
nixos/dwm-status: add module
2019-06-12 00:15:10 +02:00
Aaron Andersen
7145cf224c
nixos/gitea: replace deprecated usage of PermissionsStartOnly
...
see #53852
2019-06-10 20:32:35 -04:00
Aaron Andersen
9d251d8b21
nixos/gitea: define a gitea group to avoid "nogroup" ownership
2019-06-10 20:32:35 -04:00
Aaron Andersen
615f8b8982
nixos/gitea: utilize mysql|postgresql.ensureDatabases & ensureUsers to provision databases
2019-06-10 20:32:28 -04:00
Peter Hoeg
527876038e
nixos/zoneminder: font files cannot be found
2019-06-06 14:15:01 +08:00
Gabriel Ebner
18f564b882
octoprint: 1.3.10 -> 1.3.11
2019-05-30 18:10:29 +02:00
Aaron Andersen
12dec59905
nixos/octoprint: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-05-26 07:20:57 -04:00
Aaron Andersen
b6bfb874ec
nixos/apache-kafka: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-05-26 07:20:56 -04:00
Aaron Andersen
74b34535fc
nixos/gollum: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-05-26 07:20:48 -04:00
Aaron Andersen
9fc6955abc
nixos/couchpotato: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-05-25 13:48:41 -04:00
Robin Gloster
6cf583cf2f
Merge pull request #60406 from JohnAZoidberg/remove-isnull
...
treewide: Remove usage of isNull
2019-05-18 09:36:24 +00:00
Vladimír Čunát
e8f4ad0169
Merge branch 'master' into staging-next
...
~5k rebuilds per platform.
Hydra nixpkgs: ?compare=1518759
2019-05-11 09:41:36 +02:00
worldofpeace
bb7e5566c7
Merge pull request #44086 from erikarvstedt/paperless
...
paperless: add package and service
2019-05-08 17:17:49 -04:00
Erik Arvstedt
80c3ddbad8
paperless service: init
2019-05-08 09:26:32 +02:00
Frederik Rietdijk
87a5d8fede
Merge staging-next into staging
2019-05-07 19:30:14 +02:00
David Izquierdo
b24a87fafe
jellyfin: remove assertion if emby enabled: no emby module exists
2019-05-07 11:04:57 +02:00
volth
f3535aeea3
nix.systemFeatures: minor fix
...
following up #59148
I forgot the default case of the architectures which do not have minor brothers whose code they can run ("westmere" or any of of AMD)
2019-05-05 22:14:24 +00:00
Michael Raskin
7770495cd7
Merge pull request #59148 from volth/gcc.arch.v3
...
compilation for particular x86_64 architecture
2019-05-05 19:12:12 +00:00
Robert Schütz
d280603bd1
nixos/home-assistant: account for introduction of manifest.json
...
The `availableComponents` now only contain a single attribute for
every integration.
2019-05-04 12:01:23 +02:00
Elis Hirwing
6698c37fe1
Merge pull request #60630 from etu/drop-emby
...
emby: Drop package and module and refer to jellyfin
2019-05-03 07:58:30 +02:00
Silvan Mosberger
b6a6162919
Merge pull request #55422 from nand0p/ethminer
...
ethminer: init at 0.18.0-rc.0
2019-05-02 01:29:09 +02:00
Fernando J Pando
3325773754
nixos/ethminer: init
...
- Tested on NixOS
2019-05-01 17:20:26 -04:00
Elis Hirwing
02cd2b00e7
emby: Drop package and module and refer to jellyfin
2019-05-01 17:47:32 +02:00
volth
5a2356cff1
nix.systemFeatures: minor refactor
2019-04-30 16:28:21 +00:00
volth
5ad79dc4bb
compilation for particular x86_64 architecture
2019-04-30 14:28:04 +00:00
Daniel Schaefer
786f02f7a4
treewide: Remove usage of isNull
...
isNull "is deprecated; just write e == null instead" says the Nix manual
2019-04-29 14:05:50 +02:00
Minijackson
eb8dac2fcd
nixos/jellyfin: init
2019-04-28 11:03:50 +02:00
Sarah Brofeldt
22348f951c
Merge pull request #60197 from etu/patch-gitea-generated-config
...
nixos/gitea: Don't include not needed database options depending on type
2019-04-27 19:16:33 +02:00
Florian Klink
033882e0b7
Merge pull request #60019 from aanderse/nzbget
...
nzbget: fix broken service, as well as some improvements
2019-04-27 18:26:50 +02:00
Peter Hoeg
eb6ce1c8a9
Merge pull request #60146 from peterhoeg/f/packagekit
...
nixos/packagekit: make it not error out + test
2019-04-26 14:19:46 +08:00
Aaron Andersen
5b76046db3
nixos/nzbget: fix broken service, add a nixos test, as well as some general improvements
2019-04-25 20:28:39 -04:00
Elis Hirwing
71450b1c1a
nixos/gitea: Don't include not needed database options depending on type
...
This was discovered in https://github.com/NixOS/nixpkgs/pull/60014
2019-04-25 08:30:14 +02:00
Peter Hoeg
1bc408ec3a
nixos/packagekit: make it not error out and use upstream systemd unit
2019-04-24 22:31:36 +08:00
Andrew Dunham
9f7f367bf5
plex: rewrite to use FHS userenv
2019-04-23 20:19:33 -07:00
Léo Gaspard
451961ead2
Merge pull request #59880 from florianjacob/matrix-synapse-identity-servers
...
nixos/matrix-synapse: correct trusted_third_party_id_servers default
2019-04-21 02:41:21 +02:00
Aaron Andersen
4a11ce7f26
cleanup redundant text in modules utilizing mkEnableOption
...
Closes #59911
2019-04-20 14:44:02 +02:00
Florian Jacob
34aa25b8dc
nixos/matrix-synapse: correct trusted_third_party_id_servers default
...
the servers are equivalent and synchronized, but Riot defaults to use vector.im
Source: https://github.com/matrix-org/synapse/blob/v0.99.3/docs/sample_config.yaml#L701
2019-04-19 11:54:06 +02:00
Aaron Andersen
55ddb04a8a
nixos/zookeeper: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-04-13 07:01:01 -04:00
Aaron Andersen
053c9a7992
nixos/sonarr: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-04-13 07:01:01 -04:00
Aaron Andersen
484e896d7a
nixos/radarr: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-04-13 07:01:00 -04:00
Aaron Andersen
cd46038ae5
nixos/jackett: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-04-13 07:00:59 -04:00
Aaron Andersen
6ac630bad3
nixos/etcd: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-04-13 07:00:59 -04:00
Aaron Andersen
89081eef5d
nixos/mesos: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-04-13 07:00:56 -04:00
Aaron Andersen
8fe1c5b30f
nixos/lidarr: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-04-13 07:00:55 -04:00
Florian Klink
2457510db4
Merge pull request #51918 from bobvanderlinden/var-run
...
tree-wide: nixos: /var/run -> /run
2019-04-07 20:09:46 +02:00
Florian Klink
aa2878cfcf
Merge pull request #58284 from bgamari/gitlab-rails
...
nixos/gitlab: Package gitlab-rails
2019-03-28 21:12:15 +01:00
Ben Gamari
af909b3238
nixos/gitlab: Package gitlab-rails
...
This utility (particularly `gitlab-rails console`) is packaged by GitLab
Omnibus and is used for diagnostics and maintenance operations.
2019-03-28 11:45:31 -04:00
Ben Gamari
b90f5f03c2
nixos/gitaly: Run gitaly with procps in scope
...
Gitaly uses `ps` to track the RSS of `gitlab-ruby` and kills it when it
detects excessive memory leakage. See
https://gitlab.com/gitlab-org/gitaly/issues/1562 .
2019-03-28 10:48:51 -04:00
Daiderd Jordan
018d329dbc
Merge pull request #57928 from averelld/plex-update
...
plex: 1.14.1.5488 -> 1.15.1.791
2019-03-26 20:22:34 +01:00
Ben Gamari
f2bdc91b35
nixos/gitlab: Allow configuration of extra initializers
...
This adds a configuration option allowing the addition of additional
initializers in config/extra-gitlab.rb.
2019-03-25 15:18:35 -04:00
Ben Gamari
2036550a46
nixos/docker-registry: Allow use of non-filesystem storage
...
Previously this module precluded use of storage backends other than
`filesystem`. It is now possible to configure another storage backend
manually by setting `services.dockerRegistry.storagePath` to `null` and
configuring the other backend via `extraConfig`.
2019-03-23 10:32:56 +00:00
Averell Dalton
028a4b6a53
plex: 1.14.1.5488 -> 1.15.2.793
2019-03-22 20:33:22 +01:00
Bob van der Linden
78acc82432
nixos/svnserve: /var/run -> /run
2019-03-20 00:02:45 +01:00
Bob van der Linden
3f17dcbbfd
nixos/spice-vdagentd: /var/run -> /run
2019-03-20 00:02:45 +01:00
Bob van der Linden
231d815721
nixos/mbpfan: /var/run -> /run
2019-03-20 00:02:45 +01:00
Bob van der Linden
e1376ddd3d
nixos/matrix-synapse: /var/run -> /run
2019-03-20 00:02:45 +01:00
Johan Thomsen
292c1ce7ff
nixos/gitlab: added gzip and bzip2 as dependencies for gitaly
2019-03-12 15:04:45 +00:00
scaroo
56aa491ad7
zonminder: Fix database name and username
...
PR #56889 messed up db and use naming while fixing the scope of the initialDatabases property.
This patch fixes the issue.
2019-03-09 17:21:29 +01:00
Alexandre Mazari
d7f6cdeda4
Fix locally created database ( #56889 )
...
* zoneminder: fix initial database creation
Move initialDatabases directive from the 'ensureUsers' scope to the correct outer 'mysql' one.
* zoneminder: Fix mysql username to match unix username
When database.createLocally is used, a mysql user is created with the ensureUsers directive.
It ensures that the unix user with the name provided exists and can connect to MySQL through socket.
Thus, the MySQL username used by php/perl scripts must match the unix user owning the server PID.
This patch sets the default mysql user to 'zoneminder' instead of 'zmuser'.
2019-03-09 17:57:39 +02:00
aanderse
d800bd923f
nixos/redmine: replace imagemagickBig with imagemagick ( #57078 )
2019-03-08 23:47:11 +01:00
Silvan Mosberger
a540993d62
Merge pull request #56171 from bachp/tautulli
...
tautulli/plexpy: 1.4.25 -> 2.1.26 (renamed)
2019-03-08 16:52:40 +01:00
Silvan Mosberger
0036842e8d
Merge pull request #57006 from kyren/bepasty-fix
...
nixos/bepasty: switch to python3Packages to match bepasty package
2019-03-08 01:54:48 +01:00
Silvan Mosberger
4a9a596fbf
Merge pull request #56625 from aanderse/phpfpm
...
set phpOptions per phpfpm pool, instead of applying to every phpfpm pool
2019-03-08 01:53:18 +01:00
kyren
4bf1d8c67d
nixos/bepasty: switch to python3Packages to match bepasty package
...
I think the bepasty nixos service has been broken since c539c02
, since
bepasty changed from using python2.7 to python3.7. This updates the
nixos module to refer to the matching python version.
2019-03-06 22:18:59 -05:00
Silvan Mosberger
8f33ad7ca9
Merge pull request #56243 from aanderse/redmine
...
nixos/redmine: fix permissions & cleanup
2019-03-04 22:06:33 +01:00
Aaron Andersen
cddb117b96
nixos/icingaweb2, nixos/restya-board, nixos/zoneminder: set phpOptions per phpfpm pool, instead of applying to every phpfpm pool
2019-03-03 07:33:25 -05:00
Aaron Andersen
43258201b9
nixos/redmine: fix permissions & cleanup
2019-03-02 23:16:19 -05:00
Robert Schütz
77482629b0
nixos/home-assistant: use preferLocalBuild = true
for configuration
2019-03-02 12:37:48 +01:00
Robert Schütz
971187eada
nixos/home-assistant: account for "The Great Migration"
...
See https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html
and https://github.com/NixOS/nixpkgs/issues/55958#issuecomment-466793526 .
2019-03-02 12:37:48 +01:00
Pascal Bach
8b3ffebcdc
tautulli/plexpy: 1.4.25 -> 2.1.26 (renamed)
...
PlexPy was renamed to Tautulli.
This renames the module as well as the application accordingly.
Aliases are kept for backwards compatibility.
# Conflicts:
# nixos/modules/services/misc/tautulli.nix
2019-02-28 19:07:00 +01:00
Aaron Andersen
51c897c37d
nixos/plexpy: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
2019-02-28 18:54:34 +01:00
pacien
cb15d762f4
Revert "nixos/matrix-synapse: use python to launch synapse"
...
This reverts commit eb753318b3
.
The homeserver script has been restored with commit
0c663e9032
.
2019-02-23 20:58:28 +01:00
Robert Schütz
63b7732ed6
Merge pull request #56202 from dotlambda/home-assistant-availableComponents
...
nixos/home-assistant: use availableComponents of configured package
2019-02-23 13:38:03 +01:00
Silvan Mosberger
c0318efe9a
Merge pull request #50504 from symphorien/local-closureInfo
...
nixos: add preferLocalBuild=true; on derivations for config files and closureInfo
2019-02-22 20:53:17 +01:00
Symphorien Gibol
a915b33315
nixos: add preferLocalBuild=true; on derivations for config files
2019-02-22 20:11:27 +01:00
Robert Schütz
e211f55d87
nixos/home-assistant: use availableComponents of configured package
...
fixes #55958
2019-02-22 17:33:18 +01:00
aanderse
e5405f9ae8
nixos/beanstalkd: new service for existing package ( #55953 )
2019-02-22 14:10:02 +01:00
Elis Hirwing
f342be2c06
Merge pull request #56062 from elseym/jackett-module
...
jackett module: add more options and refactor
2019-02-20 09:14:36 +01:00
Elis Hirwing
66404f0742
Merge pull request #56061 from elseym/radarr-module
...
radarr module: add more options and refactor
2019-02-20 09:14:23 +01:00
Florian Klink
11699d03bc
Merge pull request #56072 from bgamari/gitlab-database-config
...
nixos/gitlab: Introduce database pool size option
2019-02-20 01:56:28 +01:00
Ben Gamari
bd5ba09b79
nixos/gitlab: Introduce database pool size option
...
As well as a extraDatabaseConfig option.
2019-02-19 17:49:15 -05:00
elseym
a73817ed82
jackett module: add more options and refactor
2019-02-19 20:45:00 +01:00
elseym
7b58ca7797
radarr module: add more options and refactor
2019-02-19 20:25:58 +01:00
rembo10
8e151c1e86
Merge branch 'master' into headphones
2019-02-18 09:14:14 +08:00
Peter Hoeg
507855e56c
Merge pull request #55667 from amazari/master
...
zoneminder: fix build issue when using createLocally database
2019-02-15 22:00:31 +08:00
Michael Raskin
f539a6a70e
Merge pull request #55138 from oxij/tree/random-fixes
...
random cleanups and a tiny fix
2019-02-13 20:16:07 +00:00
Alex Whitt
58d6951971
nzbget: Fix script for copying default config file template ( #51235 )
...
* nzbget: Fix configFile / dataDir checking in service script
* nzbget: improve the description for the `configFile` option
* nzbget: Add detail to the `configFile` option description
* nzbget: Improve wording of `configFile` option
* nzbget: Refactor dataDir management into systemd config
* nzbget: Remove debug
2019-02-13 17:38:32 +01:00
Alexandre Mazari
b93ea9c26f
zoneminder: fix build issue when using createLocally database
2019-02-12 22:32:11 +01:00
Franz Pletz
adb837eea7
Merge pull request #55024 from telotortium/airsonic-virtualHost
...
airsonic: Add virtualHost option to set up nginx virtual host
2019-02-12 02:09:25 +00:00
Michael Francis
34cf79c6d2
Push plex logs to syslog/journald
2019-02-11 10:47:21 +08:00
Robert Schütz
efe98cbdc8
nixos/home-assistant: make config.http.server_port an integer
2019-02-09 15:26:55 +01:00
Paul Tötterman
23a84e939e
nixos/docker-registry: fix listenAddress
...
listenAddress config option was previously unused in config generation
2019-02-08 14:39:22 +02:00
Léo Gaspard
a59a9a7e60
Merge branch 'pr-55320'
...
* pr-55320:
nixos/release-notes: mention breaking changes with matrix-synapse update
nixos/matrix-synapse: reload service with SIGHUP
nixos/tests/matrix-synapse: generate ca and certificates
nixos/matrix-synapse: use python to launch synapse
pythonPackages.pymacaroons-pynacl: remove unmaintained fork
matrix-synapse: 0.34.1.1 -> 0.99.0
pythonPackages.pymacaroons: init at 0.13.0
2019-02-07 17:12:04 +01:00
Graham Christensen
11a819c724
Manual: make reproducible
2019-02-06 22:35:58 -05:00
nyanloutre
524e26c69a
nixos/matrix-synapse: reload service with SIGHUP
...
This is used to load new certificates without restarting the service
2019-02-06 16:28:18 +01:00
nyanloutre
eb753318b3
nixos/matrix-synapse: use python to launch synapse
...
launch synapse with the python executable because the startup script is
no longer available
2019-02-06 16:21:07 +01:00
Peter Hoeg
7003a28916
Merge pull request #54541 from dotlambda/home-assistant-0.86
...
home-assistant: 0.85.1 -> 0.86.4
2019-02-06 09:02:28 +08:00
aanderse
b8a9c3fbfd
redmine: 3.4.8 -> 4.0.1 ( #55234 )
...
* redmine: 3.4.8 -> 4.0.1
* nixos/redmine: update nixos test to run against both redmine 3.x and 4.x series
* nixos/redmine: default new installs from 19.03 onward to redmine 4.x series, while keeping existing installs on redmine 3.x series
* nixos/redmine: add comment about default redmine package to 19.03 release notes
* redmine: add aandersea as a maintainer
2019-02-05 11:51:33 +00:00
Robert Irelan
027d4188b2
airsonic: Add virtualHost option to set up nginx virtual host
...
Modeled after nixos/modules/services/web-apps/tt-rss.nix. The setup is
slightly non-intuitive, so I think it's worth adding upstream.
2019-02-05 00:15:54 -08:00
Michael Raskin
7ff8a16f07
Merge pull request #55050 from aanderse/redmine-extra-env
...
nixos/redmine: add an extraEnv option, enable automatic log rotation
2019-02-04 16:28:58 +00:00
Jan Malakhovski
cefbe69105
nixos: rippled: fix type
...
The old state is clearly a bug.
2019-02-03 20:10:13 +00:00
Jan Malakhovski
08cabdf4a9
nixos: rippled: fix indent
2019-02-03 20:10:11 +00:00
Robert Schütz
f85453f060
nixos/home-assistant: add configWritable option
2019-02-03 13:08:11 +01:00
Franz Pletz
65b26c6555
Merge pull request #54959 from jslight90/gitlab-depenencies
...
gitlab: add openssh dependency to gitaly
2019-02-03 08:48:16 +00:00
Aaron Andersen
52bd7c5f2a
nixos/redmine: add an extraEnv option (which could be used to turn on debug logging, etc...), enable automatic log rotation
2019-02-01 09:17:05 -05:00
Jeff Slight
059e5e0ba0
gitlab: add openssh dependency to gitaly
2019-01-30 11:29:32 -08:00
Aaron Andersen
d13d35104d
Merge remote-tracking branch 'upstream/master' into redmine
2019-01-29 09:24:33 -05:00
Robert Schütz
f908f6c982
nixos/home-assistant: don't run json2yaml at every start
2019-01-29 08:56:51 +01:00
Robert Schütz
7cc7c5374c
nixos/home-assistant: add lovelaceConfig option
2019-01-29 08:56:51 +01:00
Pascal Bach
8347722775
nixos/plex: allow access to hardware acceleration libraries
...
CUDA and OpenCL libraries are located in /run/opengldriver/lib and Plex
can make use of them if available.
2019-01-23 23:07:40 +01:00
Peter Hoeg
9f5b5fee9c
Merge pull request #48101 from peterhoeg/f/pykms_master
...
nixos pykms: run via DynamicUser
2019-01-18 15:52:12 +08:00
Peter Hoeg
eaa665e243
Merge pull request #53495 from peterhoeg/p/zm
...
zoneminder: init at 1.32.3 and add NixOS module
2019-01-18 15:49:28 +08:00
Vladyslav M
95a0e24381
Merge pull request #53952 from Ma27/improve-gitea-module
...
nixos/gitea: minor fixes
2019-01-15 23:55:16 +02:00
Peter Hoeg
982354284d
zoneminder (nixos): add basic module
2019-01-15 21:27:45 +08:00
Franz Pletz
d947944d70
Merge pull request #53962 from elseym/sonarr
...
sonarr service: add more options to module
2019-01-14 19:33:58 +00:00
elseym
44e1aabd02
nzbget service: fix preStart script and add more options to module
2019-01-14 20:30:44 +01:00
elseym
31ad79f432
sonarr service: add more options to module
2019-01-14 20:30:10 +01:00
Maximilian Bosch
f90bd42c89
nixos/gitea: add git
to the service path
...
Otherwise commands like `git push` will fail if the machine doesn't have
git installed.
2019-01-14 16:04:02 +01:00
Maximilian Bosch
ad3a50e25b
nixos/gitea: add option to disable registration
...
Although this can be added to `extraOptions` I figured that it makes
sense to add an option to explicitly promote this feature in our
documentation since most of the self-hosted gitea instances won't be
intended for common use I guess.
Also added a notice that this should be added after the initial deploy
as you have to register yourself using that feature unless the install
wizard is used.
2019-01-14 16:04:02 +01:00
Arian van Putten
de76c16f9c
nixos/nscd: Merge nscd and sssd-nscd config
2018-12-12 15:35:40 +01:00
Silvan Mosberger
4afae70e2b
Merge pull request #48423 from charles-dyfis-net/bees
...
bees: init at 0.6.1; nixos/modules: services.bees init
2018-12-02 18:38:47 +01:00
Charles Duffy
86db2f394c
nixos/modules: services.bees init
2018-11-29 20:27:45 -06:00
Florian Klink
3caeeabb14
gitlab: stop regenerating the authorized_keys file
2018-11-28 23:09:23 +01:00
Jörg Thalheim
ced57f7888
nixos/nix-daemon: default to build with all cores available
...
These days build systems are more robust w.r.t. to concurrency.
Most users will have at least two cores in their machines.
Therefore I suggest to increase the number of cores used for building.
fixes #50376
2018-11-16 02:05:30 +00:00
Robin Gloster
74df0823f3
gitlab: fix smtp setting
...
fixes #50163
2018-11-14 18:58:45 +01:00
Daniel Peebles
9b7c57cdc8
Merge pull request #50348 from DzmitrySudnik/exhibitor-service-fix
...
exhibitor: fix paths for zookeeper shell scripts
2018-11-14 09:32:14 -05:00
Dzmitry Sudnik
5517661935
exhibitor: fix paths for zookeeper shell scripts to point to local folders
2018-11-14 09:30:01 -05:00
volth
5ea22a5b00
nixos/nix: ignore nix.checkConfig when cross-compiling ( #48225 )
...
* nixos/nix: ignore nix.checkConfig when cross-compiling
the check always fails because of architecture mismatch
* typos
2018-11-09 19:18:06 -06:00
Renaud
6399b103d8
Merge pull request #49814 from aanderse/gitea
...
nixos/gitea: fix mysql issue, add mysql socket auth, and add a nixos test
2018-11-08 23:45:46 +01:00
Aaron Andersen
3ed52c7804
nixos/gitea: add mysql socket authentication as an option
2018-11-08 17:30:58 -05:00
Aaron Andersen
0bbb6f4f2a
nixos/gitea: fix systemd after target when mysql is the database of choice
2018-11-08 17:30:36 -05:00
Peter Simons
a7afcff928
nixos: packagekit can no longer use "nix" default back-end
...
The code in question does not support Nix 2.0 yet.
Closes https://github.com/NixOS/nixpkgs/issues/49793 .
2018-11-06 12:13:14 +01:00
Robin Gloster
eadb998581
gitlab module: fix config handling
2018-11-04 00:26:01 +01:00
Robin Gloster
ec7cb84bf0
gitlab: refactor and fix test
2018-11-02 22:40:21 +01:00
Peter Hoeg
db1a40a882
home-assistant: use SIGINT instead of SIGTERM to shut down ( #49571 )
...
hass will ignore the standard SIGTERM sent by systemd during stop/restart and we
then have to wait for the timeout after which systemd will forcefully kill the
process.
If instead if we send SIGINT, hass will shut down nicely.
There are many issues reported upstream about the inability to shut down/restart
and it is *supposed* to work with SIGTERM but doesn't.
2018-11-01 16:39:37 +01:00
Maximilian Bosch
13e4110650
Merge pull request #48131 from Ma27/weechat-multiuser-support
...
nixos/weechat: add setuid wrapper for `screen' to ensure true multiuser capabilities
2018-10-17 23:39:30 +02:00
Aaron Andersen
4ed7d822be
redmine: add missing 'migrate' command prior to starting the application
...
required for plugins with a database component
see: http://www.redmine.org/projects/redmine/wiki/Plugins
2018-10-16 15:08:24 -04:00
Peter Hoeg
1c30532b6d
nixos pykms: run via DynamicUser
2018-10-16 10:38:45 +08:00
Jeff Slight
7bafe25553
add custom hooks directory to gitlab-shell
...
Add custom_hooks_dir to gitlab-shell yml config file.
2018-10-12 09:33:37 -07:00
Silvan Mosberger
c81ca5491f
Merge pull request #46041 from nh2/issue-46038-nix-daemon-ssh-path
...
nix-daemon service: Ensure `ssh` is on PATH. Fixes #46038 .
2018-10-11 21:51:37 +02:00
Aaron Andersen
975f476cd2
quoting stateDir path in case it includes spaces
2018-10-11 08:04:47 -04:00
Aaron Andersen
1cb5b509f1
redmine: refactor, cleanup, bug fix, and add functionality
...
- added package option to specify which version of redmine
- added themes option back in to allow specifying redmine themes
- added plugins option back in to allow specifying redmine plugins
- added database.socket option to allow mysql unix socket authentication
- added port option to allow specifying the port rails runs on
- cleaned up Gemfile so it is much less hacky
- switched to ruby version 2.4 by default as suggested by documentation http://www.redmine.org/projects/redmine/wiki/redmineinstall#Installing-Redmine
- fixed an annoyance (bug) in the service causing recursive symlinks
- fixed ownership bug on log files generated by redmine
- updates reflecting renames in nixos options
- added a nixos test
2018-10-10 21:04:08 -04:00
Peter Hoeg
98649aea0f
Merge pull request #48098 from peterhoeg/f/opti
...
nix-optimise: do not run in container
2018-10-10 20:57:10 +08:00
Maximilian Bosch
018573b757
nixos/weechat: add setuid wrapper for `screen' to ensure true multiuser capabilities
...
Previously you either had to set the setuid bit yourself or workaround
`isSystemUser = true` (for a loginable shell) to access the weechat
screen.
`programs.screen` shouldn't do this by default to avoid taking too much
assumptions about the setup, however `services.weechat` explicitly
requires tihs.
See #45728
2018-10-10 11:11:34 +02:00
Victor SENE
7d43e2a861
nixos/emby : use the dataDir option
2018-10-08 14:49:09 +02:00
nyanloutre
bb06b5b442
nixos/emby: fixes binary name change introduced by #47659
2018-10-05 09:25:39 +02:00
Graham Christensen
8413f22bb3
docs: format
2018-09-29 20:51:11 -04:00
Will Dietz
243e28bc96
nix-daemon: only add channels dir to NIX_PATH if exists
...
Per reviewer comment (thanks!).
2018-09-29 20:29:33 -04:00
Will Dietz
f3a114e088
NIX_PATH: don't prepend $HOME-based value in session variable, set later
...
environment.sessionVariables cannot refer to the values of env vars,
and as a result this has caused problems in a variety of scenarios.
One use for these is that they're injected into /etc/profile,
elewhere these are used to populate an 'envfile' for pam
(`pam 5 pam_env.conf`) which mentions use of HOME being
potentially problematic.
Anyway if the goal is to make things easier for users,
simply do the NIX_PATH modification as extraInit.
This fixes the annoying problems generated by the current approach
(#40165 and others) while hopefully serving the original goal.
One way to check if things are borked is to try:
$ sudo env | grep NIX_PATH
Which (before this change) prints NIX_PATH variable with
an unexpanded $HOME in the value.
-------
This does mean the following won't contain user channels for 'will':
$ sudo -u will nix-instantiate --eval -E builtins.nixPath
However AFAICT currently they won't be present either,
due to unescaped $HOME. Unsure if similar situation for other users
of sessionVariables (not sudo) work with current situation
(if they exist they will regress after this change AFAIK).
2018-09-29 20:29:33 -04:00
Elis Hirwing
aba95986d2
lidarr: init at 0.3.1.471
...
Fork of sonarr (as radarr) but for music instead of series and movies.
2018-09-29 21:40:29 +02:00
Matthew Bauer
21c26ca390
Merge pull request #46607 from rembo10/sickbeard
...
Sickbeard/Sickgear/Sickrage: Init and module
2018-09-29 13:58:43 -05:00
aszlig
c5bb43188d
nixos: Fix eval error for documentation.nixos
...
Introduced by 0f3b89bbed
.
If services.nixosManual.showManual is enabled and
documentation.nixos.enable is not, there is no
config.system.build.manual available, so evaluation fails. For example
this is the case for the installer tests.
There is however an assertion which should catch exactly this, but it
isn't thrown because the usage of config.system.build.manual is
evaluated earlier than the assertions.
So I split the assertion off into a separate mkIf to make sure it is
shown appropriately and also fixed the installation-device profile to
enable documentation.nixos.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @oxij
2018-09-25 23:39:44 +02:00
Michael Raskin
61abf3bbd9
Merge pull request #47298 from oxij/nixos/doc-in-installer
...
nixos: fix fallout from #46193
2018-09-25 09:00:43 +00:00
WilliButz
78ad8d4a62
nixos/gitlab: rebuild authorized_keys during preStart
...
This updates the path to the 'gitlab-shell' to the
correct store path when gitlab is restarted.
2018-09-25 03:53:32 +02:00
Robin Gloster
dc915565ba
gitlab module: workhorse may start before gitlab
2018-09-25 03:53:32 +02:00
Kristoffer Thømt Ravneberg
f17f59ca8e
nixos/gitlab: avoid creating recursive symlinks, add gitlab-rake deps
2018-09-25 03:53:32 +02:00
Jan Malakhovski
3c0cced272
nixos: doc: nixos-manual: fix assert
2018-09-24 21:07:55 +00:00
Eelco Dolstra
9c53116d49
Revert "nixos: set nixos in nixPath"
...
This reverts commit 67c8c49177
.
'nix run nixos.firefox' is *not* supposed to work - the Nix 2.x
interface attempts to standardize on nixpkgs.*, to get rid of the
nixos/nixpkgs confusion that existed with the channels interface. So
let's not bring that confusion back.
2018-09-24 10:42:01 +02:00
Samuel Dionne-Riel
ebf041d4bd
Merge pull request #46193 from oxij/nixos/manual-to-doc
...
nixos: doc: implement #12542
2018-09-24 00:09:23 -04:00
Matthew Bauer
cc72143f7d
Merge pull request #47206 from matthewbauer/add-nixos-to-nixpath
...
nixos: set nixos in nixPath
2018-09-23 18:47:44 -05:00
Jan Malakhovski
0f3b89bbed
nixos: doc: move non-service parts of service.nixosManual
to documentation.nixos
2018-09-23 20:50:47 +00:00
Jan Malakhovski
fe744d3fb1
nixos: doc: rename manual
to manualHTML
, cleanup references
...
Because when I see "config.system.build.manual.manual" after I forgot
what it means I ask "Why do I need that second `.manual` there again?".
Doesn't happen with `config.system.build.manual.manualHTML`.
2018-09-23 20:47:58 +00:00
Matthew Bauer
67c8c49177
nixos: set nixos in nixPath
...
This makes using the nixos channel work out of the box with the new
Nix commands. For example:
$ nix run nixos.firefox -c firefox
Fixes #46536
2018-09-23 00:14:27 -05:00
worldofpeace
a16c6d85a1
nixos/emby: ensure plugins are writeable
2018-09-20 06:35:51 -04:00
rembo10
f1c9d5cf23
Add sickbeard module (with SickGear & SickRage)
2018-09-16 21:54:16 +02:00
rembo10
8d1ad4317c
headphones: init at 0.5.19
2018-09-16 21:48:18 +02:00
Michael Alan Dorman
c76312aea5
airsonic: provide additional jvm configuration
...
This allows the user, among other things, to configure jukebox output
to go to non-default alsa devices.
2018-09-13 20:05:02 -04:00
Maximilian Bosch
18d419141d
nixos/weechat: cleanup module, add module documentation
...
This adds several improvements the previously introduced
`services.weechat` module:
* Dropped `services.weechat.init` as the initialization script can now
be done on package-level since 2af41719bc using the `configure`
function.
* Added `sessionName` option to explicitly configure a name for the
`screen` session (by default: weechat-screen).
* Added `binary` option to configure the binary name (e.g.
`weechat-headless`).
* Added docs regarding `screen` session and `weechat.service`.
2018-09-07 13:45:13 +02:00
Yegor Timoshenko
b54987715b
weechat: add NixOS module
2018-09-07 13:09:08 +02:00
Niklas Hambüchen
31919bce6b
nix-daemon service: Ensure ssh
is on PATH. Fixes #46038 .
...
This fixes a regression introduced in commit
700e21d6da
nix needs ssh on path for the SSH substituter functionality,
not only the distributed builds functionality.
Signed-off-by: Niklas Hambüchen <mail@nh2.me>
2018-09-04 16:19:35 +02:00
Graham Christensen
146f8bac7e
Merge pull request #45911 from samueldr/fix/nixos-help-browser
...
nixos/manual: nixos-help knows about colon-separated BROWSER
2018-09-02 14:30:22 -04:00
Graham Christensen
34d2ec7c09
nixos docs: give IDs to things
2018-09-01 16:20:49 -04:00
Samuel Dionne-Riel
4ff5f304b9
nixos/manual: nixos-help knows about colon-separated BROWSER
...
This is the semantics as understood by `xdg-open`. Using these semantics
on a non-colon-separated variable works because it acts as if it was a
one element long list.
This fixes an issue where it would try to exec
`google-chrome-beta:google-chrome:chromium:firefox` on a system
configured with these semantics in mind.
2018-09-01 13:48:49 -04:00
Tobias Happ
8f0bafcaff
nixos/gitea: fix pre start script ( #44979 )
...
The gitea path is hardcoded in hooks directory in files of paths like:
repositories/<user>/<repo>.git/hooks/update.d/gitea
2018-08-31 16:39:58 +02:00
John Ericson
2c2f1e37d4
reewide: Purge all uses stdenv.system
and top-level system
...
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Elis Hirwing
a098cc98d9
nixos/gitea: Symlink gitea locales to match running gitea version
...
This prevents issues when gitea adds new locales etc. And if they
change locale values in future versions. Or if you rollback to a
previous version of gitea it might be a good idea to use the previous
locale files.
2018-08-25 09:19:53 +02:00
Michael Raskin
980cbff93c
Merge pull request #45353 from aanderse/redmine
...
redmine: 2.5.2 -> 3.4.6
2018-08-21 14:04:02 +00:00
Aaron Andersen
c93c0f3ae4
removed some local development stuff
2018-08-19 16:41:49 -04:00
Aaron Andersen
bb7568daf7
reworked the redmine service
...
added some security features like database.passwordFile
2018-08-19 16:29:44 -04:00
Aaron Andersen
5984ed283f
started working on bringing the redmine package back to life using gitlab as an example
2018-08-19 08:09:38 -04:00
Silvan Mosberger
eacaaa2161
Merge pull request #44880 from srghma/build-max-jobs-auto
...
nixos/nix-daemon: build-max-jobs, add support to auto
2018-08-18 16:46:08 +02:00
srghma
37e2ebdfbc
nixos/nix-daemon: build-max-jobs, add support to auto
2018-08-18 14:45:12 +03:00
Silvan Mosberger
d3c5a9bf17
Merge pull request #40747 from WhittlesJr/synergy-fix
...
services.synergy: Use graphical target (fixes #9468 )
2018-08-16 16:55:38 +02:00
Alex Whitt
9a63f51454
nixos/synergy: Use graphical target ( fixes #9468 )
2018-08-16 08:53:45 -04:00
Robin Gloster
cb9d784e49
docker-registry: Revert "[bot]: remove unreferenced code"
...
This code was referenced.
This reverts commit 87f5930c3f
.
cc @volth
2018-08-06 16:31:33 +02:00
Sander van der Burg
9748d7c60b
nixos/disnix: undo dysnomia rename to fix disnix and retain compatibility with previous release
2018-08-06 01:25:38 +02:00
Daiderd Jordan
e2a32b747f
Revert "nixos/disnix: fix broken service because of rename"
...
Broke evaluation of the nixos options.
The option `services.dysnomia' defined in `.../nixos/modules/rename.nix' does not exist.
This reverts commit 5c897b4eff
.
2018-08-04 00:26:34 +02:00
Sander van der Burg
5c897b4eff
nixos/disnix: fix broken service because of rename
2018-08-03 22:01:56 +02:00
Andreas Rammhold
17ee0a8662
Merge pull request #44190 from andir/nixos/default-enable-sandboxing
...
nixos/nix-daemon: default `nix.useSandbox` to `true`.
2018-08-01 19:10:45 +02:00
Teo Klestrup Röijezon
6c54cfb280
nixos/gitlab: don't install pg_trgm for remote hosts
...
Fixes #41476
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon
e0983f3eec
nixos/gitlab: create uploads folder
...
It seems like Gitlab doesn't pick up GITLAB_UPLOADS_PATH. The internal uploads
folder is already symlinked to /run/gitlab/uploads by the gitlab package. Here
we symlink this further to ${statePath}/uploads, since /run is (usually) a tmpfs.
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon
3250b89987
nixos/gitlab: don't delete ${statePath}/lib if it doesn't exist
...
The old behaviour caused new instances to be unable to start
2018-07-30 19:41:12 +02:00
Andreas Rammhold
4f6df27aee
nixos/nix-daemon: default nix.useSandbox
to true
.
2018-07-29 16:47:10 +02:00
Tuomas Tynkkynen
96190535e5
Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1"
...
This reverts commit 095fe5b43d
.
Pointless renames considered harmful. All they do is force people to
spend extra work updating their configs for no benefit, and hindering
the ability to switch between unstable and stable versions of NixOS.
Like, what was the value of having the "nixos." there? I mean, by
definition anything in a NixOS module has something to do with NixOS...
2018-07-28 00:12:55 +03:00
Jörg Thalheim
e9ff0f9448
Merge pull request #43863 from volth/unused4
...
[bot] nixos/*: remove unused arguments in lambdas
2018-07-21 16:39:08 +01:00
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
volth
dda95bae35
[bot] treewide: remove unused 'args@' in lambdas
2018-07-20 19:54:05 +00:00
Frederik Rietdijk
1a6af9f88e
Merge pull request #43857 from volth/unused
...
[bot] treewide: remove unreferenced code
2018-07-20 21:06:32 +02:00
volth
87f5930c3f
[bot]: remove unreferenced code
2018-07-20 18:48:37 +00:00
Robert Schütz
55a12c9763
nixos/home-assistant: do not always override extraComponents ( #43845 )
...
Fixes #43843 .
2018-07-20 19:28:29 +02:00
William Casarin
6c1eb15a3b
nixos/modules: add clipmenu user service
...
add a clipmenud daemon user service
2018-07-15 12:22:46 -07:00
Silvan Mosberger
59b3ce2894
Merge pull request #42398 from Ma27/make-autorandr-target-configurable
...
nixos/autorandr: make default target in systemd service configurable
2018-07-05 15:10:22 +02:00
Maximilian Bosch
8325996621
nixos/autorandr: make default target in systemd service configurable
...
The `.service` file defining the `systemd` unit for `autorandr.service`
which is bundled with the package itself uses `--default default` in the
`ExecStart` section. This can be an issue when having multiple layouts
(e.g. `default` as workstation layout I mostly work on and `mobile` when
I go somewhere else).
When the service gets restarted and `--default` can't be applied,
however the current layout can't be detected (e.g. when working with an
unknown beamer) the service silently fails with a message like this:
```
Jun 22 18:44:46 hauptshuhle autorandr[3168]: /nix/store/h83b72ffm68nm8fyjnppljchp456a94r-xrandr-1.5.0/bin/xrandr: ca>
Jun 22 18:44:46 hauptshuhle autorandr[3168]: Failed to apply profile 'default' (line 718):
Jun 22 18:44:46 hauptshuhle autorandr[3168]: Command failed: /nix/store/h83b72ffm68nm8fyjnppljchp456a94r-xrandr-1.>
```
As discussed in the IRC (see https://botbot.me/freenode/nixos/2018-07-05/?msg=101791455&page=6 )
it's a bad long-term solution in terms of maintenance to manually patch
the service file bundled with the derivation, instead the service shall
be configured declaratively. Additionally this makes possible overrides
from the user-space way easier.
The `udev` rule (in `$out/etc/udev/rules.d`) won't' be affected, it
simply runs `systemctl start autorandr.service` when e.g. a new display
is added, so now `udev` communicates with the NixOS systemd unit.
2018-07-05 14:39:08 +02:00