mirror of
https://github.com/vlinkz/nix-software-center.git
synced 2024-09-11 21:37:38 +03:00
A simple gtk4/libadwaita software center to easily install and manage nix packages
build-aux | ||
data | ||
nsc-helper | ||
po | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
meson_options.txt | ||
meson.build | ||
README.md |
Nix Software Center
A graphical app store for Nix built with libadwaita, GTK4, and Relm4. Heavily inspired by GNOME Software.
![](/vlinkz/nix-software-center/media/commit/f355d403360d5d5758acd2f7b13ebeb67c78e5eb/data/screenshots/overview-light.png#gh-light-mode-only)
![](/vlinkz/nix-software-center/media/commit/f355d403360d5d5758acd2f7b13ebeb67c78e5eb/data/screenshots/overview-dark.png#gh-dark-mode-only)
Features
- Install packages to
configuration.nix
- Flakes support can be enabled in the preferences menu
- Install packages with
nix profile
ornix-env
- Show updates for all installed packages
- Search for packages
- Launch applications without installing via
nix-shell
andnix run
NixOS Installation
Head of configuration.nix
{ config, pkgs, lib, ... }:
let
nix-software-center = (import (pkgs.fetchFromGitHub {
owner = "vlinkz";
repo = "nix-software-center";
rev = "0.0.3";
sha256 = "sha256-r5xOi/dd/hW/gdi0X0tHFFt2w82S9PFhZSXPeCA69ig=";
})) {};
in
Packages:
environment.systemPackages =
with pkgs; [
nix-software-center
# rest of your packages
];
For any other method of installation, when rebuilding you will be prompted to authenticate twice in a row by pkexec
'nix profile' installation
nix profile install github:vlinkz/nix-software-center
'nix-env' Installation
git clone https://github.com/vlinkz/nix-software-center
nix-env -f nix-software-center -i nix-software-center
Single run on an flakes enabled system:
nix run github:vlinkz/nix-software-center
Single run on non-flakes enabled system:
nix --extra-experimental-features "nix-command flakes" run github:vlinkz/nix-software-center
Debugging
RUST_LOG=nix_software_center=trace nix-software-center
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.