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 #252

Merged
merged 66 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
3e7fb95
hid-tmff2: 0.81 -> 0.82
RaySlash Nov 16, 2024
8fa4a6c
asusd: support multiple aura configs
marcin-serwin Oct 13, 2024
224730a
asak: cleanup
donovanglover Dec 22, 2024
3398adc
asak: install shell completions
donovanglover Dec 22, 2024
525e4d6
asak: install man page
donovanglover Dec 22, 2024
1dfd78e
openroad: unstable-2023-08-26 -> 2.0-unstable-2024-12-22
hzeller Dec 22, 2024
1d2118f
asusd: allow specifying configs via paths
marcin-serwin Dec 22, 2024
7238afd
cloudflare-warp: 2024.11.309 -> 2024.12.554
kachick Dec 24, 2024
543967b
snyk: pin Node 20
ofalvai Dec 24, 2024
4abeace
snyk: clean up x86_64-darwin workaround
ofalvai Dec 24, 2024
6de512c
python312Packages.subarulink: 0.7.12 -> 0.7.13
fabaff Dec 25, 2024
c256e28
python312Packages.python-overseerr: init at 0.1.0
fabaff Dec 25, 2024
0b9c9f8
python312Packages.pinecone-plugin-interface: init at 0.0.7
Bot-wxt1221 Dec 25, 2024
92020ff
python312Packages.pinecone-plugin-inference: init at 3.1.0
Bot-wxt1221 Dec 25, 2024
ce8e4bc
python312Packages.pinecone-plugin: 4.1.2 -> 5.4.2
Bot-wxt1221 Dec 25, 2024
d0b5464
python312Packages.boto3-stubs: 1.35.86 -> 1.35.87
fabaff Dec 25, 2024
f07c031
python312Packages.botocore-stubs: 1.35.86 -> 1.35.87
fabaff Dec 25, 2024
c54df53
python312Packages.publicsuffixlist: 1.0.2.20241221 -> 1.0.2.20241225
fabaff Dec 25, 2024
d294eea
python312Packages.iocsearcher: 2.4.3-unstable-2024-10-08 -> 2.4.8
fabaff Dec 25, 2024
d37cf82
python312Packages.llama-cloud: 0.1.6 -> 0.1.7
r-ryantm Dec 26, 2024
ec058a1
python312Packages.litestar-htmx: init at 0.4.1
Bot-wxt1221 Dec 25, 2024
e0edb71
python312Packages.polyfactory: 2.18.1 -> 2.18.1-unstable-2024-12-22
Bot-wxt1221 Dec 25, 2024
96380f2
litestar: 2.12.1 -> 2.13.0
Bot-wxt1221 Dec 25, 2024
46717f4
python312Packages.weaviate-client: disabled failed test
Bot-wxt1221 Dec 26, 2024
7344c03
fastfetch: 2.32.1 -> 2.33.0
khaneliman Dec 26, 2024
b1d7809
fastfetch: disable flashfetch binary by default
khaneliman Dec 26, 2024
57b90e8
python312Packages.onnxmltools: 1.12.0 -> 1.13
r-ryantm Dec 26, 2024
190d01c
python312Packages.pysigma-backend-splunk: 1.1.0 -> 1.1.2
r-ryantm Dec 26, 2024
3d2a98c
asusd: add release note about breaking changes
marcin-serwin Dec 26, 2024
be86a5f
python312Packages.tencentcloud-sdk-python: 3.0.1288 -> 3.0.1289
fabaff Dec 26, 2024
6e99564
python312Packages.oracledb: 2.4.1 -> 2.5.1
fabaff Dec 26, 2024
c5fbefe
proxsuite: fix build with clang
wegank Dec 26, 2024
e4cc105
python312Packages.total-connect-client: 2024.12 -> 2024.12.1
r-ryantm Dec 26, 2024
52e018f
ankama-launcher: 3.12.27 -> 3.12.28
GaetanLepage Dec 26, 2024
46e8803
python312Packages.gehomesdk: 0.5.30 -> 0.5.41
r-ryantm Dec 26, 2024
e108e6b
openroad: unstable-2023-08-26 -> 2.0-unstable-2024-12-22 (#367295)
wegank Dec 26, 2024
374bfbe
fastfetch: 2.32.1 -> 2.33.0; disable flashfetch binary by default (#…
khaneliman Dec 26, 2024
3bae669
erlang_24: remove as unmaintained
adamcstephens Dec 26, 2024
ea03447
snyk: pin Node 20 (#367914)
GaetanLepage Dec 26, 2024
6351181
python312Packages.gehomesdk: 0.5.30 -> 0.5.41 (#368330)
fabaff Dec 26, 2024
ab2d19f
python312Packages.pysigma-backend-splunk: 1.1.0 -> 1.1.2 (#368269)
fabaff Dec 26, 2024
ad7f98b
python312Packages.llama-cloud: 0.1.6 -> 0.1.7 (#368236)
fabaff Dec 26, 2024
54578d6
python312Packages.python-overseerr: init at 0.1.0 (#368104)
fabaff Dec 26, 2024
0ce15c9
python312Packages.subarulink: 0.7.12 -> 0.7.13 (#368096)
fabaff Dec 26, 2024
8528b28
python312Packages.publicsuffixlist: 1.0.2.20241221 -> 1.0.2.20241225 …
fabaff Dec 26, 2024
2c0bc27
litestar: 2.12.1 -> 2.13.0 (#368121)
happysalada Dec 26, 2024
925c8f7
python312Packages.onnxmltools: 1.12.0 -> 1.13 (#368259)
happysalada Dec 26, 2024
09ec360
python312Packages.pinecone-plugin: 4.1.2 -> 5.4.2 (#368113)
happysalada Dec 26, 2024
a0bb351
mobilizon: pin to erlang 26
adamcstephens Dec 26, 2024
1f25381
python312Packages.boto3-stubs: 1.35.86 -> 1.35.87, python312Packages.…
fabaff Dec 26, 2024
ad6f4bc
cloudflare-warp: 2024.11.309 -> 2024.12.554 (#367817)
marcusramberg Dec 26, 2024
da5185e
hid-tmff2: 0.81 -> 0.82 (#356375)
FliegendeWurst Dec 26, 2024
05e9272
python312Packages.iocsearcher: 2.4.3-unstable-2024-10-08 -> 2.4.8 (#3…
fabaff Dec 26, 2024
ffff9c2
python312Packages.total-connect-client: 2024.12 -> 2024.12.1 (#368318)
dotlambda Dec 26, 2024
05886de
python312Packages.yaramod: 4.0.1 -> 4.0.2
fabaff Dec 26, 2024
52248ea
ankama-launcher: 3.12.27 -> 3.12.28 (#368337)
GaetanLepage Dec 26, 2024
abbb41c
mobilizon: pin to erlang 26 (#368345)
adamcstephens Dec 26, 2024
eb549f0
erlang_24: remove as unmaintained (#368342)
adamcstephens Dec 26, 2024
0353967
asusd: Support for multiple aura device configs (#348226)
K900 Dec 26, 2024
ac917a1
python312Packages.yaramod: 4.0.1 -> 4.0.2 (#368353)
fabaff Dec 26, 2024
b2792b3
python312Packages.oracledb: 2.4.1 -> 2.5.1 (#368309)
fabaff Dec 26, 2024
fa3448d
python312Packages.tencentcloud-sdk-python: 3.0.1288 -> 3.0.1289 (#368…
fabaff Dec 26, 2024
1557114
asak: add man pages and shell completions (#367372)
donovanglover Dec 26, 2024
50c4f70
testers.hasPkgConfigModules: Shorten derivation name
roberth Dec 3, 2024
300e97b
testers.hasPkgConfigModules: Simplify derivation name, use package name
roberth Dec 3, 2024
efd9668
proxsuite: fix build with clang (#368311)
wegank Dec 26, 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
2 changes: 1 addition & 1 deletion doc/languages-frameworks/beam.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Usually, we need to create a `shell.nix` file and do our development inside of t

with pkgs;
let
elixir = beam.packages.erlang_24.elixir_1_18;
elixir = beam.packages.erlang_27.elixir_1_18;
in
mkShell {
buildInputs = [ elixir ];
Expand Down
6 changes: 6 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@

- `ps3-disc-dumper` was updated to 4.2.5, which removed the CLI project and now exclusively offers the GUI

- `asusd` has been upgraded to version 6 which supports multiple aura devices. To account for this, the single `auraConfig` configuration option has been replaced with `auraConfigs` which is an attribute set of config options per each device. The config files may also be now specified as either source files or text strings; to account for this you will need to specify that `text` is used for your existing configs, e.g.:
```diff
-services.asusd.asusdConfig = '''file contents'''
+services.asusd.asusdConfig.text = '''file contents'''
```

- `timescaledb` requires manual upgrade steps.
After you run ALTER EXTENSION, you must run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql). For more details, see the following pull requests [#6797](https://github.com/timescale/timescaledb/pull/6797).
PostgreSQL 13 is no longer supported in TimescaleDB v2.16.
Expand Down
168 changes: 104 additions & 64 deletions nixos/modules/services/hardware/asusd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,74 +9,110 @@ let
cfg = config.services.asusd;
in
{
imports = [
(lib.mkRemovedOptionModule
[
"services"
"asusd"
"auraConfig"
]
''
This option has been replaced by `services.asusd.auraConfigs' because asusd
supports multiple aura devices since version 6.0.0.
''
)
];

options = {
services.asusd = {
enable = lib.mkEnableOption "the asusd service for ASUS ROG laptops";
services.asusd =
with lib.types;
let
configType = submodule (
{ text, source, ... }:
{
options = {
text = lib.mkOption {
default = null;
type = nullOr lines;
description = "Text of the file.";
};

package = lib.mkPackageOption pkgs "asusctl" { };
source = lib.mkOption {
default = null;
type = nullOr path;
description = "Path of the source file.";
};
};
}
);
in
{
enable = lib.mkEnableOption "the asusd service for ASUS ROG laptops";

enableUserService = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Activate the asusd-user service.
'';
};
package = lib.mkPackageOption pkgs "asusctl" { };

animeConfig = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The content of /etc/asusd/anime.ron.
See https://asus-linux.org/asusctl/#anime-control.
'';
};
enableUserService = lib.mkOption {
type = bool;
default = false;
description = ''
Activate the asusd-user service.
'';
};

asusdConfig = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The content of /etc/asusd/asusd.ron.
See https://asus-linux.org/asusctl/.
'';
};
animeConfig = lib.mkOption {
type = nullOr configType;
default = null;
description = ''
The content of /etc/asusd/anime.ron.
See https://asus-linux.org/asusctl/#anime-control.
'';
};

auraConfig = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The content of /etc/asusd/aura.ron.
See https://asus-linux.org/asusctl/#led-keyboard-control.
'';
};
asusdConfig = lib.mkOption {
type = nullOr configType;
default = null;
description = ''
The content of /etc/asusd/asusd.ron.
See https://asus-linux.org/asusctl/.
'';
};

profileConfig = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The content of /etc/asusd/profile.ron.
See https://asus-linux.org/asusctl/#profiles.
'';
};
auraConfigs = lib.mkOption {
type = attrsOf configType;
default = { };
description = ''
The content of /etc/asusd/aura_<name>.ron.
See https://asus-linux.org/asusctl/#led-keyboard-control.
'';
};

fanCurvesConfig = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The content of /etc/asusd/fan_curves.ron.
See https://asus-linux.org/asusctl/#fan-curves.
'';
};
profileConfig = lib.mkOption {
type = nullOr configType;
default = null;
description = ''
The content of /etc/asusd/profile.ron.
See https://asus-linux.org/asusctl/#profiles.
'';
};

fanCurvesConfig = lib.mkOption {
type = nullOr configType;
default = null;
description = ''
The content of /etc/asusd/fan_curves.ron.
See https://asus-linux.org/asusctl/#fan-curves.
'';
};

userLedModesConfig = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The content of /etc/asusd/asusd-user-ledmodes.ron.
See https://asus-linux.org/asusctl/#led-keyboard-control.
'';
userLedModesConfig = lib.mkOption {
type = nullOr configType;
default = null;
description = ''
The content of /etc/asusd/asusd-user-ledmodes.ron.
See https://asus-linux.org/asusctl/#led-keyboard-control.
'';
};
};
};
};

config = lib.mkIf cfg.enable {
Expand All @@ -86,19 +122,23 @@ in
let
maybeConfig =
name: cfg:
lib.mkIf (cfg != null) {
source = pkgs.writeText name cfg;
mode = "0644";
};
lib.mkIf (cfg != null) (
(if (cfg.source != null) then { source = cfg.source; } else { text = cfg.text; })
// {
mode = "0644";
}
);
in
{
"asusd/anime.ron" = maybeConfig "anime.ron" cfg.animeConfig;
"asusd/asusd.ron" = maybeConfig "asusd.ron" cfg.asusdConfig;
"asusd/aura.ron" = maybeConfig "aura.ron" cfg.auraConfig;
"asusd/profile.ron" = maybeConfig "profile.ron" cfg.profileConfig;
"asusd/fan_curves.ron" = maybeConfig "fan_curves.ron" cfg.fanCurvesConfig;
"asusd/asusd_user_ledmodes.ron" = maybeConfig "asusd_user_ledmodes.ron" cfg.userLedModesConfig;
};
}
// lib.attrsets.concatMapAttrs (prod_id: value: {
"asusd/aura_${prod_id}.ron" = maybeConfig "aura_${prod_id}.ron" value;
}) cfg.auraConfigs;

services.dbus.enable = true;
systemd.packages = [ cfg.package ];
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading