nixpkgs/nixos/modules/services
Aristid Breitkreuz e349ccc77f nixos/alsa: Do not make sound.enable conditional on stateVersion.
Eelco Dolstra wrote:

Hm, this is not really the intended use of stateVersion. From the description:

        Every once in a while, a new NixOS release may change
        configuration defaults in a way incompatible with stateful
        data. For instance, if the default version of PostgreSQL
        changes, the new version will probably be unable to read your
        existing databases. To prevent such breakage, you can set the
        value of this option to the NixOS release with which you want
        to be compatible. The effect is that NixOS will option
        defaults corresponding to the specified release (such as using
        an older version of PostgreSQL).

So this is only intended for options that have some corresponding on-disk state. AFAICT this is not the case for sound. In any case stateVersion is a necessary evil that only exists because we can't just upgrade Postgres databases or change SSH host keys. It's not necessary for things like whether sound is enabled. (If the user discovers that sound is suddenly disabled, they can just enable it.)

I had some vague recollection that we also had a configVersion option setting to control the defaults for non-state-related options, but I can't find it so maybe it was only discussed.
2018-02-23 23:14:42 +01:00
..
admin/salt
amqp
audio nixos/alsa: Do not make sound.enable conditional on stateVersion. 2018-02-23 23:14:42 +01:00
backup crashplan-small-business: remove unneeded function 2018-02-21 09:25:58 +01:00
cluster nixos/k8s: Enable Node authorizer and NodeRestriction by default 2018-02-04 21:23:36 +01:00
computing slurm-spank-x11: init at 0.2.5 2018-01-25 13:58:14 -08:00
continuous-integration nixos/buildkite-agent: add coreutils to PATH of service 2018-02-20 08:17:14 +00:00
databases postgis: get rid of composableDerivation 2018-02-20 22:17:16 +01:00
desktops nixos/pipewire: init 2018-02-01 22:40:51 +01:00
development
editors
games ghostOne: remove 2017-12-29 02:18:35 +01:00
hardware Merge pull request #35065 from jtojnar/fwupd-1.0.5 2018-02-23 17:22:47 +01:00
logging nixos/logcheck: replace rm with rm -r to delete the empty logcheck.logfiles.d/ 2017-12-17 04:02:26 +00:00
mail nixos/postfix: document that *Alias options support comma separated values 2018-02-18 13:04:08 +01:00
misc webos: init novacom, novacomd, cmake-modules; add nixos service 2018-02-20 10:34:19 -06:00
monitoring nixos/prometheus/alertmanager: double hyphenate long opts (#34914) 2018-02-12 18:02:38 -05:00
network-filesystems Merge pull request #17106 from spacefrogg/openafs 2018-02-06 14:43:55 +00:00
networking tinc: enable invitations 2018-02-23 11:59:37 -05:00
printing Revert "cups service: fix client sockets" 2018-02-23 18:47:43 +03:00
scheduling fcron module: be compatible with non-wrapped sendmail's, like opensmtpd's 2017-12-31 03:34:11 +01:00
search elk: add elasticsearch6, logstash6, kibana6 and the beats at v6.1.0 2018-01-02 01:15:29 +01:00
security nixos/modules: rename IP addresses/routes options 2018-02-17 14:57:07 +01:00
system
torrent
ttys nixos: rename config.system.nixos* -> config.system.nixos.* 2018-02-18 12:56:30 +00:00
web-apps nixos/service.tt-rss: improve pgsql support, do not use static uid/gid 2018-01-05 14:47:54 +01:00
web-servers Merge pull request #32062 from volth/patch-73 2018-02-20 19:22:28 +00:00
x11 Merge pull request #34470 from WilliButz/fix-xautolock 2018-02-22 23:10:03 +00:00