mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 18:36:05 -07:00
migrate to base as part of modules
This commit is contained in:
parent
20e7847ee3
commit
b033a752ae
6
provision/modules/base/default.nix
Normal file
6
provision/modules/base/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./terminal.nix
|
||||
];
|
||||
}
|
23
provision/modules/base/terminal.nix
Normal file
23
provision/modules/base/terminal.nix
Normal 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
|
||||
];
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./base
|
||||
./desktop
|
||||
./devel
|
||||
./gaming
|
||||
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
@ -2,7 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./appgate-sdp.nix
|
||||
./base-terminal.nix
|
||||
./beancount.nix
|
||||
./borg.nix
|
||||
./chrome.nix
|
||||
|
Loading…
x
Reference in New Issue
Block a user