Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a84b797b28eb
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7bb2e7e0f691
Choose a head ref

Commits on May 2, 2020

  1. silence warning from #63103 in encrypted-devices.nix

    (cherry picked from commit 0f5acc5)
    ben0x539 authored and mmilata committed May 2, 2020
    Copy the full SHA
    4a41762 View commit details

Commits on May 8, 2020

  1. ssm-session-manager-plugin: init at 1.1.61.0

    Signed-off-by: Martin Baillie <martin@baillie.email>
    (cherry picked from commit 9566c74)
    Martin Baillie committed May 8, 2020
    Copy the full SHA
    fc9ca52 View commit details

Commits on Jun 1, 2020

  1. firmwareLinuxNonfree: 2020-01-22 -> 2020-05-19

    (cherry picked from commit 46f2bf6)
    jsravn committed Jun 1, 2020
    Copy the full SHA
    5cd1d38 View commit details

Commits on Jun 5, 2020

  1. xpra: fix #85694

    (cherry picked from commit 8b92f67)
    Louis Bettens committed Jun 5, 2020
    Copy the full SHA
    cd6ea1d View commit details
  2. xpra: fix #41106

    (cherry picked from commit 4459844)
    Louis Bettens committed Jun 5, 2020
    Copy the full SHA
    79ac325 View commit details
  3. xpra: adjust patches

    Louis Bettens committed Jun 5, 2020
    Copy the full SHA
    82ef74d View commit details

Commits on Jun 7, 2020

  1. jool: 4.0.5 -> 4.0.9

    (cherry picked from commit a8ee561)
    hax404 committed Jun 7, 2020
    Copy the full SHA
    90057c5 View commit details
  2. nixos-artwork: add file path attributes

    This makes things so much easier, and we install to
    the path that both gnome-backgrounds and
    elementary-wallpapers install to.
    
    (cherry picked from commit 62587f4)
    worldofpeace committed Jun 7, 2020
    Copy the full SHA
    392b8bc View commit details
  3. nixos/lightdm: change background type to path

    (cherry picked from commit 3d1706c)
    jtojnar authored and worldofpeace committed Jun 7, 2020
    Copy the full SHA
    20bfce5 View commit details
  4. nixos/gnome3: install nixos wallpapers

    (cherry picked from commit 7f3bc5b)
    worldofpeace committed Jun 7, 2020
    Copy the full SHA
    489ebe4 View commit details
  5. nixos/pantheon: install nixos wallpaper

    Fixes  #86146
    
    (cherry picked from commit 5100e4f)
    worldofpeace committed Jun 7, 2020
    Copy the full SHA
    b2bd937 View commit details

Commits on Jun 8, 2020

  1. Copy the full SHA
    4a644cc View commit details
  2. Copy the full SHA
    2678e4f View commit details
  3. Copy the full SHA
    9fdefdc View commit details
  4. Copy the full SHA
    016f42b View commit details
  5. Copy the full SHA
    3b4dbf3 View commit details
  6. Copy the full SHA
    c064cd0 View commit details
  7. Copy the full SHA
    c0c768b View commit details
  8. pantheon.appcenter: 3.3.0 -> 3.4.0

    (cherry picked from commit 6c3b792)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    044c9a4 View commit details
  9. pantheon.elementary-icon-theme: 5.3.0 -> 5.3.1

    Now uses librsvg's rsvg-convert instead of inkscape.
    
    (cherry picked from commit e3be875)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    3c96a13 View commit details
  10. pantheon.elementary-calendar: 5.0.4 -> 5.0.5

    (cherry picked from commit 7586195)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    adacfd0 View commit details
  11. Copy the full SHA
    d71bdb2 View commit details
  12. Copy the full SHA
    adca4a3 View commit details
  13. pantheon.elementary-greeter: 5.0.3 -> 5.0.4

    (cherry picked from commit 10dcf33)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    85146f0 View commit details
  14. pantheon.pantheon-agent-polkit: 1.0.1 -> 1.0.2

    (cherry picked from commit 2ce928c)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    8f24062 View commit details
  15. pantheon.wingpanel-indicator-network: 2.2.3 -> 2.2.4

    (cherry picked from commit 5f88c64)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    0d8445d View commit details
  16. pantheon.wingpanel-applications-menu: 2.7.0 -> 2.7.1

    (cherry picked from commit 3282639)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    4a25ae5 View commit details
  17. pantheon.elementary-shortcut-overlay: 1.1.1 -> 1.1.2

    (cherry picked from commit babac73)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    ae8c62c View commit details
  18. Copy the full SHA
    ac21fd7 View commit details
  19. pantheon.switchboard-plug-about: 2.6.2 -> 2.6.3

    (cherry picked from commit 96a44e0)
    worldofpeace committed Jun 8, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    df72656 View commit details
  20. pantheon.switchboard-plug-bluetooth: 2.3.1 -> 2.3.2

    (cherry picked from commit 1d759d4)
    worldofpeace committed Jun 8, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    7780479 View commit details
  21. Copy the full SHA
    34ce395 View commit details
  22. pantheon.switchboard-plug-display: 2.2.1 -> 2.2.2

    (cherry picked from commit ac1294c)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    d3805ad View commit details
  23. pantheon.switchboard-plug-mouse-touchpad: 2.4.1 -> 2.4.2

    (cherry picked from commit 6e53391)
    worldofpeace committed Jun 8, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    489245e View commit details
  24. Copy the full SHA
    68d7569 View commit details
  25. pantheon.switchboard-plug-notifications: 2.1.6 -> 2.1.7

    (cherry picked from commit 9de4f54)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    e40d5b5 View commit details
  26. Copy the full SHA
    d8cac26 View commit details
  27. pantheon.switchboard-plug-printers: 2.1.8 -> 2.1.9

    (cherry picked from commit 2a48d9f)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    5421f40 View commit details
  28. pantheon.switchboard-plug-security-privacy: 2.2.3 -> 2.2.4

    (cherry picked from commit a8800e6)
    worldofpeace committed Jun 8, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    003af9c View commit details
  29. pantheon.switchboard-plug-sound: 2.2.3 -> 2.2.4

    (cherry picked from commit cf675b7)
    worldofpeace committed Jun 8, 2020
    Copy the full SHA
    b3a5802 View commit details

Commits on Jun 10, 2020

  1. microcodeIntel: 20200508 → 20200520

    (cherry picked from commit f49defc)
    mweinelt committed Jun 10, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1763fe3 View commit details
  2. microcodeIntel: 20200520 -> 20200609

    (cherry picked from commit 0881510)
    mweinelt committed Jun 10, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    57f7f17 View commit details
  3. nixos/sympa: fix PATH_INFO splitting for sympa-6.2.56

    Our regex for splitting HTTP path into SCRIPT_NAME and PATH_INFO was
    incorrect when webLocation was set to "/". Since Sympa 6.2.56 this has
    caused the web interface to return "421 Misdirected Request".
    
    Since 6.2.56 Sympa can do the splitting on its own so we can simply
    remove it from nginx configuration.
    
    See also:
    - sympa-community/sympa#879
    - sympa-community/sympa#910
    - sympa-community/sympa-community.github.io#53
    
    (cherry picked from commit bd4e4dd)
    mmilata committed Jun 10, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    3f31c0d View commit details

Commits on Jun 12, 2020

  1. palemoon: 28.9.3 -> 28.10.0

    (cherry picked from commit 7c65275)
    OPNA2608 committed Jun 12, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    807d383 View commit details

Commits on Jun 13, 2020

  1. treewide: central.maven.org -> repo1.maven.org

    volth committed Jun 13, 2020
    Copy the full SHA
    098fdc6 View commit details

