Skip to content

A utility sho stylishly show the date and time written in Rust

License

Notifications You must be signed in to change notification settings

NewDawn0/nixieClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nixie clock

A simple command-line nixie clock which shows the date and time

Requirements

  • A truecolour terminal

Installation

Using cargo install

cargo install --git https://github.com/NewDawn0/nixie-clock.git

Install using Nix

Imperatively

git clone https://github.com/NewDawn0/nixie-clock
nix profile install .

Declaratively

  1. Add it as an input to your system flake as follows

    {
      inputs = {
        # Your other inputs ...
        nixie-clock = {
          url = "github:NewDawn0/nixie-clock";
          inputs.nixpkgs.follows = "nixpkgs";
          # Optional: If you use nix-systems or rust-overlay
          inputs.nix-systems.follows = "nix-systems";
          inputs.rust-overlay.follows = "rust-overlay";
        };
      };
    }
  2. Add the overlay to expose nixie-clock to your pkgs

    overlays = [ inputs.nixie-clock.overlays.default ];
  3. Then you can either install it in your environment.systemPackages using

    environment.systemPackages = with pkgs; [ nixie-clock ];

    or install it to your home.packages

    home.packages = with pkgs; [ nixie-clock ];

Usage

$ nixie-clock

About

A utility sho stylishly show the date and time written in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published