migrate some base terminal to devel

This commit is contained in:
Tyler Starr 2025-03-12 22:15:45 -07:00
parent 7d2add4ea3
commit 20e7847ee3
6 changed files with 20 additions and 6 deletions

View File

@ -38,6 +38,7 @@
devel = { devel = {
engineering.enable = true; engineering.enable = true;
notes.enable = true; notes.enable = true;
programming.enable = true;
}; };
gaming = { gaming = {
emulation.enable = true; emulation.enable = true;

View File

@ -34,6 +34,7 @@
}; };
devel = { devel = {
engineering.enable = true; engineering.enable = true;
programming.enable = true;
}; };
programs = { programs = {
appgate-sdp.enable = true; appgate-sdp.enable = true;

View File

@ -22,6 +22,7 @@
devel = { devel = {
engineering.enable = true; engineering.enable = true;
notes.enable = true; notes.enable = true;
programming.enable = true;
}; };
programs = { programs = {
kitty.enable = true; kitty.enable = true;

View File

@ -3,5 +3,6 @@
imports = [ imports = [
./engineering.nix ./engineering.nix
./notes.nix ./notes.nix
./programming.nix
]; ];
} }

View File

@ -0,0 +1,16 @@
{ config, lib, pkgs, user, ... }:
let cfg = config.modules.devel.programming;
in {
options.modules.devel.programming.enable = lib.mkEnableOption "programming";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
thefuck # Corrects errors in previous console commands
nodejs # JavaScript runtime built on Chrome's V8 JavaScript engine
cargo # Package manager and build system for Rust
docker-compose # Docker CLI plugin to define and run multi-container applications with Docker
distrobox # Use any linux distribution inside your terminal
just # Hand way to save and run project-specific commands
];
};
}

View File

@ -20,21 +20,15 @@ in {
bash # GNU Bourne-Again SHell, a command language interpreter for Unix-like operating systems bash # GNU Bourne-Again SHell, a command language interpreter for Unix-like operating systems
bash-completion # Provides programmable completion for the bash shell bash-completion # Provides programmable completion for the bash shell
tmux # Terminal multiplexer, allowing multiple terminal sessions within a single window tmux # Terminal multiplexer, allowing multiple terminal sessions within a single window
thefuck # Corrects errors in previous console commands
nnn # Terminal file manager with a focus on performance and ease of use nnn # Terminal file manager with a focus on performance and ease of use
advcpmv # Advanced version of the Unix utilities cp and mv advcpmv # Advanced version of the Unix utilities cp and mv
unzip # Command-line utility for extracting files from ZIP archives unzip # Command-line utility for extracting files from ZIP archives
trash-cli # Command-line interface to the freedesktop.org Trash 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 vim # Text editor that is highly configurable and widely used, especially in the Unix environment
nodejs # JavaScript runtime built on Chrome's V8 JavaScript engine
ripgrep # Line-oriented search tool that recursively searches directories for a regex pattern ripgrep # Line-oriented search tool that recursively searches directories for a regex pattern
cargo # Package manager and build system for Rust
docker-compose # Docker CLI plugin to define and run multi-container applications with Docker
sesh # Smart session manager for the terminal sesh # Smart session manager for the terminal
zoxide # Fast cd command that learns your habits zoxide # Fast cd command that learns your habits
fzf # Command-line fuzzy finder for Unix-like operating systems fzf # Command-line fuzzy finder for Unix-like operating systems
distrobox # Use any linux distribution inside your terminal
just # Hand way to save and run project-specific commands
]; ];
}; };
} }