alejandra: fmt

This commit is contained in:
hand7s 2025-04-27 12:47:02 +03:00
parent 4132420034
commit 510e39c245
No known key found for this signature in database
199 changed files with 1030 additions and 1438 deletions

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
programs = {
bat = {
enable = true;

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs = {
chromium = {
package = (
@ -15,7 +12,7 @@
"--ignore-gpu-blocklist"
"--enable-zero-copy"
];
}
}
);
};
};

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
programs = {
eza = {
enable = true;

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
programs = {
fish = {
enable = true;
@ -12,4 +10,4 @@
};
};
};
}
}

View file

@ -1,8 +1,5 @@
{
pkgs,
...
}: {
programs = {
{pkgs, ...}: {
programs = {
fuzzel = {
settings = {
main = {
@ -10,7 +7,7 @@
layer = "overlay";
prompt = " > ";
};
border = {
width = "2";
radius = "10";

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
programs = {
fzf = {
enable = true;
@ -10,4 +8,4 @@
};
};
};
}
}

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs = {
ghostty = {
enableFishIntegration = true;
@ -21,4 +18,4 @@
};
};
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
programs = {
git = {
enable = true;
@ -8,4 +6,4 @@
userName = "s0me1newithhand7s";
};
};
}
}

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs = {
helix = {
enable = true;
@ -10,17 +7,17 @@
nixd
nixfmt-rfc-style
];
settings = {
editor = {
line-number = "relative";
cursorline = true;
cursorline = true;
lsp = {
display-messages = true;
};
};
};
languages = {
language-servers = {
nixd = {
@ -30,7 +27,7 @@
];
};
};
language = [
{
name = "nix";
@ -38,7 +35,7 @@
injection-regex = "nix";
indent = {
tab-width = 4;
unit = " ";
unit = " ";
};
formatter = {
@ -47,13 +44,13 @@
"--indent=4"
];
};
file-types = [
"nix"
"nix"
];
language-servers = [
"nixd"
"nixd"
];
}
];

View file

@ -7,8 +7,9 @@
hyprlock = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
settings = {
general = {
hide_cursor = true;
@ -30,7 +31,7 @@
valign = "center";
shadow_passes = 1;
shadow_size = 2;
shadow_size = 2;
shadow_color = "rgba(38, 3, 4, 1)";
shadow_boost = 2;
}
@ -49,7 +50,7 @@
valign = "center";
shadow_passes = 1;
shadow_size = 2;
shadow_size = 2;
shadow_color = "rgba(38, 3, 4, 1)";
shadow_boost = 2;
}
@ -67,7 +68,7 @@
fade_on_empty = false;
fade_timeout = 0;
placeholder_text = " ";
placeholder_text = " ";
hide_input = false;
rounding = -0.3;
@ -84,7 +85,7 @@
valign = "center";
shadow_passes = 1;
shadow_size = 5;
shadow_size = 5;
shadow_boost = 1;
}
];

View file

