mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
init
This commit is contained in:
8
modules/atuin.nix
Normal file
8
modules/atuin.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ pgks, ... }:
|
||||
|
||||
{
|
||||
programs.atuin = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
||||
11
modules/btop.nix
Normal file
11
modules/btop.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.btop = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim_keys = true;
|
||||
color_theme = "catppuccin_mocha";
|
||||
};
|
||||
};
|
||||
}
|
||||
28
modules/fish.nix
Normal file
28
modules/fish.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
# no dum greeting
|
||||
set fish_greeting ""
|
||||
|
||||
# yes, please setup git for me
|
||||
gh auth setup-git
|
||||
|
||||
# add github ssh key
|
||||
eval (ssh-agent -c) > /dev/null
|
||||
ssh-add ~/.ssh/github 2> /dev/null
|
||||
|
||||
# add github gpg key
|
||||
set -gx GPG_TTY (tty)
|
||||
|
||||
# vi mode
|
||||
fish_vi_key_bindings
|
||||
|
||||
# Odpalenie fastfetcha na start
|
||||
clear
|
||||
fastfetch --config ~/.config/fastfetch/startup.jsonc
|
||||
'';
|
||||
};
|
||||
}
|
||||
18
modules/packages.nix
Normal file
18
modules/packages.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
gh
|
||||
fastfetch
|
||||
neovim
|
||||
fd
|
||||
duf
|
||||
gdu
|
||||
tealdeer
|
||||
grim
|
||||
slurp
|
||||
wl-clipboard
|
||||
mako
|
||||
bc
|
||||
];
|
||||
}
|
||||
32
modules/yazi.nix
Normal file
32
modules/yazi.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pgks, ... }:
|
||||
|
||||
{
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
shellWrapperName = "y";
|
||||
settings = {
|
||||
mgr = {
|
||||
ratio = [
|
||||
1
|
||||
4
|
||||
3
|
||||
];
|
||||
sort_by = "alphabetical";
|
||||
sort_sensitive = false;
|
||||
sort_reverse = false;
|
||||
sort_dir_first = true;
|
||||
sort_translit = false;
|
||||
linemode = "none";
|
||||
show_hidden = false;
|
||||
show_symlink = true;
|
||||
scrolloff = 5;
|
||||
mouse_events = [
|
||||
"click"
|
||||
"scroll"
|
||||
];
|
||||
title_format = "Yazi: {cwd}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
8
modules/zoxide.nix
Normal file
8
modules/zoxide.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user