Skip to content
/ px Public

[Mirror] px is a guix overlay that aims to automate certain steps, and offer additional guidance where necessary.

License

Notifications You must be signed in to change notification settings

PantherXOS/px

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PX

px is a guix and flatpak "wrapper" that aims to automate certain steps, and offer additional guidance where necessary.

Introduction

Unless otherwise noted below, all guix commands work as usual:

px package -s <package>
px system reconfigure /etc/system.scm

Let's have a look at px specific commands:

Reconfigure

To apply configuration changes in /etc/system.scm run as root:

px reconfigure

Update

To run a update, do:

px update
px update apply # skip prompt after pull

This will differentiate between root and user automatically. This command assumes to find the system configuration at /etc/system.scm.

What it does is:

  1. guix pull --channels=/etc/guix/channels.scm
  2. depending on user:
    • (root) guix system reconfigure /etc/system.scm; guix package -u
    • (user) guix package -u
  3. (user) flatpak --user --assumeyes --noninteractive update

Maintenance

If you're running into issues like GTK font's not displaying, or substitutes not downloading, do:

px maintenance

If in doubt, run this as both user and root.

Flatpak support

Flatpak support is limited to updating applications installed with --user flag. No additional commands are supported.

px-update will by default attempt to install Flatpak and Flatpak-application updates.

Development

Quick test:

rsync -r --exclude={'venv','.git','__pycache','tests'} ../px root@<IP>:/root
cd px; python3 -m venv venv; source venv/bin/activate; pip3 install .; px update apply

To test in a pure environment:

guix environment --pure \
--ad-hoc python python-setuptools fontconfig coreutils bash

Do note that it will fail to find most, currently installed apps since they are not part of the environment.

About

[Mirror] px is a guix overlay that aims to automate certain steps, and offer additional guidance where necessary.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages