Skip to content

Commit

Permalink
Merge branch 'NixOS:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
prinzdezibel authored Dec 11, 2024
2 parents 652cd86 + 204afb3 commit 76749a8
Show file tree
Hide file tree
Showing 102 changed files with 922 additions and 571 deletions.
23 changes: 23 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10519,6 +10519,18 @@
githubId = 1476865;
name = "jigglycrumb";
};
jiriks74 = {
name = "Jiří Štefka";
email = "[email protected]";
github = "jiriks74";
githubId = 54378412;
matrix = "@jiriks74:matrix.org";
keys = [
{
fingerprint = "563AC7887FD6414714A6ACAC1D5E30D3DB2264DE";
}
];
};
jirkamarsik = {
email = "[email protected]";
github = "jirkamarsik";
Expand Down Expand Up @@ -13774,6 +13786,17 @@
githubId = 28183516;
name = "Mateusz Słodkowicz";
};
mateusauler = {
email = "[email protected]";
github = "mateusauler";
githubId = 24767687;
name = "Mateus Auler";
keys = [
{
fingerprint = "A09D C093 3C37 4BFC 2B5A 269F 80A5 D62F 6EB7 D9F0";
}
];
};
math-42 = {
email = "[email protected]";
github = "Math-42";
Expand Down
4 changes: 4 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

- [KanBoard](https://github.com/kanboard/kanboard), a project management tool that focuses on the Kanban methodology. Available as [services.kanboard](#opt-services.kanboard.enable).

- [git-worktree-switcher](https://github.com/mateusauler/git-worktree-switcher), switch between git worktrees with speed. Available as [programs.git-worktree-switcher](#opt-programs.git-worktree-switcher.enable)

<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

## Backward Incompatibilities {#sec-release-25.05-incompatibilities}
Expand All @@ -56,6 +58,8 @@

- `zammad` has had its support for MySQL removed, since it was never working correctly and is now deprecated upstream. Check the [migration guide](https://docs.zammad.org/en/latest/appendix/migrate-to-postgresql.html) for how to convert your database to PostgreSQL.

- `nodePackages.vls` has been deprecated, as the upstream consumer of it, vetur, has been deprecated by upstream. Upstream suggests migrating to Volar for Vue LSP tooling instead.

- `nodePackages.create-react-native-app` has been removed, as it is deprecated. Upstream suggests using a framework for React Native apps instead.

- `nodePackages.insect` has been removed, as it's deprecated by upstream. The suggested replacement is `numbat`.
Expand Down
2 changes: 0 additions & 2 deletions nixos/modules/config/networking.nix
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ in
++ lib.optional (cfg.hostName != "") cfg.hostName; # Then the hostname (without the domain)
in {
"127.0.0.2" = hostnames;
} // lib.optionalAttrs cfg.enableIPv6 {
"::1" = hostnames;
};

networking.hostFiles = let
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/config/qt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ let
qt6Packages.qt6gtk2
];
kde = [
libsForQt5.kio
libsForQt5.plasma-integration
libsForQt5.systemsettings
];
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@
./programs/gdk-pixbuf.nix
./programs/geary.nix
./programs/git.nix
./programs/git-worktree-switcher.nix
./programs/gnome-disks.nix
./programs/gnome-terminal.nix
./programs/gnupg.nix
Expand Down
40 changes: 40 additions & 0 deletions nixos/modules/programs/git-worktree-switcher.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
config,
pkgs,
lib,
...
}:

let
cfg = config.programs.git-worktree-switcher;

initScript =
shell:
if (shell == "fish") then
''
${lib.getExe pkgs.git-worktree-switcher} init ${shell} | source
''
else
''
eval "$(${lib.getExe pkgs.git-worktree-switcher} init ${shell})"
'';
in
{
options = {
programs.git-worktree-switcher = {
enable = lib.mkEnableOption "git-worktree-switcher, switch between git worktrees with speed.";
};
};

config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ git-worktree-switcher ];

programs.bash.interactiveShellInit = initScript "bash";
programs.zsh.interactiveShellInit = lib.optionalString config.programs.zsh.enable (
initScript "zsh"
);
programs.fish.interactiveShellInit = lib.optionalString config.programs.fish.enable (
initScript "fish"
);
};
}
1 change: 1 addition & 0 deletions nixos/modules/programs/yubikey-touch-detector.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ in
};

wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};
systemd.user.sockets.yubikey-touch-detector = {
wantedBy = [ "sockets.target" ];
Expand Down
12 changes: 9 additions & 3 deletions nixos/modules/services/home-automation/ebusd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,11 @@ in

config =
let
usesDev = lib.hasPrefix "/" cfg.device;
usesDev = lib.any (prefix: lib.hasPrefix prefix cfg.device) [
"/"
"ens:/"
"enh:/"
];
in
lib.mkIf cfg.enable {
systemd.services.ebusd = {
Expand Down Expand Up @@ -200,12 +204,14 @@ in

# Hardening
CapabilityBoundingSet = "";
DeviceAllow = lib.optionals usesDev [ cfg.device ];
DeviceAllow = lib.optionals usesDev [
(lib.removePrefix "ens:" (lib.removePrefix "enh:" cfg.device))
];
DevicePolicy = "closed";
LockPersonality = true;
MemoryDenyWriteExecute = false;
NoNewPrivileges = true;
PrivateDevices = usesDev;
PrivateDevices = !usesDev;
PrivateUsers = true;
PrivateTmp = true;
ProtectClock = true;
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/librenms.nix
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ in
systemd.services.librenms-setup = {
description = "Preparation tasks for LibreNMS";
before = [ "phpfpm-librenms.service" ];
after = [ "systemd-tmpfiles-setup.service" ]
after = [ "systemd-tmpfiles-setup.service" "network.target" ]
++ (lib.optional (cfg.database.host == "localhost") "mysql.service");
wantedBy = [ "multi-user.target" ];
restartTriggers = [ package configFile ];
Expand Down
2 changes: 2 additions & 0 deletions nixos/tests/hostname.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ let
fqdn_and_host_name
== machine.succeed("getent hosts 127.0.0.2 | awk '{print $2,$3}'").strip()
)
assert "${fqdn}" == machine.succeed("getent hosts ${hostName} | awk '{print $2}'").strip()
'';
};

Expand Down
7 changes: 6 additions & 1 deletion pkgs/applications/audio/bitwig-studio/bitwig-wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ stdenv.mkDerivation {
chmod -R u+w $TMPDIR/VampTransforms
echo "Starting Bitwig Studio in Bubblewrap Environment"
${bubblewrap}/bin/bwrap --bind / / --bind $TMPDIR/VampTransforms ${bitwig-studio-unwrapped}/libexec/resources/VampTransforms ${bitwig-studio-unwrapped}/bin/bitwig-studio || true
${bubblewrap}/bin/bwrap \
--bind / / \
--bind $TMPDIR/VampTransforms ${bitwig-studio-unwrapped}/libexec/resources/VampTransforms \
--dev-bind /dev /dev \
${bitwig-studio-unwrapped}/bin/bitwig-studio \
|| true
echo "Bitwig exited, removing temporary directory"
rm -rf $TMPDIR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "jupyter";
publisher = "ms-toolsai";
version = "2024.10.0";
hash = "sha256-4b3aE1RgqxEKHMEMlhIjRk4WR3DZRWmqMfGGFQi43J0=";
version = "2024.11.0";
hash = "sha256-BwZLF52ilEaLU6swUFEa+PtrxzsFOLIYd8TVD7xRgPg=";
};

nativeBuildInputs = [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/beetle-wswan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "mednafen-wswan";
version = "0-unstable-2024-06-28";
version = "0-unstable-2024-10-21";

src = fetchFromGitHub {
owner = "libretro";
repo = "beetle-wswan-libretro";
rev = "440e9228592a3f603d7d09e8bee707b0163f545f";
hash = "sha256-+98gCDBYeqUlFGzX83lwTGqSezLnzWRwapZCn4T37uE=";
rev = "2aeb47d3a58bf0360c686f842d9bb5bd201306fe";
hash = "sha256-LrF9p5tPtUamVLC41bJxcYDKvHmhVfwMieyIAdHaGmU=";
};

makefile = "Makefile";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/bluemsx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "bluemsx";
version = "0-unstable-2024-10-22";
version = "0-unstable-2024-12-04";

src = fetchFromGitHub {
owner = "libretro";
repo = "bluemsx-libretro";
rev = "01ce142ccb85c302420cb962d1b6e6a68a6ce076";
hash = "sha256-h3Zpv+h6CbM1pdSOXsjN0pFUjXLn5T/R5W55VZXpMVM=";
rev = "572c91856a5288b7433c619af651e31f00f3ce7e";
hash = "sha256-fN5zjQGIyx3yIEgIhC50gD3O2F6WPJ/ssiauQ5Z/t9s=";
};

meta = {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/fceumm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "fceumm";
version = "0-unstable-2024-09-23";
version = "0-unstable-2024-11-23";

src = fetchFromGitHub {
owner = "libretro";
repo = "libretro-fceumm";
rev = "e226068f979cd8fbfc3be9780d16cfb1405095b0";
hash = "sha256-2G5EzcDJkEhaN+nXi/wu3+Ejim04ZzOr+LW69cLAEuM=";
rev = "449db5de6b56e9d44fc685e1b38399f0b233bd28";
hash = "sha256-yD75ohq7dJwXt6t3RLMwTtmdLGLS3/eb98uBlnazWDk=";
};

meta = {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/fmsx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "fmsx";
version = "0-unstable-2024-06-28";
version = "0-unstable-2024-10-21";

src = fetchFromGitHub {
owner = "libretro";
repo = "fmsx-libretro";
rev = "cf97a3c6da07d5f8e98c90c907ad987ffea432e0";
hash = "sha256-mPgmt05XDnB+eIWtOpBfZ37Cz24VBei1lLLaYsJNeAA=";
rev = "9eb5f25df5397212a3e3088ca1a64db0740bbe5f";
hash = "sha256-Pac1tQvPxYETU+fYU17moBHGfjNtzZiOsOms1uFQAmE=";
};

makefile = "Makefile";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/freeintv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "freeintv";
version = "0-unstable-2024-06-28";
version = "0-unstable-2024-10-21";

src = fetchFromGitHub {
owner = "libretro";
repo = "freeintv";
rev = "6bd91d0d83d896e66b9fd7e5e239f93f00e4ad87";
hash = "sha256-P3devj/aAa0e/QpV68kQkLAvhrVGO8O8ijkUAobgUb0=";
rev = "beab9af119fc117833d2d866d8d4ea0857ec0236";
hash = "sha256-+3hF7OZ2OD8K3OsvzJ3+Nn3DwC7PfD+Mr3Ku2/W/fDQ=";
};

makefile = "Makefile";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/gambatte.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "gambatte";
version = "0-unstable-2024-10-04";
version = "0-unstable-2024-11-29";

src = fetchFromGitHub {
owner = "libretro";
repo = "gambatte-libretro";
rev = "3eeb65e9bcf4b2a7ca24c5cebdfa7e342177ef0f";
hash = "sha256-tNGMR6GIyXen9+Ktg3IvYTcPidc+5Z8TpBQu1YgmqlY=";
rev = "9d92381643a6aad186054fa6019a47b710f73d2c";
hash = "sha256-gbjUIETbGb8i9bQuKRlpPOLnZorA/ho5DqT9AXkojUY=";
};

meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "genesis-plus-gx";
version = "0-unstable-2024-09-18";
version = "0-unstable-2024-11-22";

src = fetchFromGitHub {
owner = "libretro";
repo = "Genesis-Plus-GX";
rev = "7de0f0b6cde9bda1235b448aa607044b3f80ab3c";
hash = "sha256-W06vSrGKbXMcXIouW9/fD93sBfwREqIL8HvB3kan0tM=";
rev = "03ebe2b96ed3f5747588de55ab3fec9add0a49c2";
hash = "sha256-0SAxxJqgxwQfpv4KE0J1Zr0XcGDQzCAbRku9obMamv4=";
};

meta = {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/mesen.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "mesen";
version = "0-unstable-2024-06-09";
version = "0.9.9-unstable-2024-10-21";

src = fetchFromGitHub {
owner = "libretro";
repo = "mesen";
rev = "91db6be681f70b2080525c267af6132555323ea1";
hash = "sha256-rw/bwHaeglO/DPeOCFHAWF5Y5DXVKiteO4bWZjTB4rI=";
rev = "791c5e8153ee6e29691d45b5df2cf1151ff416f9";
hash = "sha256-PEEGJsyT+D/JwBxH2H9OY2MwaGt1i+1kmDZUT6zROic=";
};

makefile = "Makefile";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/nestopia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "nestopia";
version = "0-unstable-2024-10-17";
version = "0-unstable-2024-12-10";

src = fetchFromGitHub {
owner = "libretro";
repo = "nestopia";
rev = "b932740e8abbe2cda80d06b083fdd8115af1c5d5";
hash = "sha256-lIWk3V93vTKZM/jvfLkA06c7DDSEQtLmqRzJUi0TK/4=";
rev = "8b622a6e2a7403fff47830e0437f324ed9f24464";
hash = "sha256-I9YKOV+mPZrcA5bB1KfWk+NaWIxSpBpZT8ntNxSt/m0=";
};

makefile = "Makefile";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/o2em.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "o2em";
version = "0-unstable-2024-06-28";
version = "0-unstable-2024-10-21";

src = fetchFromGitHub {
owner = "libretro";
repo = "libretro-o2em";
rev = "c8f458d035392963823fbb50db0cec0033d9315f";
hash = "sha256-riqMXm+3BG4Gz0wrmVFxtVhuMRtZHZqCViAupp/Q42U=";
rev = "3ba4231c1dc8dcdf487428712856b790d2e4b8f3";
hash = "sha256-HhTkFm9Jte4wDPxTcXRgCg2tCfdQvo0M3nHRhlPmz/w=";
};

makefile = "Makefile";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/emulators/libretro/cores/vba-next.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "vba-next";
version = "0-unstable-2024-06-28";
version = "0-unstable-2024-10-21";

src = fetchFromGitHub {
owner = "libretro";
repo = "vba-next";
rev = "2c726f25da75a5600ef5791ce904befe06c4dddd";
hash = "sha256-Elb6cOm2oO+3fNUaTXLN4kyhftoJ/oWXD571mXApybs=";
rev = "d0ec7f3e209a91b903bb9d2c2397fef2bb3cca32";
hash = "sha256-g3Eb1bMGjt+H7awUlMCtKVu223+UvyQ2VBh8aQG1yo8=";
};

meta = {
Expand Down
Loading

0 comments on commit 76749a8

Please sign in to comment.