Fix Forgejo SSH user configuration
- Set explicit git user for Forgejo service - Add SSH_USER configuration for proper SSH handling - Ensure compatibility with system SSH server
This commit is contained in:
parent
1fd6de2551
commit
f2c9eed794
4 changed files with 64 additions and 55 deletions
|
@ -1,54 +1,59 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Base system packages and aliases shared across all machines
|
||||
# This module consolidates common CLI tools to reduce duplication
|
||||
# across user configurations and machine-specific configs
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Modern CLI tools (rust-based replacements)
|
||||
tldr # Better man pages
|
||||
eza # Better ls
|
||||
bat # Better cat
|
||||
ripgrep # Better grep
|
||||
du-dust # Better du
|
||||
bottom # Better top
|
||||
fd # Better find
|
||||
fzf # Fuzzy finder
|
||||
zoxide # Better cd
|
||||
uutils-coreutils-noprefix # Modern coreutils
|
||||
|
||||
# Modern CLI tools (rust-based replacements)
|
||||
tldr # Better man pages
|
||||
eza # Better ls
|
||||
bat # Better cat
|
||||
ripgrep # Better grep
|
||||
du-dust # Better du
|
||||
bottom # Better top
|
||||
fd # Better find
|
||||
fzf # Fuzzy finder
|
||||
zoxide # Better cd
|
||||
uutils-coreutils-noprefix # Modern coreutils
|
||||
|
||||
# Environment management
|
||||
direnv # Directory-based environment management
|
||||
nix-direnv # Nix integration for direnv
|
||||
|
||||
direnv # Directory-based environment management
|
||||
nix-direnv # Nix integration for direnv
|
||||
|
||||
# Essential system tools
|
||||
curl # HTTP client
|
||||
wget # Download utility
|
||||
git # Version control
|
||||
htop # Process viewer
|
||||
tree # Directory tree viewer
|
||||
file # File type detection
|
||||
unzip # Archive extraction
|
||||
zip # Archive creation
|
||||
curl # HTTP client
|
||||
wget # Download utility
|
||||
git # Version control
|
||||
htop # Process viewer
|
||||
tree # Directory tree viewer
|
||||
file # File type detection
|
||||
unzip # Archive extraction
|
||||
zip # Archive creation
|
||||
fastfetch
|
||||
zellij
|
||||
glances
|
||||
systemctl-tui
|
||||
starship # Shell prompt
|
||||
btop # Resource monitor (better top)
|
||||
|
||||
# Text processing and utilities
|
||||
jq # JSON processor
|
||||
yq # YAML processor
|
||||
|
||||
jq # JSON processor
|
||||
yq # YAML processor
|
||||
|
||||
# Network utilities
|
||||
nmap # Network mapper
|
||||
|
||||
nmap # Network mapper
|
||||
|
||||
# System monitoring and diagnostics
|
||||
lsof # List open files
|
||||
strace # System call tracer
|
||||
ncdu # Disk usage analyzer
|
||||
|
||||
lsof # List open files
|
||||
strace # System call tracer
|
||||
ncdu # Disk usage analyzer
|
||||
|
||||
# Development basics
|
||||
github-cli # GitHub CLI
|
||||
github-cli # GitHub CLI
|
||||
];
|
||||
environment.shellAliases = {
|
||||
vi = "nvim";
|
||||
|
@ -69,4 +74,4 @@
|
|||
gpa = "git remote | xargs -L1 git push";
|
||||
gl = "git log --oneline -10";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
0
modules/common/emacs.nix
Normal file
0
modules/common/emacs.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue