Archived
Watch
1
0
Fork
You've already forked nixos
0

semi-major-ish cleanup throughout tree

This commit is contained in:
asnev 2026-10-12 14:03:35 +07:00
commit 25af328bfa
Signed by: asnev
SSH key fingerprint: SHA256:8hagYq9hDUuS5clQ78FKhIoQDvg5crdkYMHX+3g7wB4

View file

@ -1,10 +1,4 @@
{
pkgs,
config,
lib,
inputs,
...
}: {
{pkgs, ...}: {
imports = [
./vim.nix
];
@ -45,14 +39,58 @@
];
programs = {
home-manager.enable = true;
ssh = {
enable = true;
enableDefaultConfig = false;
settings."*" = {
ForwardAgent = false;
AddKeysToAgent = "yes"; # no passphrase, silent auto-add
Compression = false;
ServerAliveInterval = 0;
ServerAliveCountMax = 3;
HashKnownHosts = false;
UserKnownHostsFile = "~/.ssh/known_hosts";
ControlMaster = "no";
ControlPath = "~/.ssh/master-%r@%n:%p";
ControlPersist = "no";
};
};
git = {
enable = true;
userName = "asnev";
userEmail = "notasnev@proton.me";
signing = {
key = "/home/coyote/.ssh/id_ed25519.pub";
format = "ssh";
};
includes = [
{
condition = "gitdir:/home/coyote/NixOS/";
contents.core.sshCommand = "ssh -i /home/coyote/.ssh/id_ed25519";
}
];
};
fish.enable = true;
fish.shellAbbrs = {
l = "eza --grid --all";
ll = "eza --long --all";
ls = "eza";
".." = "cd ..";
"..." = "cd ../..";
};
tmux = {
enable = true;
clock24 = true;
baseIndex = 1;
shortcut = "a";
keyMode = "vi";
terminal = "screen-256color";
escapeTime = 0;
terminal = "tmux-256color";
escapeTime = 10;
extraConfig = ''
set -g pane-base-index 1
set-window-option -g pane-base-index 1
@ -67,13 +105,28 @@
yt-dlp.enable = true;
yt-dlp.package = pkgs.unstable.yt-dlp;
starship.package = pkgs.unstable.starship;
starship = {
enable = true;
package = pkgs.unstable.starship;
enableTransience = true;
settings = {
"$schema" = "https://starship.rs/config-schema.json";
git_status = {
ahead = ">";
behind = "<";
diverged = "<>";
renamed = "r";
deleted = "d";
};
character.success_symbol = "[λ](bold green)";
character.error_symbol = "[λ](bold red)";
};
};
obs-studio.enable = true;
obs-studio.plugins = with pkgs.obs-studio-plugins; [
input-overlay
droidcam-obs
wlrobs
];
fastfetch.enable = true;