Skip to content

About

A system management utility for NixOS

Resources

Contributing

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

33 Commits

Folders and files

Repository files navigation

system-scripts

system-scripts provides the system command, which can manage a flake-based NixOS system. It can update your lockfile, rebuild your system, commit your changes (if you're using git), and more.

installation

  1. Pass github:tom-ricci/system-scripts to your configuration:
{
    ...
    inputs.system-scripts.url = "github:tom-ricci/system-scripts";
    ...
    outputs = { self, system-scripts, ...}: (
        ...
    );
    ...
}
  1. Append it to environment.systemPackages:
{ pkgs, inputs, ... }: {
    ...
    environment.systemPackages = with pkgs; [
        ...
        inputs.system-scripts."${pkgs.system}".packages.system-scripts
    ];
    ...
}
  1. Set the $SYSTEM_SCRIPTS_CONFIG_ROOT environment variable to the location of your flake. This would've been an option, but flakes don't support options ☹️

usage

Use system --help for more information.

building

See flake.nix.

development

The main branch is stable. All development happens on dev; you can switch to it with inputs.system-scripts.url = "github:tom-ricci/system-scripts/dev"

About

A system management utility for NixOS

Resources

Contributing

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages