127 lines
2.7 KiB
Nix
127 lines
2.7 KiB
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./fastfetch.nix
|
|
./nvf.nix
|
|
];
|
|
|
|
home.stateVersion = "26.05"; # Nope, didn't read the comment either.
|
|
home.username = "coyote";
|
|
home.homeDirectory = "/home/coyote";
|
|
home.shell.enableShellIntegration = true;
|
|
|
|
home.packages = with pkgs; [
|
|
# productivity
|
|
vivaldi
|
|
libreoffice-fresh
|
|
karp
|
|
keepassxc
|
|
pdfarranger
|
|
proton-vpn
|
|
# multimedia
|
|
furnace
|
|
corrscope
|
|
vlc
|
|
haruna
|
|
subtitlecomposer
|
|
kid3
|
|
kdePackages.kdenlive
|
|
unstable.audacity
|
|
# games
|
|
osu-lazer-bin
|
|
pcsx2
|
|
ppsspp
|
|
# emulation
|
|
(unstable.bottles.override {removeWarningPopup = true;})
|
|
# devel
|
|
emacs
|
|
unstable.racket
|
|
];
|
|
|
|
programs.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";
|
|
};
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
settings.user.name = "asnev";
|
|
settings.user.email = "notasnev@proton.me";
|
|
signing.key = "/home/coyote/.ssh/id_ed25519.pub";
|
|
signing.format = "ssh";
|
|
includes = [
|
|
{
|
|
condition = "gitdir:/home/coyote/NixOS/";
|
|
contents.core.sshCommand = "ssh -i /home/coyote/.ssh/id_ed25519";
|
|
}
|
|
];
|
|
};
|
|
|
|
programs.fish.enable = true;
|
|
programs.fish.shellAbbrs = {
|
|
l = "eza --grid --all";
|
|
ll = "eza --long --all";
|
|
ls = "eza";
|
|
".." = "cd ..";
|
|
"..." = "cd ../..";
|
|
cat = "bat";
|
|
};
|
|
|
|
programs.tmux = {
|
|
enable = true;
|
|
clock24 = true;
|
|
baseIndex = 1;
|
|
keyMode = "vi";
|
|
terminal = "tmux-256color";
|
|
escapeTime = 10;
|
|
extraConfig = ''
|
|
set -g pane-base-index 1
|
|
set-window-option -g pane-base-index 1
|
|
set-option -g renumber-windows on
|
|
set-option -g status-right "\"#W\""
|
|
set -ga terminal-overrides ",*:RGB"
|
|
set -g mouse on
|
|
set -g set-clipboard on
|
|
'';
|
|
};
|
|
|
|
programs.yt-dlp.enable = true;
|
|
programs.yt-dlp.package = pkgs.unstable.yt-dlp;
|
|
|
|
programs.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";
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.obs-studio.enable = true;
|
|
programs.obs-studio.plugins = with pkgs.obs-studio-plugins; [
|
|
input-overlay
|
|
droidcam-obs
|
|
];
|
|
}
|