mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-06-05 17:00:12 +02:00
init
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
result
|
||||
|
||||
38
dotfiles/ashell/config.toml
Normal file
38
dotfiles/ashell/config.toml
Normal file
@@ -0,0 +1,38 @@
|
||||
outputs = { Targets = ["DP-1"]}
|
||||
position = "Bottom"
|
||||
|
||||
[modules]
|
||||
left = [ "Clock", "Workspaces" ]
|
||||
center = [ "WindowTitle" ]
|
||||
right = ["Privacy", "MediaPlayer", "SystemInfo",[ "Tray", "Settings" ] ]
|
||||
|
||||
[clock]
|
||||
format = "%H:%M | %e.%m "
|
||||
|
||||
[settings]
|
||||
remove_airplane_btn = true
|
||||
|
||||
[appearance]
|
||||
scale_factor = 1.2
|
||||
|
||||
success_color = "#a6e3a1"
|
||||
text_color = "#cdd6f4"
|
||||
|
||||
workspace_colors = [ "#fab387", "#b4befe", "#cba6f7" ]
|
||||
|
||||
[appearance.primary_color]
|
||||
base = "#fab387"
|
||||
text = "#1e1e2e"
|
||||
|
||||
[appearance.danger_color]
|
||||
base = "#f38ba8"
|
||||
weak = "#f9e2af"
|
||||
|
||||
[appearance.background_color]
|
||||
base = "#1e1e2e"
|
||||
weak = "#313244"
|
||||
strong = "#45475a"
|
||||
|
||||
[appearance.secondary_color]
|
||||
base = "#11111b"
|
||||
strong = "#1b1b25"
|
||||
48
home.nix
Normal file
48
home.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "szymon";
|
||||
home.homeDirectory = "/home/szymon";
|
||||
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
|
||||
imports = [
|
||||
./modules/packages.nix
|
||||
./modules/fish.nix
|
||||
./modules/yazi.nix
|
||||
./modules/btop.nix
|
||||
./modules/atuin.nix
|
||||
./modules/zoxide.nix
|
||||
];
|
||||
|
||||
home.stateVersion = "25.11"; # Please read the comment before changing.
|
||||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = {
|
||||
".config/ashell/config.toml".source = ./dotfiles/ashell/config.toml;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
};
|
||||
|
||||
home.sessionPath = [
|
||||
"/home/szymon/.lmstudio/bin"
|
||||
];
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
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