about summary refs log tree commit diff
path: root/nixos/modules
Commit message (Collapse)AuthorAge
* Merge pull request #54310 from Mic92/postgresq-backupSilvan Mosberger2019-01-23
|\ | | | | nixos/postgresqlBackup: add backupAll option
| * nixos/postgresqlBackup: add backupAll optionJörg Thalheim2019-01-19
| | | | | | | | | | | | | | | | | | | | | | | | For large setups it is useful to list all databases explicit (for example if temporary databases are also present) and store them in extra files. For smaller setups it is more convenient to just backup all databases at once, because it is easy to forget to update configuration when adding/renaming databases. pg_dumpall also has the advantage that it backups users/passwords. As a result the module becomes easier to use because it is sufficient in the default case to just set one option (services.postgresqlBackup.enable).
* | Merge pull request #52991 from danbst/zram-zstdDanylo Hlynskyi2019-01-23
|\ \ | | | | | | zramSwap: allow configure compression algorithm + cleanups
| * | zramSwap: remove basic.target for zram devicesdanbst2019-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | This creates a dependency cycle when used with boot.tmpOnTmpfs: basic.target <- tmp.mount <- swap.target <- zram-init-dev0 <- basic.target This same fix is done already for tmp.mount Fixes https://github.com/NixOS/nixpkgs/issues/47474
| * | zramSwap: allow configure compression algorithm + cleanupsdanbst2019-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add `zramSwap.algorithm` option, which allows to change compressor declaratively. zstd as default - add `zramSwap.swapDevices` option, which allows to define how many zram devices will be used as swap. Rest devices can be managed freely - simpler floating calculations - fix udev race condition - some documentation changes - replaced `/sys/block/zram*` handling with `zramctl`, because I had occasional "Device is busy" error (looks like zram has to be configured in predefined order) - added `memoryPercent` and `algorithm` as restart triggers. I think, it was a bug that changing `memoryPercent` in configuration wasn't applied immediately. - removed a bind to .swap device. While it looks natural (when swap device goes off, so should zram device), it wasn't implemented properly. This caused problems with swapon/swapoff: ``` $ cat /proc/swaps Filename Type Size Used Priority /dev/zram0 partition 8166024 0 -2 /var/swapfile file 5119996 5120 1 $ sudo swapoff -a $ sudo swapon -a swapon: /dev/zram0: read swap header failed $ cat /proc/swaps Filename Type Size Used Priority /var/swapfile file 5119996 0 1 ```
* | | Merge pull request #54113 from telotortium/xrdp-clipboard-fixJörg Thalheim2019-01-22
|\ \ \ | | | | | | | | xrdp: fix clipboard for non-ASCII characters
| * | | xrdp: fix clipboard for non-ASCII charactersRobert Irelan2019-01-22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this line, attempting to copy and paste non-ASCII characters will result in error messages like the following (and pasting from the server to the client will not work): ``` CLIPBOARD clipboard_send_data_response_for_text: 823 : ERROR: clipboard_send_data_response_for_text: bad string ```
* | | Merge pull request #54197 from dermetfan/fix/nixos-mysqlSilvan Mosberger2019-01-22
|\ \ \ | | | | | | | | nixos/mysql: fix option `ensureDatabases`
| * | | nixos/mysql: fix option `ensureDatabases`Robin Stumm2019-01-17
| | | | | | | | | | | | | | | | | | | | | | | | The database name needs to be quoted in case it contains special characters so the MySQL service does not fail to start.
* | | | Merge pull request #54339 from avdv/avoid-duplicate-luks-deviceSilvan Mosberger2019-01-22
|\ \ \ \ | | | | | | | | | | installer/tools: Avoid duplicate LUKS device entries in hw config
| * | | | installer/tools: Avoid duplicate LUKS device entries in hw configClaudio Bley2019-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are situations where several filesystems reside on a single encrypted LUKS device (e.g. when using BTRFS subvolumes). Simply generating a `boot.init.luks.devices.NAME.device` entry for each mounted filesystem will result in an error later when evaluating the nix expression in `hardware-configuration.nix`.
* | | | | Merge pull request #54051 from Ma27/optional-prometheus-source_labelsSilvan Mosberger2019-01-22
|\ \ \ \ \ | | | | | | | | | | | | nixos/prometheus: make `source_labels` optional
| * | | | | nixos/prometheus: make `source_labels` optionalMaximilian Bosch2019-01-16
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible to skip `source_labels` entirely, an example for this is the blackbox exporter configuration: https://github.com/prometheus/blackbox_exporter#prometheus-configuration
* | | | | Merge pull request #53965 from mayflower/zfs-autoscrub-fixJörg Thalheim2019-01-22
|\ \ \ \ \ | | | | | | | | | | | | nixos/zfs: autoscrub only after boot is complete
| * | | | | nixos/zfs: autoscrub only after boot is completeLinus Heckemann2019-01-14
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #53583
* | | | | | Merge pull request #54273 from flokli/ssh-known-hosts-exampleFlorian Klink2019-01-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | programs.ssh.knownHosts: update example to be an attrset
| * | | | | | programs.ssh.knownHosts: update example to be an attrsetFlorian Klink2019-01-18
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | We shouldn't encourage using a list here, but prefer the attrset. Using a list here causes very unintuitive effects during merging.
* | | | | | Merge pull request #53695 from chpatrick/gnome-flashback-sessionJan Tojnar2019-01-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/gnome3: add GNOME Flashback sessions option
| * | | | | | nixos/gnome3: add GNOME Flashback sessions optionPatrick Chilton2019-01-21
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #41440 from wmertens/php-per-poolWout Mertens2019-01-21
|\ \ \ \ \ \ | |/ / / / / |/| | | | | phpfpm: allow configuring PHP package per-pool
| * | | | | phpfpm: allow configuring PHP package per-poolWout Mertens2018-10-26
| | | | | | | | | | | | | | | | | | | | | | | | props to @4levels
* | | | | | Merge pull request #54330 from samueldr/fix/disable-tests-shell-accessSamuel Dionne-Riel2019-01-19
|\ \ \ \ \ \ | | | | | | | | | | | | | | Revert "Add ssh backdoor to VM tests infrastructure."
| * | | | | | Revert "Add ssh backdoor to VM tests infrastructure."Samuel Dionne-Riel2019-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d6e3db44cf09d04f0a3cd5b7ccb4a5dc3b7bfaa9. See #53935 for explanations. In short, it may be causing issues with tests on the build infrastructure.
* | | | | | | nixos/file-roller: initworldofpeace2019-01-18
| |_|/ / / / |/| | | | |
* | | | | | Merge pull request #48101 from peterhoeg/f/pykms_masterPeter Hoeg2019-01-18
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos pykms: run via DynamicUser
| * | | | | | nixos pykms: run via DynamicUserPeter Hoeg2018-10-16
| | | | | | |
* | | | | | | Merge pull request #53495 from peterhoeg/p/zmPeter Hoeg2019-01-18
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | zoneminder: init at 1.32.3 and add NixOS module
| * | | | | | zoneminder (nixos): add basic modulePeter Hoeg2019-01-15
| | | | | | |
| * | | | | | zoneminder: add user for NixOSPeter Hoeg2019-01-15
| | | | | | |
* | | | | | | Merge pull request #54124 from jtojnar/remove-packages-by-nameJan Tojnar2019-01-17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/desktops: deduplicate removePackagesByName
| * | | | | | | nixos/desktops: deduplicate removePackagesByNameJan Tojnar2019-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GNOME, MATE and LxQt all use removePackagesByName. Let’s move it to a single place, rename the attributes to meaningful name and add docs.
* | | | | | | | Merge pull request #42183 from kisik21/masterJörg Thalheim2019-01-17
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | nixos/stage-1, nixos/f2fs: added F2FS resizing
| * | | | | | | nixos/f2fs: fixed autoresize checkVictor Shlein2018-06-19
| | | | | | | |
| * | | | | | | nixos/stage-1, nixos/f2fs: moved f2fs resizing tools include in f2fs moduleVictor Shlein2018-06-19
| | | | | | | |
| * | | | | | | nixos/stage-1: new separate conditionals for ext4 and f2fs resizing toolsVictor Shlein2018-06-19
| | | | | | | |
| * | | | | | | nixos/stage-1: implemented separate check for f2fs filesystems in need of ↵Victor Shlein2018-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resizing
| * | | | | | | nixos/stage-1: fixed if-else blockkisik212018-06-19
| | | | | | | |
| * | | | | | | nixos/stage-1: added f2fs-tools' tools for resizingVictor Shlein2018-06-19
| | | | | | | |
| * | | | | | | nixos/stage-1: added F2FS resizingVictor Shlein2018-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | F2FS is used on Raspberry Pi-like devices to enhance SD card performance. Allowing F2FS resizing would help in automatic deploying of SD card images without a Linux box to resize the file system offline.
* | | | | | | | Merge pull request #53952 from Ma27/improve-gitea-moduleVladyslav M2019-01-15
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | nixos/gitea: minor fixes
| * | | | | | | | nixos/gitea: add `git` to the service pathMaximilian Bosch2019-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise commands like `git push` will fail if the machine doesn't have git installed.
| * | | | | | | | nixos/gitea: add option to disable registrationMaximilian Bosch2019-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | way-cooler: 0.8.0 -> 0.8.1 (#53220)gnidorah2019-01-15
| | | | | | | | |
* | | | | | | | | Revert "nixos/modules/misc/nixpkgs.nix: Use pure Nixpkgs function"Robert Hensing2019-01-15
| |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a workaround for #51025 and https://github.com/NixOS/nix/issues/1232 This reverts commit 5f894a67f565129ac683434c3040ba85c2df3750.
* | | | | | | | programs/nano: Generate nanorc if `syntaxHighlight` enabledClaudio Bley2019-01-14
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * prepend a newline to the `include` directive * generate the nanorc by default, since `cfg.syntaxHighlight` is `true`
* | | | | | | Merge pull request #53962 from elseym/sonarrFranz Pletz2019-01-14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | sonarr service: add more options to module
| * | | | | | | sonarr service: add more options to moduleelseym2019-01-14
| | | | | | | |
* | | | | | | | nzbget service: fix preStart script and add more options to moduleelseym2019-01-14
|/ / / / / / /
* | | | | | | Merge pull request #53871 from elseym/fix-container-extravethsFranz Pletz2019-01-14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/containers: explicitly set link up on host for extraVeths
| * | | | | | | nixos/containers: explicitly set link up on host for extraVethselseym2019-01-13
| | |_|/ / / / | |/| | | | |