Unverified Commit efa1f07e authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

Merge master into staging-nixos

parents 6aa1c77e 41965737
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -1903,6 +1903,12 @@
    matrix = "@schuelermine:matrix.org";
    keys = [ { fingerprint = "CDBF ECA8 36FE E340 1CEB  58FF BA34 EE1A BA3A 0955"; } ];
  }; # currently on hiatus, please do not ping until this notice is removed (or if it’s been like two years)
  anstylian = {
    email = "agathangelos.stylianidis@gmail.com";
    github = "anstylian";
    githubId = 11269403;
    name = "Angelos Stylinidis";
  };
  anthonyroussel = {
    email = "anthony@roussel.dev";
    github = "anthonyroussel";
@@ -10815,7 +10821,7 @@
  };
  husjon = {
    name = "Jon Erling Hustadnes";
    email = "jonerling.hustadnes+nixpkgs@gmail.com";
    email = "jonerling.hustadnes+nixpkgs@proton.me";
    github = "husjon";
    githubId = 554229;
  };
@@ -14534,6 +14540,12 @@
    github = "juuyokka";
    githubId = 15185244;
  };
  Ladas552 = {
    email = "l.tokshalov@gmail.com";
    github = "Ladas552";
    githubId = 94762349;
    name = "Ladas552";
  };
  lafrenierejm = {
    email = "joseph@lafreniere.xyz";
    github = "lafrenierejm";
+12 −0
Original line number Diff line number Diff line
@@ -76,6 +76,18 @@
  "module-services-tandoor-recipes-migrating-media-option-disallow-access": [
    "index.html#module-services-tandoor-recipes-migrating-media-option-disallow-access"
  ],
  "module-virtualisation-xen": [
    "index.html#module-virtualisation-xen"
  ],
  "module-virtualisation-xen-installation-dom0": [
    "index.html#module-virtualisation-xen-installation-dom0"
  ],
  "module-virtualisation-xen-installation-domU": [
    "index.html#module-virtualisation-xen-installation-domU"
  ],
  "module-virtualisation-xen-introduction": [
    "index.html#module-virtualisation-xen-introduction"
  ],
  "sec-override-nixos-test": [
    "index.html#sec-override-nixos-test"
  ],
+2 −0
Original line number Diff line number Diff line
@@ -133,6 +133,8 @@ See <https://github.com/NixOS/nixpkgs/issues/481673>.

- Cinnamon has been updated to 6.6, please check the [upstream announcement](https://www.linuxmint.com/rel_zena_whatsnew.php) for more details.

- Budgie has been updated to 10.10, please check the [upstream announcement](https://buddiesofbudgie.org/blog/budgie-10-10-released) for more details.

- `services.frp` now supports multiple instances through `services.frp.instances` to make it possible to run multiple frp clients or servers at the same time.

- `hyphen` now supports over 40 language variants through `hyphenDicts` and now allows to enable all supported languages through `hyphenDicts.all`.
+18 −9
Original line number Diff line number Diff line
@@ -156,15 +156,19 @@ in
      fi
    '';

    # https://docs.buddiesofbudgie.org/10.10/developer/workflow/building-budgie-desktop/#compositor-recommendations
    programs.labwc.enable = mkDefault true;
    programs.gtklock.enable = mkDefault true;

    environment.systemPackages =
      with pkgs;
      [
        # Budgie Desktop.
        budgie-backgrounds
        budgie-control-center'
        budgie-desktop-services
        (budgie-desktop-with-plugins.override { plugins = cfg.extraPlugins; })
        budgie-desktop-view
        budgie-screensaver
        budgie-session

        # Required by Budgie Menu.
@@ -190,6 +194,17 @@ in
        mate.mate-system-monitor
        vlc

        # Supplemental tooling.
        # See budgie-desktop's with-runtime-dependencies meson option.
        gammastep
        grim
        killall
        slurp
        swaybg
        swayidle
        wdisplays
        wlopm

        # Desktop themes.
        qogir-theme
        qogir-icon-theme
@@ -224,9 +239,6 @@ in
    services.xserver.updateDbusEnvironment = true;
    programs.dconf.enable = true;

    # Required by Budgie Screensaver.
    security.pam.services.budgie-screensaver = { };

    # Required by Budgie's Polkit Dialog.
    security.polkit.enable = mkDefault true;

@@ -240,6 +252,7 @@ in
    xdg.portal.enable = mkDefault true; # for BCC's Applications panel.
    xdg.portal.extraPortals = with pkgs; [
      xdg-desktop-portal-gtk # provides a XDG Portals implementation.
      xdg-desktop-portal-wlr # for screenshot and screencast.
    ];
    xdg.portal.configPackages = mkDefault [ pkgs.budgie-desktop ];

@@ -274,11 +287,7 @@ in
    # Register packages for DBus.
    services.dbus.packages = [
      budgie-control-center'
    ];

    # Register packages for udev.
    services.udev.packages = with pkgs; [
      magpie
      pkgs.budgie-desktop-services
    ];

    # Shell integration for MATE Terminal.
+24 −9
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@ let
    mkOptionDefault
    mkIf
    literalExpression
    optionalString
    types
    ;
  inherit (lib.generators)
@@ -79,7 +78,6 @@ let
      mkSection = (
        depth: attrs:
        let
          atoms = extractAtoms attrs;
          sections = extractSections attrs;
          sectionHeadingLeft = lib.concatStrings (lib.replicate (depth + 1) "[");
          sectionHeadingRight = lib.concatStrings (lib.replicate (depth + 1) "]");
@@ -103,7 +101,8 @@ let
    else
      (configObjIni { }).generate "public-settings.ini" allSettings;

  sabnzbdIniPath = "/var/lib/${cfg.stateDir}/sabnzbd.ini";
  sabnzbdIniPath =
    if cfg.configFile != null then cfg.configFile else "/var/lib/${cfg.stateDir}/sabnzbd.ini";
in

{
@@ -115,8 +114,12 @@ in

      configFile = mkOption {
        type = types.nullOr types.path;
        default = null;
        description = "Path to config file (deprecated, use `settings` instead)";
        default =
          if lib.versionOlder config.system.stateVersion "26.05" then
            "/var/lib/sabnzbd/sabnzbd.ini"
          else
            null;
        description = "Path to config file (deprecated, use `settings` instead and set this value to null)";
      };

      stateDir = mkOption {
@@ -511,6 +514,9 @@ in
    systemd.services.sabnzbd =
      let
        files =
          if cfg.configFile != null then
            [ sabnzbdIniPath ]
          else
            (lib.optional cfg.allowConfigWrite sabnzbdIniPath) ++ [ publicSettingsIni ] ++ cfg.secretFiles;
        iniPathQuoted = lib.escapeShellArg sabnzbdIniPath;
      in
@@ -531,11 +537,20 @@ in

          ${lib.toShellVar "files" files}

          tmpfile=$(mktemp)

          ${lib.getExe (pkgs.python3.withPackages (py: [ py.configobj ]))} \
            ${./config_merge.py} \
            "''${files[@]}" | \
          install -D -m ${if cfg.allowConfigWrite then "600" else "400"} \
            -o '${cfg.user}' -g '${cfg.group}' /dev/stdin ${iniPathQuoted}
            "''${files[@]}" \
            > "$tmpfile"

          install -D \
            -m ${if cfg.allowConfigWrite then "600" else "400"} \
            -o '${cfg.user}' -g '${cfg.group}' \
            "$tmpfile" \
            ${iniPathQuoted}

          rm "$tmpfile"
        '';
      };

Loading