Commits on Jun 16, 2020

  1. chromium: Build with VA-API but disable it by default

    This makes it possible to enable VA-API without having to rebuild
    Chromium: `chromium.override { enableVaapi = true; }`
    
    (cherry picked from commit 267eefc)
    primeos committed Jun 16, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    b0bfe9b View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    alexarice Alex Rice
    Copy the full SHA
    0d8250a View commit details
  3. graylog: 3.3.0 -> 3.3.1

    (cherry picked from commit cb05373)
    
    Reason: 3.3.1 contains bugfix for potential dataloss when Elasticsearch
    index is read-only due to disk space problems
    r-ryantm authored and - committed Jun 16, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    mweinelt Martin Weinelt
    Copy the full SHA
    70ecf77 View commit details
  4. graylogPlugins: Update plugins

    graylog-enterprise-integrations: 3.3.0 -> 3.3.1
    graylog-integrations: 3.3.0 -> 3.3.1
    (cherry picked from commit 0181c1b)
    
    Reason: Companion commit to 70ecf77
    to ensure that packaged plugin versions are compatible
    fadenb authored and - committed Jun 16, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    60da5ed View commit details
Showing with 337 additions and 155 deletions.
  1. +1 −3 nixos/modules/config/system-path.nix
  2. +0 −3 nixos/modules/programs/bash/bash.nix
  3. +3 −1 nixos/modules/security/sudo.nix
  4. +0 −4 nixos/modules/services/mail/sympa.nix
  5. +6 −0 nixos/modules/services/misc/nix-daemon.nix
  6. +4 −2 nixos/modules/services/x11/desktop-managers/gnome3.nix
  7. +1 −0 nixos/modules/services/x11/desktop-managers/pantheon.nix
  8. +6 −2 nixos/modules/services/x11/display-managers/lightdm.nix
  9. +1 −1 nixos/modules/system/boot/loader/grub/grub.nix
  10. +1 −1 nixos/modules/tasks/encrypted-devices.nix
  11. +2 −2 pkgs/applications/editors/jedit/default.nix
  12. +1 −1 pkgs/applications/networking/browsers/chromium/browser.nix
  13. +11 −6 pkgs/applications/networking/browsers/chromium/common.nix
  14. +14 −5 pkgs/applications/networking/browsers/chromium/default.nix
  15. 0 ...ns/networking/browsers/chromium/patches/{vaapi-fix.patch → enable-vdpau-support-for-nvidia.patch}
  16. +48 −0 pkgs/applications/networking/browsers/chromium/patches/enable-video-acceleration-on-linux.patch
  17. +9 −9 pkgs/applications/networking/browsers/chromium/upstream-info.nix
  18. +4 −1 pkgs/applications/networking/browsers/google-chrome/default.nix
  19. +2 −2 pkgs/applications/networking/browsers/palemoon/default.nix
  20. +29 −0 pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix
  21. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
  22. +4 −4 pkgs/applications/networking/instant-messengers/riot/riot-desktop-yarndeps.nix
  23. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
  24. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-web.nix
  25. +1 −1 pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix
  26. +2 −2 pkgs/applications/video/vlc/default.nix
  27. +1 −1 pkgs/build-support/fetchmavenartifact/default.nix
  28. +0 −1 pkgs/build-support/fetchurl/mirrors.nix
  29. +13 −1 pkgs/data/misc/nixos-artwork/wallpapers.nix
  30. +2 −2 pkgs/desktops/pantheon/apps/appcenter/default.nix
  31. +2 −2 pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
  32. +2 −2 pkgs/desktops/pantheon/apps/elementary-code/default.nix
  33. +2 −2 pkgs/desktops/pantheon/apps/elementary-files/default.nix
  34. +2 −2 pkgs/desktops/pantheon/apps/sideload/default.nix
  35. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
  36. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix
  37. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix
  38. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
  39. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
  40. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
  41. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix
  42. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
  43. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
  44. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
  45. +2 −2 pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
  46. +2 −2 pkgs/desktops/pantheon/apps/switchboard/default.nix
  47. +4 −4 pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix
  48. +1 −1 pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix
  49. +4 −4 pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
  50. +2 −2 pkgs/desktops/pantheon/desktop/elementary-onboarding/default.nix
  51. +2 −2 pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
  52. +2 −2 pkgs/desktops/pantheon/desktop/gala/default.nix
  53. +4 −2 pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
  54. +2 −2 pkgs/desktops/pantheon/desktop/wingpanel-indicators/network/default.nix
  55. +9 −2 pkgs/desktops/pantheon/granite/default.nix
  56. +2 −2 pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
  57. +0 −1 pkgs/development/haskell-modules/configuration-hackage2nix.yaml
  58. +0 −2 pkgs/development/haskell-modules/hackage-packages.nix
  59. +1 −2 pkgs/development/interpreters/clojurescript/lumo/deps.nix
  60. +2 −0 pkgs/development/tools/misc/strace/default.nix
  61. +2 −2 pkgs/development/tools/vagrant/default.nix
  62. +6 −6 pkgs/development/tools/vagrant/gemset.nix
  63. +3 −3 pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
  64. +7 −0 pkgs/os-specific/linux/firmware/fwupd/default.nix
  65. +2 −2 pkgs/os-specific/linux/jool/source.nix
  66. +2 −2 pkgs/os-specific/linux/microcode/intel.nix
  67. +2 −2 pkgs/os-specific/linux/wireguard/default.nix
  68. +2 −2 pkgs/servers/mail/sympa/default.nix
  69. +3 −2 pkgs/servers/matrix-synapse/default.nix
  70. +1 −1 pkgs/servers/monitoring/prometheus/jmx-httpserver.nix
  71. +2 −2 pkgs/servers/samba/4.x.nix
  72. +1 −0 pkgs/tools/X11/xdg-utils/default.nix
  73. +2 −0 pkgs/tools/X11/xpra/default.nix
  74. +15 −0 pkgs/tools/X11/xpra/fix-41106.patch
  75. +37 −0 pkgs/tools/X11/xpra/fix-paths.patch
  76. +2 −2 pkgs/tools/misc/graylog/default.nix
  77. +5 −5 pkgs/tools/misc/graylog/plugins.nix
  78. +2 −2 pkgs/tools/misc/youtube-dl/default.nix
  79. +1 −1 pkgs/tools/networking/openapi-generator-cli/default.nix
  80. +1 −0 pkgs/top-level/all-packages.nix
4 changes: 1 addition & 3 deletions nixos/modules/config/system-path.nix
Original file line number Diff line number Diff line change
@@ -8,8 +8,7 @@ with lib;
let

requiredPackages = map (pkg: setPrio ((pkg.meta.priority or 5) + 3) pkg)
[ config.nix.package
pkgs.acl
[ pkgs.acl
pkgs.attr
pkgs.bashInteractive # bash with ncurses support
pkgs.bzip2
@@ -33,7 +32,6 @@ let
pkgs.nano
pkgs.ncurses
pkgs.netcat
pkgs.nix-info
config.programs.ssh.package
pkgs.perl
pkgs.procps
3 changes: 0 additions & 3 deletions nixos/modules/programs/bash/bash.nix
Original file line number Diff line number Diff line change
@@ -238,9 +238,6 @@ in
"/share/bash-completion"
];

environment.systemPackages = optional cfg.enableCompletion
pkgs.nix-bash-completions;

environment.shells =
[ "/run/current-system/sw/bin/bash"
"/run/current-system/sw/bin/sh"
4 changes: 3 additions & 1 deletion nixos/modules/security/sudo.nix
Original file line number Diff line number Diff line change
@@ -173,7 +173,9 @@ in

config = mkIf cfg.enable {

security.sudo.extraRules = [
# We `mkOrder 600` so that the default rule shows up first, but there is
# still enough room for a user to `mkBefore` it.
security.sudo.extraRules = mkOrder 600 [
{ groups = [ "wheel" ];
commands = [ { command = "ALL"; options = (if cfg.wheelNeedsPassword then [ "SETENV" ] else [ "NOPASSWD" "SETENV" ]); } ];
}
4 changes: 0 additions & 4 deletions nixos/modules/services/mail/sympa.nix
Original file line number Diff line number Diff line change
@@ -513,10 +513,6 @@ in
include ${config.services.nginx.package}/conf/fastcgi_params;
fastcgi_pass unix:/run/sympa/wwsympa.socket;
fastcgi_split_path_info ^(${loc})(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME ${pkg}/lib/sympa/cgi/wwsympa.fcgi;
'';
}) // {
"/static-sympa/".alias = "${dataDir}/static_content/";
6 changes: 6 additions & 0 deletions nixos/modules/services/misc/nix-daemon.nix
Original file line number Diff line number Diff line change
@@ -441,6 +441,12 @@ in
nix.binaryCachePublicKeys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
nix.binaryCaches = [ "https://cache.nixos.org/" ];

environment.systemPackages =
[ nix
pkgs.nix-info
]
++ optional (config.programs.bash.enableCompletion && !versionAtLeast nixVersion "2.4pre") pkgs.nix-bash-completions;

environment.etc."nix/nix.conf".source = nixConf;

environment.etc."nix/registry.json".text = builtins.toJSON {
6 changes: 4 additions & 2 deletions nixos/modules/services/x11/desktop-managers/gnome3.nix
Original file line number Diff line number Diff line change
@@ -37,10 +37,10 @@ let
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
[org.gnome.desktop.background]
picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png'
picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}'
[org.gnome.desktop.screensaver]
picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png'
picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath}'
[org.gnome.shell]
favorite-apps=[ 'org.gnome.Epiphany.desktop', 'org.gnome.Geary.desktop', 'org.gnome.Music.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]
@@ -316,6 +316,8 @@ in
gnome-shell
gnome-shell-extensions
gnome-themes-extra
pkgs.nixos-artwork.wallpapers.simple-dark-gray
pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom
pkgs.gnome-user-docs
pkgs.orca
pkgs.glib # for gsettings
1 change: 1 addition & 0 deletions nixos/modules/services/x11/desktop-managers/pantheon.nix
Original file line number Diff line number Diff line change
@@ -180,6 +180,7 @@ in
gtk3.out
hicolor-icon-theme
lightlocker
nixos-artwork.wallpapers.simple-dark-gray
onboard
qgnomeplatform
shared-mime-info
8 changes: 6 additions & 2 deletions nixos/modules/services/x11/display-managers/lightdm.nix
Original file line number Diff line number Diff line change
@@ -127,8 +127,9 @@ in
};

background = mkOption {
type = types.str;
default = "${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png";
type = types.path;
# Manual cannot depend on packages, we are actually setting the default in config below.
defaultText = "pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath";
description = ''
The background image or color to use.
'';
@@ -207,6 +208,9 @@ in
}
];

# Keep in sync with the defaultText value from the option definition.
services.xserver.displayManager.lightdm.background = mkDefault pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath;

# Set default session in session chooser to a specified values – basically ignore session history.
# Auto-login is already covered by a config value.
services.xserver.displayManager.job.preStart = optionalString (!cfg.autoLogin.enable && dmcfg.defaultSession != null) ''
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/loader/grub/grub.nix
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ let
] ++ (optional (cfg.fontSize!=null) "--size ${toString cfg.fontSize}")))
);

defaultSplash = "${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bootloader}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bootloader.png";
defaultSplash = pkgs.nixos-artwork.wallpapers.simple-dark-gray-bootloader.gnomeFilePath;
in

{
2 changes: 1 addition & 1 deletion nixos/modules/tasks/encrypted-devices.nix
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ in
boot.initrd = {
luks = {
devices =
map (dev: { name = dev.encrypted.label; device = dev.encrypted.blkDev; } ) keylessEncDevs;
builtins.listToAttrs (map (dev: { name = dev.encrypted.label; value = { device = dev.encrypted.blkDev; }; }) keylessEncDevs);
forceLuksSupportInInitrd = true;
};
postMountCommands =
4 changes: 2 additions & 2 deletions pkgs/applications/editors/jedit/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@
let
version = "5.2.0";
bcpg = fetchurl {
url = http://central.maven.org/maven2/org/bouncycastle/bcpg-jdk16/1.46/bcpg-jdk16-1.46.jar;
url = mirror://maven/org/bouncycastle/bcpg-jdk16/1.46/bcpg-jdk16-1.46.jar;
sha256 = "16xhmwks4l65m5x150nd23y5lyppha9sa5fj65rzhxw66gbli82d";
};
jsr305 = fetchurl {
url = http://central.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar;
url = mirror://maven/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar;
sha256 = "0s74pv8qjc42c7q8nbc0c3b1hgx0bmk3b8vbk1z80p4bbgx56zqy";
};
in
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/chromium/browser.nix
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ mkChromiumDerivation (base: rec {
the web. It has a minimalist user interface and provides the vast majority
of source code for Google Chrome (which has some additional features).
'';
homepage = https://www.chromium.org/;
homepage = "https://www.chromium.org/";
maintainers = with maintainers; [ bendlas thefloweringash primeos ];
# Overview of the maintainer roles:
# nixos-unstable:
17 changes: 11 additions & 6 deletions pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
@@ -25,8 +25,13 @@
, libdrm ? null, wayland ? null, mesa_drivers ? null, libxkbcommon ? null # useOzone

# package customization
, useVaapi ? false
, useOzone ? false
, useVaapi ? !(useOzone || stdenv.isAarch64) # Built if supported, but disabled in the wrapper
# VA-API TODOs:
# - Ozone: M81 fails to build due to "ozone_platform_gbm = false"
# - Possible solutions: Write a patch to fix the build (wrong gn dependencies)
# or build with minigbm
# - AArch64: Causes serious regressions (https://github.com/NixOS/nixpkgs/pull/85253#issuecomment-614405879)
, gnomeSupport ? false, gnome ? null
, gnomeKeyringSupport ? false, libgnome-keyring3 ? null
, proprietaryCodecs ? true
@@ -129,10 +134,10 @@ let
libXScrnSaver libXcursor libXtst libGLU libGL
pciutils protobuf speechd libXdamage at-spi2-core
jre
] ++ optional gnomeKeyringSupport libgnome-keyring3
] ++ optional useVaapi libva
++ optional gnomeKeyringSupport libgnome-keyring3
++ optionals gnomeSupport [ gnome.GConf libgcrypt ]
++ optionals cupsSupport [ libgcrypt cups ]
++ optional useVaapi libva
++ optional pulseSupport libpulseaudio
++ optionals useOzone [ libdrm wayland mesa_drivers libxkbcommon ];

@@ -151,9 +156,9 @@ let
#
# ++ optionals (channel == "dev") [ ( githubPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000" ) ]
# ++ optional (versionRange "68" "72") ( githubPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000" )
] ++ optionals (useVaapi) [
# source: https://aur.archlinux.org/cgit/aur.git/tree/vaapi-fix.patch?h=chromium-vaapi
./patches/vaapi-fix.patch
] ++ optionals (useVaapi) [ # Improvements for the VA-API build:
./patches/enable-vdpau-support-for-nvidia.patch # https://aur.archlinux.org/cgit/aur.git/tree/vdpau-support.patch?h=chromium-vaapi
./patches/enable-video-acceleration-on-linux.patch # Can be controlled at runtime (i.e. without rebuilding Chromium)
];

postPatch = ''
19 changes: 14 additions & 5 deletions pkgs/applications/networking/browsers/chromium/default.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,15 @@
, lib

# package customization
# Note: enable* flags should not require full rebuilds (i.e. only affect the wrapper)
, channel ? "stable"
, gnomeSupport ? false, gnome ? null
, gnomeKeyringSupport ? false
, proprietaryCodecs ? true
, enablePepperFlash ? false
, enableWideVine ? false
, useVaapi ? false # test video on radeon, before enabling this
, useVaapi ? false # Deprecated, use enableVaapi instead!
, enableVaapi ? false # Disabled by default due to unofficial support and issues on radeon
, useOzone ? false
, cupsSupport ? true
, pulseSupport ? config.pulseaudio or stdenv.isLinux
@@ -31,7 +33,7 @@ let
upstream-info = (callPackage ./update.nix {}).getChannel channel;

mkChromiumDerivation = callPackage ./common.nix ({
inherit gnome gnomeSupport gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport useVaapi useOzone;
inherit gnome gnomeSupport gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport useOzone;
# TODO: Remove after we can update gn for the stable channel (backward incompatible changes):
gnChromium = gn.overrideAttrs (oldAttrs: {
version = "2020-03-23";
@@ -132,6 +134,14 @@ let
cp -a ${widevineCdm}/WidevineCdm $out/libexec/chromium/
''
else browser;

optionalVaapiFlags = if useVaapi # TODO: Remove after 20.09:
then throw ''
Chromium's useVaapi was replaced by enableVaapi and you don't need to pass
"--ignore-gpu-blacklist" anymore (also no rebuilds are required anymore).
'' else lib.optionalString
(!enableVaapi)
"--add-flags --disable-accelerated-video-decode --add-flags --disable-accelerated-video-encode";
in stdenv.mkDerivation {
name = "chromium${suffix}-${version}";
inherit version;
@@ -151,15 +161,14 @@ in stdenv.mkDerivation {
buildCommand = let
browserBinary = "${chromiumWV}/libexec/chromium/chromium";
getWrapperFlags = plugin: "$(< \"${plugin}/nix-support/wrapper-flags\")";
libPath = stdenv.lib.makeLibraryPath ([]
++ stdenv.lib.optional useVaapi libva
);
libPath = stdenv.lib.makeLibraryPath [ libva ];

in with stdenv.lib; ''
mkdir -p "$out/bin"
eval makeWrapper "${browserBinary}" "$out/bin/chromium" \
--add-flags ${escapeShellArg (escapeShellArg commandLineArgs)} \
${optionalVaapiFlags} \
${concatMapStringsSep " " getWrapperFlags chromium.plugins.enabled}
ed -v -s "$out/bin/chromium" << EOF
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
From b2144fd28e09cd52e7a88a62a9d9b54cf9922f9f Mon Sep 17 00:00:00 2001
From: Michael Weiss <dev.primeos@gmail.com>
Date: Tue, 14 Apr 2020 14:16:10 +0200
Subject: [PATCH] Enable accelerated video decode on Linux

This will enable accelerated video decode on Linux by default (i.e.
without "--ignore-gpu-blacklist"), but on NixOS we'll provide
"--disable-accelerated-video-decode" and
"--disable-accelerated-video-encode" by default to avoid regressions
(e.g. VA-API doesn't work properly for some radeon drivers).

Video acceleration can then be enabled via:
chromium.override { enableVaapi = true; }
without rebuilding Chromium.
---
gpu/config/software_rendering_list.json | 16 ----------------
1 file changed, 16 deletions(-)

diff --git a/gpu/config/software_rendering_list.json b/gpu/config/software_rendering_list.json
index 22712bdbf38f..a06dd19a50e4 100644
--- a/gpu/config/software_rendering_list.json
+++ b/gpu/config/software_rendering_list.json
@@ -336,22 +336,6 @@
]
},
{
- "id": 48,
- "description": "Accelerated video decode is unavailable on Linux",
- "cr_bugs": [137247, 1032907],
- "os": {
- "type": "linux"
- },
- "exceptions": [
- {
- "machine_model_name": ["Chromecast"]
- }
- ],
- "features": [
- "accelerated_video_decode"
- ]
- },
- {
"id": 50,
"description": "Disable VMware software renderer on older Mesa",
"cr_bugs": [145531, 332596, 571899, 629434],
--
2.11.0

18 changes: 9 additions & 9 deletions pkgs/applications/networking/browsers/chromium/upstream-info.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
sha256 = "1di0fhhv6lljc2b50i0i8qx5y5xswgxz1bimpda790sb3b1xsdzx";
sha256bin64 = "1f5qwx4476l4fvbw9w2i22i080bahlf83dzzpnbny7hk831g7msw";
version = "84.0.4147.38";
sha256 = "0wsqxq8xxcafmjxsjkagysrcbr6qryiyqn6m3ysp256aam7z3d88";
sha256bin64 = "03jff1sdv05hbn37cw0ij0r4rils0q11lnnhxg52igg633jzwyc1";
version = "84.0.4147.45";
};
dev = {
sha256 = "07h3i4ab7yj05ndrqchzf3f9wr809qb3dj2gfc1653mkjmba8h07";
sha256bin64 = "10jdq5mr7qby0m26l5lbsqcbh9bhjdpmpbkkcvv9wm2259rwjxr5";
version = "85.0.4164.2";
sha256 = "16rmzyzjmxmhmr5yqbzqbwf5sq94iqcwlm04fkafiwcycd17nyhs";
sha256bin64 = "0wjmc1wdmwiq9d1f5gk4c9jkj1p116kaz9nb0hvhjf01iv07xl2m";
version = "85.0.4168.2";
};
stable = {
sha256 = "10vg0fmwlkzpnixhhhcwccxshqdfq7rh0ribij7wgkw42bv0bi0j";
sha256bin64 = "09vz7ygixs7lwlsvbby3dmc2gz0vpjwalzdh6l6apc4dngyr095k";
version = "83.0.4103.97";
sha256 = "0bvy17ymlih87n4ymnzvyn0m34ghmr1yasvy7gxv02qbw6i57lfg";
sha256bin64 = "00hjr5y0cczs6h2pxrigpmjiv24456948v32q7mr7x5ysr5kxpn6";
version = "83.0.4103.106";
};
}
Original file line number Diff line number Diff line change
@@ -7,6 +7,9 @@
, dbus, gtk2, gtk3, gdk-pixbuf, gcc-unwrapped, at-spi2-atk, at-spi2-core
, kerberos, libdrm, mesa

# Command line programs
, coreutils

# command line arguments which are always set e.g "--disable-gpu"
, commandLineArgs ? ""

@@ -58,7 +61,7 @@ let
liberation_ttf curl utillinux xdg_utils wget
flac harfbuzz icu libpng opusWithCustomModes snappy speechd
bzip2 libcap at-spi2-atk at-spi2-core
kerberos libdrm mesa
kerberos libdrm mesa coreutils
] ++ optional pulseSupport libpulseaudio
++ [ gtk ];

4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/palemoon/default.nix
Original file line number Diff line number Diff line change
@@ -16,12 +16,12 @@ let

in stdenv.mkDerivation rec {
pname = "palemoon";
version = "28.9.3";
version = "28.10.0";

src = fetchgit {
url = "https://github.com/MoonchildProductions/Pale-Moon.git";
rev = "${version}_Release";
sha256 = "1f8vfjyihlr2l79mkfgdcvwjnh261n6imkps310x9x3977jiq2wr";
sha256 = "0c64vmrp46sbl1dgl9dq2vkmpgz9gvgd59dk02jqwyhx4lln1g2l";
fetchSubmodules = true;
};

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, lib, fetchurl, autoPatchelfHook, dpkg, awscli }:
stdenv.mkDerivation rec {
pname = "ssm-session-manager-plugin";
version = "1.1.61.0";

src = fetchurl {
url =
"https://s3.amazonaws.com/session-manager-downloads/plugin/${version}/ubuntu_64bit/session-manager-plugin.deb";
sha256 = "0z59irrpwhjjhn379454xyraqs590hij2n6n6k25w5hh8ak7imfl";
};

nativeBuildInputs = [ autoPatchelfHook dpkg ];

buildInputs = [ awscli ];

unpackPhase = "dpkg-deb -x $src .";

installPhase =
"install -m755 -D usr/local/sessionmanagerplugin/bin/session-manager-plugin $out/bin/session-manager-plugin";

meta = with lib; {
homepage =
"https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html";
description = "Amazon SSM Session Manager Plugin";
platforms = [ "x86_64-linux" ];
license = licenses.unfree;
maintainers = with maintainers; [ mbaillie ];
};
}
Loading