A simple gtk4/libadwaita software center to easily install and manage nix packages
Go to file
Victor Fuentes ea7fa1f3bc
Merge pull request #23 from SuperSandro2000/flake-packages.default
Use new flake default package attr
2023-02-12 16:24:59 -05:00
build-aux Initial commit 2022-08-26 17:48:43 -04:00
data Consistent license 2023-01-17 13:32:45 -05:00
nsc-helper Update cargo dependencies 2023-02-06 17:55:19 -05:00
po Initial commit 2022-08-26 17:48:43 -04:00
src Fix file dialog panic 2023-02-06 17:57:02 -05:00
.gitignore Update resources 2022-10-27 19:19:24 -04:00
Cargo.lock Bump 0.1.1 2023-02-06 18:40:59 -05:00
Cargo.toml Bump 0.1.1 2023-02-06 18:40:59 -05:00
default.nix Bump 0.1.1 2023-02-06 18:40:59 -05:00
flake.lock Update flake.lock 2023-02-06 17:56:45 -05:00
flake.nix Use new flake default package attr 2023-02-12 21:13:19 +01:00
LICENSE Specify license 2022-09-01 00:52:37 -04:00
meson_options.txt Initial commit 2022-08-26 17:48:43 -04:00
meson.build Bump 0.1.1 2023-02-06 18:40:59 -05:00
README.md Update README 2023-02-06 18:47:18 -05:00

Nix Software Center

Built with Nix License: GPLv3 Chat on Matrix Chat on Discord

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 or nix-env
  • Show updates for all installed packages
  • Search for packages
  • Launch applications without installing via nix-shell and nix run

NixOS Flakes Installation

flake.nix

{
  inputs = {
    # other inputs
    nix-software-center.url = "github:vlinkz/nix-software-center";
# rest of flake.nix

configuration.nix

environment.systemPackages = with pkgs; [
    inputs.nix-software-center.packages.${system}.nix-software-center
    # rest of your packages
];

NixOS Installation

Head of configuration.nix

{ config, pkgs, lib, ... }:
let
  nix-software-center = (import (pkgs.fetchFromGitHub {
    owner = "vlinkz";
    repo = "nix-software-center";
    rev = "0.1.1";
    sha256 = "0frigabszyfkphfbsniaa1d546zm8a2gx0cqvk2fr2qfa71kd41n";
  })) {};
in

Packages:

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

'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.