nixos/gnome: Install GNOME Software using module

gnome-software now uses systemd instead of autostart so we need to add it to `systemd.packages`:
0880577507
This commit is contained in:
Jan Tojnar 2025-10-04 17:56:12 +02:00
commit 9890d02c0a
3 changed files with 60 additions and 32 deletions

View file

@ -0,0 +1,28 @@
{
config,
pkgs,
lib,
...
}:
{
meta = {
maintainers = lib.teams.gnome.members;
};
options = {
services.gnome.gnome-software = {
enable = lib.mkEnableOption "GNOME Software, package manager for GNOME";
};
};
config = lib.mkIf config.services.gnome.gnome-software.enable {
environment.systemPackages = [
pkgs.gnome-software
];
systemd.packages = [
pkgs.gnome-software
];
};
}