stuff?
This commit is contained in:
parent
6869c2acbd
commit
3bfebb286d
14 changed files with 235 additions and 34 deletions
|
|
@ -1,7 +1,10 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./zsh
|
||||
./gh.nix
|
||||
./git.nix
|
||||
./oh-my-posh.nix
|
||||
./tmux.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
|||
8
home-manager/luna/categories/cli/gh.nix
Normal file
8
home-manager/luna/categories/cli/gh.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
programs.gh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
git_protocol = "ssh";
|
||||
};
|
||||
};
|
||||
}
|
||||
11
home-manager/luna/categories/cli/git.nix
Normal file
11
home-manager/luna/categories/cli/git.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{lib, ...}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = lib.mkDefault "LunarAkai";
|
||||
userEmail = lib.mkDefault "akai@lunarakai.de";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
lfs.enable = true;
|
||||
};
|
||||
}
|
||||
31
home-manager/luna/categories/cli/tmux.nix
Normal file
31
home-manager/luna/categories/cli/tmux.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{pkgs, ...}: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
prefix = "C-Space";
|
||||
baseIndex = 1;
|
||||
newSession = true;
|
||||
|
||||
mouse = true;
|
||||
clock24 = true;
|
||||
escapeTime = 0;
|
||||
shell = "${pkgs.zsh} /bin/zsh";
|
||||
|
||||
plugins = with pkgs; [
|
||||
tmuxPlugins.yank
|
||||
tmuxPlugins.sensible
|
||||
tmuxPlugins.catppuccin
|
||||
];
|
||||
|
||||
extraConfig = ''
|
||||
# set true color
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
|
||||
# open panes in current directory
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
# easy reloads
|
||||
bind M-r source-file ~/.config/tmux/tmux.conf
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -7,6 +7,10 @@
|
|||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"gh"
|
||||
"rust"
|
||||
];
|
||||
};
|
||||
history.size = 10000;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -0,0 +1,38 @@
|
|||
{pkgs, ...}: {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
extensions = with pkgs.vscode-marketplace; [
|
||||
golang.go
|
||||
|
||||
redhat.java
|
||||
redhat.ansible
|
||||
redhat.vscode-yaml
|
||||
|
||||
rust-lang.rust-analyzer
|
||||
ritwickdey.liveserver
|
||||
ecmel.vscode-html-css
|
||||
mhutchie.git-graph
|
||||
pixl-garden.bongocat
|
||||
|
||||
# theme
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
];
|
||||
profiles.default.userSettings = {
|
||||
# pls stop adding generative "AI" to everything :c
|
||||
"chat.agent.enabled" = false;
|
||||
"chat.commandCenter.enabled" = false;
|
||||
|
||||
"editor.semanticHighlighting.enabled" = true;
|
||||
"terminal.integrated.minimumContrastRatio" = 1;
|
||||
"window.titleBarStyle" = "custom";
|
||||
|
||||
"workbench.colorTheme" = "Catppuccin Macchiato";
|
||||
"catppuccin.accentColor" = "mauve";
|
||||
"catppuccin.customUIColors"."mauve"."statusBar.foreground" = "accent";
|
||||
|
||||
"workbench.iconTheme" = "catppuccin-macchiato";
|
||||
"[nix]"."editor.tabSize" = 2;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue