Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from NixOS:master #248

Merged
merged 46 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6ae428a
llvmPackages_19.libclc: fix cross compilation
NickCao Dec 20, 2024
eb01892
koboldcpp: update `cudaArches` example
DontEatOreo Dec 20, 2024
4bd5e1d
koboldcpp: remove `gitUpdater`
DontEatOreo Dec 20, 2024
415fe80
koboldcpp: drop `openblas`
DontEatOreo Dec 20, 2024
0dae157
koboldcpp: 1.79.1 -> 1.80
DontEatOreo Dec 20, 2024
093daf1
structorizer: 3.32-23 -> 3.32-24
r-ryantm Dec 20, 2024
e62a47c
koboldcpp: add `(darwinMinVersionHook "10.15")`
DontEatOreo Dec 20, 2024
1ccd253
koboldcpp: disable vulkan for darwin
DontEatOreo Dec 20, 2024
e57e423
koboldcpp: 1.80 -> 1.80.1
DontEatOreo Dec 21, 2024
fedf16b
nixos/fcitx5: format
linsui Dec 22, 2024
97728d9
nixos/fcitx5: handle multi-line string and escape in quickPhrase
linsui Dec 22, 2024
e130769
nixos/hostapd: remove unused imports
oddlama Dec 22, 2024
2dfabce
nixos/dolibarr: format
GaetanLepage Dec 23, 2024
8b235ad
nixos/dolibarr: change permissions of conf.php to read only
GaetanLepage Dec 23, 2024
2ffff15
readarr: 0.4.5.2699 -> 0.4.6.2711
r-ryantm Dec 23, 2024
e89912f
kubectl-cnpg: 1.24.1 -> 1.24.2
r-ryantm Dec 23, 2024
bd57668
deepin.deepin-editor: 6.5.2 -> 6.5.8
wineee Dec 24, 2024
ab9f4b1
waymore: init at 4.7
genga898 Dec 20, 2024
5c64b8d
maintainers: add IncredibleLaser
IncredibleLaser Dec 23, 2024
7567d65
managarr: init at v0.4.2
IncredibleLaser Dec 23, 2024
7ce091b
python312Packages.libuuu: 1.5.182 -> 1.5.182.post1
r-ryantm Dec 25, 2024
4402319
python312Packages.httpx-oauth: 0.16.0 -> 0.16.1
r-ryantm Dec 25, 2024
0109378
python312Packages.amaranth-boards: 0-unstable-2024-10-18 -> 0-unstabl…
r-ryantm Dec 25, 2024
6260553
managarr: init at v0.4.2 (#367042)
JohnRTitor Dec 25, 2024
be3cf62
python312Packages.libuuu: 1.5.182 -> 1.5.182.post1 (#368083)
GaetanLepage Dec 25, 2024
06539f7
python312Packages.pystache: 0.6.6 -> 0.6.7
r-ryantm Dec 25, 2024
3beb804
python312Packages.kserve: 0.14.0 -> 0.14.1
GaetanLepage Dec 25, 2024
bcf9777
koboldcpp: update `cudaArches` example, remove `gitUpdater`, drop `op…
JohnRTitor Dec 25, 2024
6598673
waymore: init at 4.7 (#366822)
GaetanLepage Dec 25, 2024
6b722ce
python312Packages.httpx-oauth: 0.16.0 -> 0.16.1 (#368088)
SuperSandro2000 Dec 25, 2024
2ea61d0
nixos/dolibarr: change permissions of conf.php to read only (#367…
GaetanLepage Dec 25, 2024
bb881a6
deepin.deepin-editor: 6.5.2 -> 6.5.8 (#367891)
wineee Dec 25, 2024
8b193d7
nixos/hostapd: remove CCMP-256 from recommended ciphers
oddlama Dec 22, 2024
db3422a
nixos/hostapd: remove CCMP from recommended ciphers (#367464)
misuzu Dec 25, 2024
72f5c0b
mdcat: 2.7.0 -> 2.7.1
r-ryantm Dec 25, 2024
a3484e1
structorizer: 3.32-23 -> 3.32-24 (#366912)
nixpkgs-merge-bot[bot] Dec 25, 2024
cfeb7de
python312Packages.kserve: 0.14.0 -> 0.14.1 (#368132)
GaetanLepage Dec 25, 2024
4f254b2
nixos/duckdns: add to module list and release notes
Liassica Dec 25, 2024
7208b31
nixos/duckdns: add to module list (#367997)
misuzu Dec 25, 2024
2df2083
python312Packages.pystache: 0.6.6 -> 0.6.7 (#368141)
NickCao Dec 25, 2024
3765be9
nixos/fcitx5: handle multi-line string and escape in quickPhrase (#36…
NickCao Dec 25, 2024
7ffdc09
kubectl-cnpg: 1.24.1 -> 1.24.2 (#367644)
nixpkgs-merge-bot[bot] Dec 25, 2024
1f5a376
mdcat: 2.7.0 -> 2.7.1 (#368157)
SuperSandro2000 Dec 25, 2024
377d819
python312Packages.amaranth-boards: 0-unstable-2024-10-18 -> 0-unstabl…
pbsds Dec 25, 2024
e86bead
readarr: 0.4.5.2699 -> 0.4.6.2711 (#367611)
Lassulus Dec 25, 2024
f6a2e6a
llvmPackages_19.libclc: fix cross compilation (#366701)
vcunat Dec 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9734,6 +9734,12 @@
githubId = 36667224;
name = "Yingchi Long";
};
IncredibleLaser = {
github = "IncredibleLaser";
githubId = 45564436;
matrix = "@incrediblelaser:tchncs.de";
name = "Gereon Schomber";
};
indexyz = {
email = "[email protected]";
github = "5aaee9";
Expand Down
5 changes: 5 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@

- [waagent](https://github.com/Azure/WALinuxAgent), the Microsoft Azure Linux Agent (waagent) manages Linux provisioning and VM interaction with the Azure Fabric Controller. Available with [services.waagent](options.html#opt-services.waagent.enable).

- [duckdns](https://www.duckdns.org), free dynamic DNS. Available with [services.duckdns](options.html#opt-services.duckdns.enable)

- [nostr-rs-relay](https://git.sr.ht/~gheartsfield/nostr-rs-relay/), This is a nostr relay, written in Rust. Available as [services.nostr-rs-relay](options.html#opt-services.nostr-rs-relay.enable).

- [Actual Budget](https://actualbudget.org/), a local-first personal finance app. Available as [services.actual](#opt-services.actual.enable).
Expand Down Expand Up @@ -153,6 +155,9 @@

- `vscode-utils.buildVscodeExtension` now requires pname as an argument

- The behavior of `services.hostapd.radios.<name>.networks.<name>.authentication.enableRecommendedPairwiseCiphers` was changed to not include `CCMP-256` anymore.
Since all configured pairwise ciphers have to be supported by the radio, this caused startup failures on many devices which is hard to debug in hostapd.

- `nerdfonts` has been separated into individual font packages under the namespace `nerd-fonts`. The directories for font
files have changed from `$out/share/fonts/{opentype,truetype}/NerdFonts` to
`$out/share/fonts/{opentype,truetype}/NerdFonts/<fontDirName>`, where `<fontDirName>` can be found in the
Expand Down
76 changes: 45 additions & 31 deletions nixos/modules/i18n/input-method/fcitx5.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}:
let
imcfg = config.i18n.inputMethod;
cfg = imcfg.fcitx5;
fcitx5Package =
if cfg.plasma6Support
then pkgs.qt6Packages.fcitx5-with-addons.override { inherit (cfg) addons; }
else pkgs.libsForQt5.fcitx5-with-addons.override { inherit (cfg) addons; };
if cfg.plasma6Support then
pkgs.qt6Packages.fcitx5-with-addons.override { inherit (cfg) addons; }
else
pkgs.libsForQt5.fcitx5-with-addons.override { inherit (cfg) addons; };
settingsFormat = pkgs.formats.ini { };
in
{
Expand Down Expand Up @@ -108,40 +114,48 @@ in
config = lib.mkIf (imcfg.enable && imcfg.type == "fcitx5") {
i18n.inputMethod.package = fcitx5Package;

i18n.inputMethod.fcitx5.addons = lib.optionals (cfg.quickPhrase != { }) [
(pkgs.writeTextDir "share/fcitx5/data/QuickPhrase.mb"
(lib.concatStringsSep "\n"
(lib.mapAttrsToList (name: value: "${name} ${value}") cfg.quickPhrase)))
] ++ lib.optionals (cfg.quickPhraseFiles != { }) [
(pkgs.linkFarm "quickPhraseFiles" (lib.mapAttrs'
(name: value: lib.nameValuePair ("share/fcitx5/data/quickphrase.d/${name}.mb") value)
cfg.quickPhraseFiles))
];
i18n.inputMethod.fcitx5.addons =
lib.optionals (cfg.quickPhrase != { }) [
(pkgs.writeTextDir "share/fcitx5/data/QuickPhrase.mb" (
lib.mapAttrsToList (
name: value: "${name} ${builtins.replaceStrings [ "\\" "\n" ] [ "\\\\" "\\n" ] value}"
) cfg.quickPhrase
))
]
++ lib.optionals (cfg.quickPhraseFiles != { }) [
(pkgs.linkFarm "quickPhraseFiles" (
lib.mapAttrs' (
name: value: lib.nameValuePair ("share/fcitx5/data/quickphrase.d/${name}.mb") value
) cfg.quickPhraseFiles
))
];
environment.etc =
let
optionalFile = p: f: v: lib.optionalAttrs (v != { }) {
"xdg/fcitx5/${p}".text = f v;
};
optionalFile =
p: f: v:
lib.optionalAttrs (v != { }) {
"xdg/fcitx5/${p}".text = f v;
};
in
lib.attrsets.mergeAttrsList [
(optionalFile "config" (lib.generators.toINI { }) cfg.settings.globalOptions)
(optionalFile "profile" (lib.generators.toINI { }) cfg.settings.inputMethod)
(lib.concatMapAttrs
(name: value: optionalFile
"conf/${name}.conf"
(lib.generators.toINIWithGlobalSection { })
value)
cfg.settings.addons)
(lib.concatMapAttrs (
name: value: optionalFile "conf/${name}.conf" (lib.generators.toINIWithGlobalSection { }) value
) cfg.settings.addons)
];

environment.variables = {
XMODIFIERS = "@im=fcitx";
QT_PLUGIN_PATH = [ "${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}" ];
} // lib.optionalAttrs (!cfg.waylandFrontend) {
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
} // lib.optionalAttrs cfg.ignoreUserConfig {
SKIP_FCITX_USER_PATH = "1";
};
environment.variables =
{
XMODIFIERS = "@im=fcitx";
QT_PLUGIN_PATH = [ "${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}" ];
}
// lib.optionalAttrs (!cfg.waylandFrontend) {
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
}
// lib.optionalAttrs cfg.ignoreUserConfig {
SKIP_FCITX_USER_PATH = "1";
};
};
}
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@
./services/misc/disnix.nix
./services/misc/docker-registry.nix
./services/misc/domoticz.nix
./services/misc/duckdns.nix
./services/misc/duckling.nix
./services/misc/dwm-status.nix
./services/misc/dysnomia.nix
Expand Down
10 changes: 4 additions & 6 deletions nixos/modules/services/networking/hostapd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ let
attrNames
attrValues
concatLists
concatMap
concatMapStrings
concatStringsSep
count
Expand All @@ -34,11 +33,9 @@ let
mkOption
mkPackageOption
mkRemovedOptionModule
optional
optionalAttrs
optionalString
optionals
singleton
stringLength
toLower
types
Expand Down Expand Up @@ -710,7 +707,7 @@ in {

pairwiseCiphers = mkOption {
default = ["CCMP"];
example = ["CCMP-256" "GCMP-256"];
example = ["GCMP" "GCMP-256"];
type = types.listOf types.str;
description = ''
Set of accepted cipher suites (encryption algorithms) for pairwise keys (unicast packets).
Expand All @@ -719,7 +716,8 @@ in {

Please refer to the hostapd documentation for allowed values. Generally, only
CCMP or GCMP modes should be considered safe options. Most devices support CCMP while
GCMP is often only available with devices supporting WiFi 5 (IEEE 802.11ac) or higher.
GCMP and GCMP-256 is often only available with devices supporting WiFi 5 (IEEE 802.11ac) or higher.
CCMP-256 support is rare.
'';
};

Expand Down Expand Up @@ -906,7 +904,7 @@ in {
bssCfg = bssSubmod.config;
pairwiseCiphers =
concatStringsSep " " (unique (bssCfg.authentication.pairwiseCiphers
++ optionals bssCfg.authentication.enableRecommendedPairwiseCiphers ["CCMP" "CCMP-256" "GCMP" "GCMP-256"]));
++ optionals bssCfg.authentication.enableRecommendedPairwiseCiphers ["CCMP" "GCMP" "GCMP-256"]));
in {
settings = {
ssid = bssCfg.ssid;
Expand Down
Loading
Loading