🛍️ | A simple gtk4/libadwaita software center to easily install and manage nix packages [maintainer=@bahrom04]
- Rust 97%
- Meson 1.6%
- Nix 0.9%
- Just 0.4%
- CSS 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo | ||
| .zed | ||
| build-aux | ||
| data | ||
| nsc-helper | ||
| packages | ||
| po | ||
| releases | ||
| shells/nix-software-center | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| LICENSE | ||
| meson.build | ||
| meson_options.txt | ||
| README.md | ||
| rust-toolchain.toml | ||
Nix Software Center
A graphical app store for Nix built with libadwaita, GTK4, and Relm4. Heavily inspired by GNOME Software.
Features
- Install packages to
configuration.nix- Flakes support can be enabled in the preferences menu
- Install packages with
nix profile - Show updates for all installed packages
- Search for packages
- Launch applications without installing via
nix shellandnix run
NixOS Flakes Installation
flake.nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nix-software-center.url = "git+https://git.oss.uzinfocom.uz/xinux/software-center";
};
outputs = inputs@{ self, nixpkgs, nix-software-center }: {
nixosConfigurations = {
workstation = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
specialArgs = { inherit inputs; };
};
};
};
}
configuration.nix
{ inputs, config, lib, pkgs, ... }: # add inputs here
{
...
environment.systemPackages = with pkgs; [
inputs.nix-software-center.packages.${stdenv.hostPlatform.system}.default
# rest of your packages
];
...
}
NixOS Installation
Head of configuration.nix
if you are on unstable channel or any version after 22.11:
{ config, pkgs, lib, ... }:
let
nix-software-center = fetchFromForgejo {
domain = "git.oss.uzinfocom.uz";
owner = "xinux";
repo = "software-center";
tag = finalAttrs.version;
hash = ""; # add shaa
};
in
...
environment.systemPackages =
with pkgs; [
nix-software-center
# rest of your packages
];
For any other method of installation, when rebuilding you might be prompted to authenticate twice in a row by pkexec
Single run on an flakes enabled system:
nix run git+https://git.oss.uzinfocom.uz/xinux/software-center
Build & run
This application has Linux-only dependencies.
# download dependencies
nix develop
just install
just run
# or with nix when ready for release
nix build . --show-trace
./settings/result/bin/settings
# Optional. Generate translation words from /po/POTFILES.in if needed.
cd ./po
xgettext --directory=.. --files-from=POTFILES.in --from-code=UTF-8 -kgettext -o translations.pot
Screenshots
Licenses
Some icons in data/icons contains assets from the NixOS logo and are licensed under a CC-BY license.
Some icons in data/icons contains assets from GNOME Software and are licensed under CC0-1.0.