migrate to base as part of modules

This commit is contained in:
Tyler Starr 2025-03-12 22:22:49 -07:00
parent 20e7847ee3
commit b033a752ae
5 changed files with 30 additions and 35 deletions

View File

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./terminal.nix
];
}

View File

@ -0,0 +1,23 @@
{ config, lib, pkgs, user, ... }:
{
environment.systemPackages = with pkgs; [
killall # Command-line utility to terminate processes by name
pciutils # Utilities for inspecting and manipulating devices connected to the PCI bus
btop # Terminal-based resource monitor, providing an interactive view of system resources
nix-search-cli # Command-line utility for searching the Nix package repository
rbw # Command-line interface to the Bitwarden password manager
pinentry-curses # Simple curses-based passphrase entry dialog for GnuPG
bash # GNU Bourne-Again SHell, a command language interpreter for Unix-like operating systems
bash-completion # Provides programmable completion for the bash shell
tmux # Terminal multiplexer, allowing multiple terminal sessions within a single window
nnn # Terminal file manager with a focus on performance and ease of use
advcpmv # Advanced version of the Unix utilities cp and mv
unzip # Command-line utility for extracting files from ZIP archives
trash-cli # Command-line interface to the freedesktop.org Trash
vim # Text editor that is highly configurable and widely used, especially in the Unix environment
ripgrep # Line-oriented search tool that recursively searches directories for a regex pattern
sesh # Smart session manager for the terminal
zoxide # Fast cd command that learns your habits
fzf # Command-line fuzzy finder for Unix-like operating systems
];
}

View File

@ -1,6 +1,7 @@
{ ... }: { ... }:
{ {
imports = [ imports = [
./base
./desktop ./desktop
./devel ./devel
./gaming ./gaming

View File

@ -1,34 +0,0 @@
{ config, lib, pkgs, user, ... }:
let cfg = config.modules.programs.base-terminal;
in {
options.modules.programs.base-terminal = with lib; {
enable = lib.mkOption {
type = with types; bool;
default = true;
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
killall # Command-line utility to terminate processes by name
pciutils # Utilities for inspecting and manipulating devices connected to the PCI bus
btop # Terminal-based resource monitor, providing an interactive view of system resources
nix-search-cli # Command-line utility for searching the Nix package repository
rbw # Command-line interface to the Bitwarden password manager
pinentry-curses # Simple curses-based passphrase entry dialog for GnuPG
bash # GNU Bourne-Again SHell, a command language interpreter for Unix-like operating systems
bash-completion # Provides programmable completion for the bash shell
tmux # Terminal multiplexer, allowing multiple terminal sessions within a single window
nnn # Terminal file manager with a focus on performance and ease of use
advcpmv # Advanced version of the Unix utilities cp and mv
unzip # Command-line utility for extracting files from ZIP archives
trash-cli # Command-line interface to the freedesktop.org Trash
vim # Text editor that is highly configurable and widely used, especially in the Unix environment
ripgrep # Line-oriented search tool that recursively searches directories for a regex pattern
sesh # Smart session manager for the terminal
zoxide # Fast cd command that learns your habits
fzf # Command-line fuzzy finder for Unix-like operating systems
];
};
}

View File

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./appgate-sdp.nix ./appgate-sdp.nix
./base-terminal.nix
./beancount.nix ./beancount.nix
./borg.nix ./borg.nix
./chrome.nix ./chrome.nix