xin/bins/default.nix

13 lines
539 B
Nix
Raw Normal View History

2022-08-25 12:21:35 -06:00
{ pkgs, lib, isUnstable, ... }:
let
oathPkg = pkgs.oath-toolkit or pkgs.oathToolkit;
ix = pkgs.writeScriptBin "ix" (import ./ix.nix { inherit (pkgs) perl; });
rage = pkgs.writeScriptBin "rage" (import ./rage.nix { inherit pkgs; });
sfetch = pkgs.writeScriptBin "sfetch"
(import ./sfetch.nix { inherit (pkgs) minisign curl; });
checkRestart = pkgs.writeScriptBin "check-restart"
(import ./check-restart.nix { inherit (pkgs) perl; });
in {
environment.systemPackages = with pkgs; [ rage ix sfetch xclip checkRestart ];
}