aboutsummaryrefslogtreecommitdiff
path: root/modules/apps
AgeCommit message (Collapse)AuthorFilesLines
2021-02-16Fix a typoIgor Pashev1-1/+1
2019-06-06Allow a postgres package per pg_dump commandIgor Pashev1-8/+3
To improve modularity.
2019-06-04Rotate nginx logs as nginx userIgor Pashev1-0/+1
2019-06-04Let specify a package for pgbackupIgor Pashev1-2/+9
2019-06-04(* BREAKING *) Update wal_level enum for postgresIgor Pashev1-1/+1
Requires PostgreSQL 9.6+
2019-06-04(* BREAKING *) PGSQL: password_encryption is enumIgor Pashev1-1/+1
It is enum since Postgresql 10.
2019-06-04postgresql: automatically find keys (experimental)Igor Pashev1-3/+36
2019-05-27Clean imports (and spaces)Igor Pashev8-13/+9
2019-05-27Use mapfile in backup appsIgor Pashev3-6/+6
Fix shellcheck warning SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
2018-12-07Add the "package" option to the nginx appIgor Pashev3-5/+10
2018-09-15Support node configuration in JenkinsIgor Pashev2-0/+24
Similar to jobs.
2018-08-16Add new Jenkins option `master-access-control`Igor Pashev2-1/+15
True by default, i. e. enable slave to master access control See https://wiki.jenkins.io/display/JENKINS/Slave+To+Master+Access+Control
2018-06-10Stop overriding pkgs.mariadbIgor Pashev1-1/+1
Use specific default version for the current MariaDB application.
2018-05-05Add multi-instance Docker app with bash completionIgor Pashev2-0/+172
Example configuration: { config, ... }: let inherit (config.nixsap) apps; in { imports = [ <modules> ]; nixsap.apps.docker.foo = { }; users.users.pashev.extraGroups = [apps.docker.foo.daemon.group]; } Usage: (Sat, 05 May 2018 10:09:01 +0000) [pashev@vbox-devops:~] # docker-foo images REPOSITORY TAG IMAGE ID CREATED SIZE debian latest 8626492fecd3 7 days ago 101MB ubuntu latest 452a96d81c30 7 days ago 79.6MB
2018-04-19icinga2: fix a typoIgor Pashev1-1/+1
2018-04-19icingaweb2: 2.4.0 -> 2.5.1Igor Pashev1-3/+1
2018-04-17(* BREAKING *) icinga2: use explicit IDO optionsIgor Pashev1-50/+148
Add support for PostgreSQL. Breaking because new deployments will not have DB initialized.
2018-04-13Add PostgreSQL support to IcingaWeb2Igor Pashev1-55/+92
2018-04-13Stop running icinga2 as root (use fakeroot)Igor Pashev1-11/+10
2018-04-02icinga2: remove RunAsGroup/RunAsUserIgor Pashev1-2/+1
Gone in Icinga2 2.8.2 Icinga is started as non-root user anyway.
2018-01-07Add writeYAMLIgor Pashev1-1/+3
2017-12-06Remove tailing spaceIgor Pashev1-1/+1
2017-12-01Jenkins: configure java.util.loggingIgor Pashev2-0/+3
2017-11-26(*BREAKING*) Jenkins: set user home directoryIgor Pashev2-1/+7
BREAKING: user is now read-only
2017-11-26(*BREAKING*) Jenkins: introduce java propertiesIgor Pashev2-12/+24
Just like in Cassandra. First of all `hudson.model.DirectoryBrowserSupport.CSP` is needed. BREAKING: `jre` -> `jre.package`
2017-11-25Remove spaceIgor Pashev1-1/+1
2017-11-25Jenkins app: fix key extractionIgor Pashev1-1/+3
Make sure files are captured into Nix store so that Nix daemon can access them and run xinclude2nix (which is still silently ignoring unreachable files).
2017-09-19cli: use GCC explicitlyIgor Pashev1-4/+3
`runCommand` does not include C compiler, `runCommandCC` does, but we want GCC, so make sure we use it.
2017-07-24cli: security.setuidOwners -> security.wrappersIgor Pashev1-6/+4
Require nixpkgs >= 17.03
2017-07-09memcached: use simple mapAttrs'Igor Pashev1-4/+5
2017-06-12Apache Cassandra: initIgor Pashev2-0/+353
Add the `nixsap.apps.cassandra` application and Apache Cassandra 3.11 package along with Hyperic Sigar. The application runs in single node mode just fine. Clustering is not tested yet. This is PoC on Java applications. A Java application should comprise: 1. JRE 2. Class path 3. Library path A Java "package" should include all jar/classes/libraries needed to run the application. Using symbolic links to pull in dependencies is fine. This is much similar to nix "environments". Apache Cassandra is the first example of this approach. Using $out/share/java/ and $out/lib/jni is to help building such environments (also with nix-env).
2017-05-24Jenkins: allow spaces in job nameIgor Pashev1-2/+5
2017-05-17jenkins: get better looking pathIgor Pashev1-2/+2
2017-05-17memcached: remove superfluous `-start`Igor Pashev1-2/+2
2017-05-17gnupg: remove superfluous `-start`Igor Pashev1-2/+2
2017-05-08Jenkins: define SHELLIgor Pashev1-0/+1
For the Jenkins user it's usually `nologin`, so we have to override it.
2017-05-07sproxy2: fix `datafile` option processingIgor Pashev1-3/+3
`datafile` is usually a derivation (a set at the very basic nix level), so it wasn't processed as a string, but rather as a fallback case "toString v". Other option is to use `lib.isDerivation`.
2017-05-07sproxy2: enable by default if there are backendsIgor Pashev1-2/+8
2017-04-30mysqlbackup: fail if any server is unavailableIgor Pashev1-6/+12
2017-04-30(* BREAKING *) Avoid ambiguous optionsIgor Pashev8-42/+42
"either foo (listOf foo)" was not very useful and interfered proper merging.
2017-04-29Added nix-serve app and packageIgor Pashev1-0/+126
2017-03-28mariadb: add some more mysqld optionsIgor Pashev1-0/+4
2017-02-19gnupg app: set --max-cache-ttl to something bigIgor Pashev1-1/+3
From the gpg-agent man page: Set the maximum time a cache entry is valid to n seconds. After this time a cache entry will be expired even if it has been accessed recently or has been set using gpg-preset-passphrase. The default is 2 hours (7200 seconds).
2017-02-19gnupg app: typoIgor Pashev1-1/+1
2017-02-18Added gnupg appIgor Pashev2-0/+182
2017-02-17mariadb: fixed order roles are removed inIgor Pashev1-9/+9
The list of SQL statements is constructed and then executed. Thus if you delete role `foo` which was granted another role `bar`, role `bar` has to be revoked before `foo` is removed.
2017-02-07mariadb: support innodb_compression_defaultIgor Pashev1-0/+1
See https://jira.mariadb.org/browse/MDEV-9820 Since MariaDB Server 10.2.3
2017-02-01nginx: --kill-who=main in post log rotateIgor Pashev1-1/+2
2017-02-01php-fpm: use simple mapAttrs'Igor Pashev1-3/+4
Instead of folding, since we produce single member attribute set.
2017-02-01php-fpm: enable logrotateIgor Pashev1-5/+29