Update from joey@joey-laptop: Remove old home-manager directory. Replaced with nixos/home.nix
Some checks failed
SSH and echo to file / ssh (push) Failing after 3s

This commit is contained in:
Joey Hafner 2024-09-15 21:48:08 -07:00
parent d74a37144f
commit 005e6cb4a3
2 changed files with 0 additions and 172 deletions

View File

@ -1,172 +0,0 @@
{ config, pkgs-stable, pkgs-unstable, ... }:
{
home.username = "joey";
home.homeDirectory = "/home/joey";
home.stateVersion = "24.05";
home.packages = with pkgs-stable; [
fastfetch
tree
bat
btop
wl-clipboard
fd
eza
flatpak
fzf-git-sh
tmux
webcord-vencord discord vencord
base16-schemes
];
home.file = {
};
# Programs
## Stylix
stylix = {
enable = true;
autoEnable = true;
base16Scheme = "${pkgs-stable.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
image = ./wallpaper.png;
cursor.size = 32;
};
## Kitty
programs.kitty = {
enable = true;
theme = "Gruvbox Material Dark Medium";
};
## eza
programs.eza = {
enable = true;
enableZshIntegration = true;
git = true;
extraOptions = [
"--color=always"
"--long"
"--icons=always"
"--no-time"
"--no-user"
];
};
## vim
programs.vim = {
enable = true;
defaultEditor = true;
settings = {
copyindent = true;
relativenumber = true;
expandtab = true;
tabstop = 2;
};
extraConfig = ''
set nocompatible
filetype on
filetype plugin on
filetype indent on
syntax on
set cursorline
set wildmenu
set wildmode=list:longest
'';
};
## OBS-Studio
programs.obs-studio = {
enable = true;
plugins = with pkgs-stable.obs-studio-plugins; [
obs-vaapi
obs-vkcapture
input-overlay
];
};
## fzf
programs.fzf = {
enable = true;
package = pkgs-unstable.fzf;
defaultCommand = "fd --hidden --strip-cwd-prefix --exclude .git";
fileWidgetCommand = "$FZF_DEFAULT_COMMAND";
changeDirWidgetCommand = "fd --type=d --hidden --strip-cwd-prefix --exclude .git .";
enableZshIntegration = true;
};
## Hyprland
wayland.windowManager.hyprland = {
enable = true;
package = pkgs-stable.hyprland;
plugins = [];
settings = {};
};
## Git
programs.git = {
enable = true;
userName = "Joey Hafner";
userEmail = "joey@jafner.net";
extraConfig = {
core.sshCommand = "ssh -i /home/joey/.ssh/joey@joey-laptop";
};
delta.enable = true;
delta.options = {
side-by-side = true;
};
};
## Zsh
programs.zsh = {
enable = true;
dotDir = ".config/zsh";
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
initExtraFirst = "source ${pkgs-stable.fzf-git-sh}/share/fzf-git-sh/fzf-git.sh";
shellAliases = {
cat = "bat";
fd = "fd -Lu";
ls = "eza";
fetch = "fastfetch";
neofetch = "fetch";
hmu = "home-manager switch --flake ~/Jafner.net/nix";
nu = "sudo nixos-rebuild switch --flake ~/Jafner.net/nix";
};
history = {
share = true;
save = 10000;
size = 10000;
expireDuplicatesFirst = false;
extended = false;
ignoreAllDups = false;
ignoreDups = true;
};
initExtra = ''
bindkey -e
bindkey '^[[1;5A' history-search-backward # Ctrl+Up-arrow
bindkey '^[[1;5B' history-search-forward # Ctrl+Down-arrow
bindkey '^[[1;5D' backward-word # Ctrl+Left-arrow
bindkey '^[[1;5C' forward-word # Ctrl+Right-arrow
bindkey '^[[H' beginning-of-line # Home
bindkey '^[[F' end-of-line # End
bindkey '^[w' kill-region # Delete
bindkey '^I^I' autosuggest-accept # Tab, Tab
bindkey '^[' autosuggest-clear # Esc
_fzf_compgen_path() {
fd --hidden --exclude .git . "$1"
}
_fzf_compgen_dir() {
fd --hidden --exclude .git . "$1"
}
'';
};
## Home-manager
programs.home-manager = {
enable = true;
};
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB