How to install Glamorous Toolkit with Nix
Glamorous Toolkit is packaged in Nix so can be installed simply by listing it in systemPackages
. Currently only the x86_64 architecture is supported.
However as updated Virtual Machine's are released fairly regularly, we recommend installing GT from the unstable channel.
If you are using the unstable channel you should be able to just add glamoroustoolkit
to your list of packages:
environment.systemPackages = with pkgs; [
# ...
glamoroustoolkit
# ...
];
If you are using the stable channel and don't already have unstable
configured:
{ config, pkgs, ... }:
let
# Define the unstable channel, reusing the current config
unstable = import
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/nixpkgs-unstable) { config = config.nixpkgs.config; };
in
{
environment.systemPackages = with pkgs; [
# ...
unstable.glamoroustoolkit
# ...
];
}
After the package is installed the following commands are available:
GlamorousToolkit-GetImage
A simple script to install the latest image in to the current working directory.
GlamorousToolkit and GlamorousToolkit-cli
The GUI and CLI versions of the command line.