mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 16:57:55 +00:00
49592d7f01
I also fixed the long-time occuring error when using the newest version of the channel (or the unstable one). It turns out to be a simple type error with the `my.user' attribute. (To be honest the error messages are quite horrible.) On another note, I also accidentally bricked my NixOS setup after a garbage collection and a horrible update. The breakage includes not being able to use any of the builtin tools of Nix (e.g., nix, nix-env, nixos-rebuild) due to a shared library error that has been garbage collected. Which means I have to reinstall it. (I seem to have a talent for breaking things, if only I'm paid for it.)
49 lines
2.0 KiB
Nix
Executable File
49 lines
2.0 KiB
Nix
Executable File
# Here are the base packages for my shell workflow.
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
{
|
|
options.modules.shell.base = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf config.modules.shell.base.enable {
|
|
my.packages = with pkgs; [
|
|
aria2 # The sequel to aria(1).
|
|
aspell # Hunt down a spelling bee champion to come to your shell.
|
|
bat # cat(1) with wings.
|
|
buku # A developer-oriented browser-independent bookmark manager.
|
|
exa # ls(1) after an exodus.
|
|
fd # find(1) after a cognitive behavioral therapy.
|
|
fzf # A fuzzy finder that enables fuzzy finding not furry finding, a common misconception.
|
|
hexyl # Binary viewer with a cool name on the command-line.
|
|
hledger # Do your accountancy thing ON THE COMMAND LINE, sure why not!
|
|
httpie # Want a piece of the HTTP pie.
|
|
gitAndTools.tig # The Deltarune of Git.
|
|
gopass # The improved version of Password Store which is a password manager for hipsters.
|
|
graphviz # The biz central for graphical flowcharts.
|
|
maim # A command-line interface for parsing screenshots.
|
|
jq # A command-line interface for parsing JSON.
|
|
pup # A command-line interface for parsing HTML.
|
|
(ripgrep.override { withPCRE2 = true; }) # Super-fast full-text searcher.
|
|
(recoll.override { withGui = false; }) # Bring the search engine to the desktop!
|
|
sqlite # Battle-tested cute little database that can grow into an abomination of a data spaghetti.
|
|
tree # I'm not a scammer, I swear.
|
|
unzip # Unzip what? The world may never know.
|
|
youtube-dl # A program that can be sued for false advertisement as you can download from other video sources.
|
|
];
|
|
|
|
my.home = {
|
|
programs.bat = {
|
|
enable = true;
|
|
config = {
|
|
theme = "base16";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|