Going through an example of releasing NixOS 19.09:
- Create an announcement on Discourse as a warning about upcoming beta "feature freeze" in a month. See this post as an example.
| diff --git a/icons/Makefile b/icons/Makefile | |
| index 9fa5b30..41cc1b4 100755 | |
| --- a/icons/Makefile | |
| +++ b/icons/Makefile | |
| @@ -7,10 +7,12 @@ sizes = 16 24 32 48 64 72 96 128 256 512 1024 | |
| theme = hicolor | |
| category = apps | |
| -icons = $(foreach size,$(sizes),$(size)x$(size)/$(category)/nix-snowflake.png) \ | |
| - scalable/$(category)/nix-snowflake.svg \ |
| final: prev: | |
| { | |
| pantheon = prev.pantheon.overrideScope' (pfinal: pprev: { | |
| elementary-gsettings-schemas = pfinal.callPackage ./desktop/elementary-gsettings-schemas { }; | |
| #### APPS | |
| appcenter = pfinal.callPackage ./apps/appcenter { }; |
| final: prev: | |
| let | |
| inherit (final) callPackage; | |
| in | |
| { | |
| pantheon = prev.pantheon.overrideScope' (pfinal: pprev: { | |
| switchboardPlugs = [ | |
| switchboard-plug-a11y |
Going through an example of releasing NixOS 19.09:
| diff --git a/nixos/modules/security/rngd.nix b/nixos/modules/security/rngd.nix | |
| index 5566c53897d..d89f20221dd 100644 | |
| --- a/nixos/modules/security/rngd.nix | |
| +++ b/nixos/modules/security/rngd.nix | |
| @@ -37,6 +37,12 @@ in | |
| after = [ "dev-random.device" ]; | |
| + conflicts = [ "shutdown.target" ]; | |
| + before = [ |
| { | |
| // Place your snippets for xml here. Each snippet is defined under a snippet name and has a prefix, body and | |
| // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
| // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
| // same ids are connected. | |
| // Example: | |
| // "Print to console": { | |
| // "prefix": "log", | |
| // "body": [ | |
| // "console.log('$1');", |
| with import <nixpkgs> {}; | |
| with lib; | |
| let | |
| getDir = (dir: mapAttrs (file: type: | |
| if type == "directory" | |
| then getDir "${dir}/${file}" | |
| else type) | |
| (builtins.readDir dir)); |
| diff --git a/nixos/modules/services/desktops/deepin/deepin.nix b/nixos/modules/services/desktops/deepin/deepin.nix | |
| index a69ca8573a7..931bac58ace 100644 | |
| --- a/nixos/modules/services/desktops/deepin/deepin.nix | |
| +++ b/nixos/modules/services/desktops/deepin/deepin.nix | |
| @@ -30,8 +30,6 @@ | |
| config = lib.mkMerge [ | |
| (lib.mkIf config.services.deepin.core.enable { | |
| - programs.dconf.enable = true; | |
| - |