@ -8,47 +8,51 @@
hyprpanel = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
hyprland = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
};
overwrite = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
};
overlay = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
};
settings = {
layout = {
"bar.layouts" = {
"*" = {
left = [
"dashboard"
left = [
"dashboard"
"workspaces"
"media"
];
middle = [
"clock"
"power"
"power"
];
right = [
"network"
"kbinput"
"volume"
"systray"
"notifications"
"volume"
"systray"
"notifications"
];
};
};
@ -140,7 +144,7 @@
spacing = 1.0;
workspaceMask = true;
ignored = "";
applicationIconEmptyWorkspace = "";
applicationIconFallback = "󰣆";
@ -168,7 +172,6 @@
samplerate = 48000;
lowCutoff = 20;
highCutoff = 20000;
barCharacters = [
""
@ -282,13 +285,11 @@
padZero = true;
pollingInterval = 1440000;
updateCommand = "nix flake update --flake ~/Projects/flake";
icon = {
pending = "󰏗";
updated = "󰏖";
};
};
weather = {
@ -434,7 +435,7 @@
margin_sides = "20px";
margin_top = "20px";
border_radius = "10px";
border_radius = "10px";
border = {
location = "full";
@ -458,7 +459,7 @@
radius = "10px";
};
};
wallpaper = {
enable = false;
pywal = false;

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
programs = {
nix-index = {
enable = true;

View file

@ -1,9 +1,7 @@
{
...
}: {
{...}: {
programs = {
mpv = {
enable = true;
};
};
}
}

View file

@ -8,8 +8,9 @@
obs-studio = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
waveform

View file

@ -11,7 +11,7 @@
hidePodcasts
shuffle
];
theme = lib.mkForce inputs.spicetify-nix.legacyPackages.${pkgs.system}.themes.text;
colorScheme = lib.mkForce "Spotify";
};

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
programs = {
starship = {
enable = true;
@ -11,7 +9,7 @@
format = ''
[](bold blue) $hostname $os
[](bold blue) $directory$git_branch$git_commit$git_state$git_metrics$git_status
[>](bold blue)
[>](bold blue)
'';
right_format = ''$cmd_duration ($character) at $time'';
@ -28,7 +26,7 @@
style = "bold red";
disabled = false;
};
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";

View file

@ -7,7 +7,8 @@
swaylock = {
enable = lib.mkIf (
config.home.gui.sessionType == "Sway"
) true;
)
true;
settings = {
show-failed-attempts = true;

View file

@ -1,6 +1,6 @@
{
lib,
pkgs,
pkgs,
...
}: {
programs = {

View file

@ -1,10 +1,8 @@
{
config,
pkgs,
lib,
...
}:
{
}: {
programs = {
yambar = {
enable = lib.mkIf (config.home.gui.sessionType == "Sway") true;
@ -174,7 +172,7 @@
conditions = {
"mode == default" = {
empty = { };
empty = {};
};
};
};
@ -231,7 +229,7 @@
};
};
};
"state == invisible" = {
string = {
"<<" = [
@ -244,7 +242,7 @@
}
{
foreground = "ffffff55";
foreground = "ffffff55";
}
];
};
@ -337,7 +335,6 @@
margin = 5;
on-click = "swaymsg --quiet workspace {name}";
};
};
};
};
@ -354,8 +351,8 @@
};
}
{
foreground = "ffffff55";
{
foreground = "ffffff55";
}
];
};
@ -370,7 +367,7 @@
"<<" = {
margin = 5;
on-click = "swaymsg --quiet workspace {name}";
};
};
}
{
@ -465,8 +462,8 @@
};
}
{
foreground = "ffffff55";
{
foreground = "ffffff55";
}
];
};
@ -576,7 +573,7 @@
};
}
{
{
foreground = "ffffff55";
}
];
@ -687,8 +684,8 @@
};
}
{
foreground = "ffffff55";
{
foreground = "ffffff55";
}
];
};
@ -796,8 +793,8 @@
on-click = "swaymsg --quiet workspace {name}";
};
}
{
foreground = "ffffff55";
{
foreground = "ffffff55";
}
];
};
@ -852,7 +849,7 @@
map = {
conditions = {
"~activated" = {
empty = { };
empty = {};
};
activated = [
@ -1155,7 +1152,6 @@
};
};
content = {
map = {
conditions = {
@ -1257,7 +1253,7 @@
{
sway-xkb = {
identifiers = [ "1:1:AT_Translated_Set_2_keyboard" ];
identifiers = ["1:1:AT_Translated_Set_2_keyboard"];
content = [
{
string = {
@ -1279,7 +1275,7 @@
content = {
map = {
default = {
empty = { };
empty = {};
};
conditions = {
@ -1287,7 +1283,7 @@
map = {
conditions = {
"~carrier" = {
empty = { };
empty = {};
};
carrier = {
@ -1325,7 +1321,7 @@
content = {
map = {
default = {
empty = { };
empty = {};
};
conditions = {
@ -1929,7 +1925,7 @@
];
};
}
{
label = {
content = {

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs = {
yazi = {
enable = true;
@ -13,7 +10,7 @@
sort_sensitive = true;
sort_reverse = false;
sort_translit = true;
linemode = "size";
show_hidden = true;
@ -29,16 +26,16 @@
opener = {
play = [
{
run = "${pkgs.mpv}/bin/mpv ''$@''";
block = true;
run = "${pkgs.mpv}/bin/mpv ''$@''";
block = true;
for = "unix";
}
];
edit = [
{
run = "${pkgs.helix}/bin/hx ''$@''";
block = true;
run = "${pkgs.helix}/bin/hx ''$@''";
block = true;
for = "unix";
}
];

View file

@ -1,10 +1,8 @@
{
...
}: {
{...}: {
programs = {
zoxide = {
enable = true;
enableFishIntegration = true;
};
};
}
}