8000 GitHub - alvaro17f/ox: 🚀 powerful nixos updater
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alvaro17f/ox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
< 8000 /div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OX

ox is a command line tool for managing NixOS configuration.

⚠️ Work in Progress: This project is currently under development. Some features may not be complete and may change in the future.

Installation

To install ox, you can clone the repository and compile the source code:

git clone https://github.com/alvaro17f/ox.git
cd ox
odin build .

then move the binary to a directory in your PATH:

sudo mv ox <PATH>

NixOS

Run

To run ox, you can use the following command:

nix run github:alvaro17f/ox

If you need to pass arguments, you can use the following command:

nix run github:alvaro17f/ox -- help

Flake

Add ox to your flake.nix file:

{
    inputs = {
        ox.url = "github:alvaro17f/ox";
    };
}

then include it in your system configuration:

{ inputs, pkgs, ... }:
{
    home.packages = [
        inputs.ox.packages.${pkgs.system}.default
    ];
}

Usage

 ***************************************************
 OX - A simple CLI tool to update your nixos system
 ***************************************************
 -r : set repo path (default is $HOME/.dotfiles)
 -n : set hostname (default is OS hostname)
 -k : set generations to keep (default is 10)
 -u : set update to true (default is false)
 -d : set diff to true (default is false)
 -h, help : Display this help message
 -v, version : Display the current version

License

ox is distributed under the MIT license. See the LICENSE file for more information.

About

🚀 powerful nixos updater

Topics

Resources< 57FD /h3>

License

Stars

Watchers

Forks

Packages

No packages published
0