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

@ -12,7 +12,7 @@
./home/keyboard.nix
./home/packages.nix
./home/shellAliases.nix
./nixpkgs/config.nix
./nixpkgs/overlays.nix

View file

@ -1,9 +1,7 @@
{
...
}: {
{...}: {
fonts = {
fontconfig = {
enable = true;
};
};
}
}

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
gtk = {
enable = true;
iconTheme = {
@ -9,4 +6,4 @@
package = pkgs.whitesur-icon-theme;
};
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
home = {
stateVersion = "24.11";
username = "hand7s";

View file

@ -2,25 +2,26 @@
osConfig,
lib,
...
}:{
}: {
home = {
gui = {
enable = lib.mkIf (
osConfig.networking.hostName == "s0mePC-nix" || osConfig.networking.hostName == "s0melapt0p-nix"
) true;
)
true;
sessionType = if (
osConfig.networking.hostName == "s0mePC-nix"
) then (
"Hyprland"
) else if (
osConfig.networking.hostName == "s0melapt0p-nix"
) then (
"Sway"
) else (
"None"
);
sessionType =
if
(
osConfig.networking.hostName == "s0mePC-nix"
)
then "Hyprland"
else if
(
osConfig.networking.hostName == "s0melapt0p-nix"
)
then "Sway"
else "None";
};
};
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
home = {
keyboard = {
variant = "qwerty";
@ -10,4 +8,4 @@
];
};
};
}
}

View file

@ -8,42 +8,42 @@
freesm-launcher = inputs.freesm.packages.${pkgs.system}.freesmlauncher;
in {
home = {
packages = with pkgs; [
gh
sd
nvd
git
dust
procs
gping
dconf
tokei
ifuse
trippy
bottom
kubectl
yt-dlp
ripgrep
tty-clock
freesm-launcher
libimobiledevice
nix-output-monitor
] ++lib.optionals (
osConfig.networking.hostName == "s0mePC-nix"
) [
tetrio-desktop
netbird-ui
thunderbird
mindustry
qbittorrent-enhanced
] ++ lib.optionals (
osConfig.networking.hostName == "s0melapt0p-nix"
) [
iwgtk
brightnessctl
];
packages = with pkgs;
[
gh
sd
nvd
git
dust
procs
gping
dconf
tokei
ifuse
trippy
bottom
kubectl
yt-dlp
ripgrep
tty-clock
freesm-launcher
libimobiledevice
nix-output-monitor
]
++ lib.optionals (
osConfig.networking.hostName == "s0mePC-nix"
) [
tetrio-desktop
netbird-ui
thunderbird
mindustry
qbittorrent-enhanced
]
++ lib.optionals (
osConfig.networking.hostName == "s0melapt0p-nix"
) [
iwgtk
brightnessctl
];
};
}

View file

@ -1,11 +1,9 @@
{
...
}: {
{...}: {
home = {
shellAliases = {
e = "eza";
et = "eza -T";
k = "kubectl";
k = "kubectl";
};
};
}
}

View file

@ -1,8 +1,5 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
nix = {
package = pkgs.nixVersions.latest;
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
nix = {
settings = {
substituters = [
@ -17,5 +15,5 @@
"https://chaotic-nyx.cachix.org/"
];
};
};
};
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
nix = {
settings = {
trusted-public-keys = [
@ -16,5 +14,5 @@
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
];
};
};
};
}

View file

@ -1,10 +1,8 @@
{
...
}: {
{...}: {
nixpkgs = {
config = {
allowBroken = true;
allowUnfree = true;
allowUnfree = true;
};
};
}
}

View file

@ -1,10 +1,7 @@
{
inputs,
...
}: {
{inputs, ...}: {
nixpkgs = {
overlays = [
inputs.hyprpanel.overlay
];
};
}
}

View file

@ -4,13 +4,13 @@
config,
inputs,
...
}: let
}: let
cfg = config.home.gui;
ayugram-desktop = inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop;
in {
options.home.gui = {
enable = lib.mkEnableOption ''
Enabling this option will allow you to activate GUI Software,
Enabling this option will allow you to activate GUI Software,
that exist in my home-manager setup. Enabling this, as you can
see, is depending on hostname of my system. To bypass this,
either delete expression in `home.nix`, or change hostname
@ -35,52 +35,56 @@ in {
config = lib.mkIf cfg.enable {
home = {
packages = with pkgs; [
vesktop
(discord.override {
withVencord = true;
withOpenASAR = false;
})
ayugram-desktop
element-desktop
obsidian
pwvucontrol
easyeffects
hyprpolkitagent
parsec-bin
bitwarden
mindustry
playerctl
lan-mouse
nekoray
] ++ lib.optionals (
cfg.sessionType == "Sway"
) [
swaykbdd
sway-contrib.grimshot
sway-contrib.inactive-windows-transparency
autotiling-rs
sway-audio-idle-inhibit
] ++ lib.optionals (
cfg.sessionType == "River"
) [
wayshot
waylock
wayidle
] ++ lib.optionals (
cfg.sessionType == "Hyprland"
) [
hyprpanel
grimblast
];
packages = with pkgs;
[
vesktop
(discord.override {
withVencord = true;
withOpenASAR = false;
})
ayugram-desktop
element-desktop
obsidian
pwvucontrol
easyeffects
hyprpolkitagent
parsec-bin
bitwarden
mindustry
playerctl
lan-mouse
nekoray
]
++ lib.optionals (
cfg.sessionType == "Sway"
) [
swaykbdd
sway-contrib.grimshot
sway-contrib.inactive-windows-transparency
autotiling-rs
sway-audio-idle-inhibit
]
++ lib.optionals (
cfg.sessionType == "River"
) [
wayshot
waylock
wayidle
]
++ lib.optionals (
cfg.sessionType == "Hyprland"
) [
hyprpanel
grimblast
];
};
programs = {
chromium.enable = true;
spicetify.enable = true;
vscode.enable = true;
vscode.enable = true;
fuzzel.enable = true;
ghostty.enable = true;
firefox.enable = true;
@ -91,7 +95,7 @@ in {
};
};
meta.maintainers = with lib.maintainers; [
meta.maintainers = with lib.maintainers; [
s0me1newithhan7ds
# aka hand7s
];

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;
};
};
}
}

View file

@ -1,7 +1,5 @@
{
...
}: {
{...}: {
qt = {
enable = true;
};
}
}

View file

@ -8,8 +8,9 @@
hypridle = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
settings = {
general = {
before_sleep_cmd = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off";

View file

@ -8,7 +8,8 @@
swayidle = {
enable = lib.mkIf (
config.home.gui.sessionType == "Sway"
) true;
)
true;
events = [
{
@ -28,8 +29,8 @@
];
timeouts = [
{
timeout = 300;
{
timeout = 300;
command = "${pkgs.brightnessctl}/bin/brightnessctl -s set 10";
resumeCommand = "${pkgs.brightnessctl}/bin/brightnessctl -r";
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
stylix = {
base16Scheme = {
base00 = "2a1617";
@ -31,4 +29,4 @@
name = "red_ish";
};
};
}
}

View file

@ -1,11 +1,8 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
stylix = {
cursor = {
name = "Whitesur-cursors";
package = pkgs.whitesur-cursors;
};
};
}
}

View file

@ -1,9 +1,7 @@
{
...
}: {
{...}: {
stylix = {
enable = true;
autoEnable = true;
polarity = "dark";
};
}
}

View file

@ -1,14 +1,11 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
stylix = {
fonts = {
sizes = {
applications = 10;
desktop = 8;
popups = 10;
terminal = 8;
terminal = 8;
};
monospace = {
@ -32,4 +29,4 @@
};
};
};
}
}

View file

@ -1,7 +1,5 @@
{
...
}: {
{...}: {
stylix = {
image = ./wallpaper.jpg;
};
}
}

View file

@ -1,29 +1,26 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
systemd = {
user = {
services = {
hyprpanel = {
Unit = {
Description = "Hyprpanel service.";
WantedBy = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.hyprpanel}/bin/hyprpanel";
Restart = "always";
RestartSec = 1;
};
user = {
services = {
hyprpanel = {
Unit = {
Description = "Hyprpanel service.";
WantedBy = "graphical-session.target";
};
Install = {
After = "graphical-session.target";
ConditionEnvironment = "WAYLAND_DISPLAY";
PartOf = "graphical-session.target";
};
};
};
};
};
Service = {
ExecStart = "${pkgs.hyprpanel}/bin/hyprpanel";
Restart = "always";
RestartSec = 1;
};
Install = {
After = "graphical-session.target";
ConditionEnvironment = "WAYLAND_DISPLAY";
PartOf = "graphical-session.target";
};
};
};
};
};
}

View file

@ -1,29 +1,26 @@
{
pkgs,
...
}: {
systemd = {
user = {
services = {
hyprpolkitagent = {
Unit = {
Description = "Hyprpolkitagent service.";
WantedBy = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.hyprpolkitagent}/libexec/hyprpolkitagent";
Restart = "always";
RestartSec = 10;
};
{pkgs, ...}: {
systemd = {
user = {
services = {
hyprpolkitagent = {
Unit = {
Description = "Hyprpolkitagent service.";
WantedBy = "graphical-session.target";
};
Install = {
After = "graphical-session.target";
ConditionEnvironment = "WAYLAND_DISPLAY";
PartOf = "graphical-session.target";
};
};
};
};
};
Service = {
ExecStart = "${pkgs.hyprpolkitagent}/libexec/hyprpolkitagent";
Restart = "always";
RestartSec = 10;
};
Install = {
After = "graphical-session.target";
ConditionEnvironment = "WAYLAND_DISPLAY";
PartOf = "graphical-session.target";
};
};
};
};
};
}

View file

@ -1,29 +1,26 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
systemd = {
user = {
services = {
yambar = {
Unit = {
Description = "Yambar service.";
WantedBy = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.yambar}/bin/yambar";
Restart = "always";
RestartSec = 1;
};
user = {
services = {
yambar = {
Unit = {
Description = "Yambar service.";
WantedBy = "graphical-session.target";
};
Install = {
After = "graphical-session.target";
ConditionEnvironment = "WAYLAND_DISPLAY";
PartOf = "graphical-session.target";
};
};
};
};
};
Service = {
ExecStart = "${pkgs.yambar}/bin/yambar";
Restart = "always";
RestartSec = 1;
};
Install = {
After = "graphical-session.target";
ConditionEnvironment = "WAYLAND_DISPLAY";
PartOf = "graphical-session.target";
};
};
};
};
};
}

View file

@ -10,7 +10,8 @@
hyprland = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
) true;
)
true;
settings = {
monitor = ", 2560x1440@165.00Hz, 0x0, 1";
@ -110,7 +111,6 @@
"ALT, S, exec, ${pkgs.fuzzel}/bin/fuzzel"
"ALT, F, fullscreen, 0"
"ALT, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
"ALT SHIFT, E, exit,"
"ALT SHIFT, space, togglefloating, active"
@ -144,7 +144,7 @@
"ALT SHIFT, 9, movetoworkspace, 9"
"ALT SHIFT, 0, movetoworkspace, 0"
"ALT SHIFT, H, movetoworkspace, special"
"ALT, mouse_down, workspace, e+1"
"ALT, mouse_up, workspace, e-1"
];
@ -156,7 +156,7 @@
", XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 5%-"
", XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set +5%"
];
bindl = [
", XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause"
", XF86AudioPrev, exec, ${pkgs.playerctl}/bin/playerctl previous"
@ -228,9 +228,9 @@
};
};
};
plugins = with inputs; [
# inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo
# inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo
];
};
};

View file

@ -9,7 +9,8 @@
river = {
enable = lib.mkIf (
config.home.gui.sessionType == "River"
) true;
)
true;
settings = {
default-layout = "rivertile";
@ -51,7 +52,7 @@
"Alt 7" = "set-focused-tags 6";
"Alt 8" = "set-focused-tags 7";
"Alt 9" = "set-focused-tags 8";
"Alt H" = "toggle-focused-tags 20";
"Alt H" = "toggle-focused-tags 20";
"Alt+Shift 1" = "set-view-tags 0";
"Alt+Shift 2" = "set-view-tags 1";
@ -62,7 +63,7 @@
"Alt+Shift 7" = "set-view-tags 6";
"Alt+Shift 8" = "set-view-tags 7";
"Alt+Shift 9" = "set-view-tags 8";
"Alt+Shift H" = "set-view-tags 20";
"Alt+Shift H" = "set-view-tags 20";
"Alt+Control 1" = "toggle-focused-tags 0";
"Alt+Control 2" = "toggle-focused-tags 1";
@ -73,7 +74,7 @@
"Alt+Control 7" = "toggle-focused-tags 6";
"Alt+Control 8" = "toggle-focused-tags 7";
"Alt+Control 9" = "toggle-focused-tags 8";
"Alt+Control H" = "toggle-focused-tags 20";
"Alt+Control H" = "toggle-focused-tags 20";
"Alt+Shift+Control 1" = "toggle-view-tags 0";
"Alt+Shift+Control 2" = "toggle-view-tags 1";
@ -84,7 +85,7 @@
"Alt+Shift+Control 7" = "toggle-view-tags 6";
"Alt+Shift+Control 8" = "toggle-view-tags 7";
"Alt+Shift+Control 9" = "toggle-view-tags 8";
"Alt+Shift+Control H" = "toggle-view-tags 20";
"Alt+Shift+Control H" = "toggle-view-tags 20";
};
spawn = [
@ -94,7 +95,7 @@
"${pkgs.wayidle}/bin/wayidle -t=300 ${pkgs.brightnessctl}/bin/brightnessctl -s set 10"
"${pkgs.wayidle}/bin/wayidle -t=600 ${pkgs.waylock}/bin/waylock"
];
map-pointer = {
normal = {
"Alt BTN_LEFT" = "move-view";

View file

@ -9,7 +9,8 @@
sway = {
enable = lib.mkIf (
config.home.gui.sessionType == "Sway"
) true;
)
true;
package = pkgs.sway;
@ -81,7 +82,7 @@
{
command = "${pkgs.swaykbdd}/bin/swaykbdd";
}
{
command = "${pkgs.yambar}/bin/yambar";
}
@ -179,5 +180,5 @@
'';
};
};
};
};
}

View file

@ -1,15 +1,12 @@
{
lib,
...
}: {
{lib, ...}: {
boot = {
initrd = {
availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
"btrfs"
"cryptd"
@ -34,9 +31,9 @@
};
systemd = {
enable = true;
enable = true;
};
verbose = false;
};
};

View file

@ -1,86 +1,86 @@
{
config,
pkgs,
lib,
...
}: {
boot = {
kernel = {
sysctl = {
"vm.swappiness" = 100;
"vm.dirty_background_bytes" = 67108864;
"vm.dirty_bytes" = 268435456;
"vm.dirty_expire_centisecs" = 1500;
"vm.dirty_writeback_centisecs" = 100;
"vm.vfs_cache_pressure" = 50;
"vm.max_map_count" = 1048576;
};
};
kernelPackages = pkgs.linuxPackages_cachyos;
extraModulePackages = [
config.boot.kernelPackages.zenpower
];
kernelModules = [
"amdgpu"
"zenpower"
];
kernelParams = [
"amd_pstate=guided"
"udev.log_priority=3"
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"page_alloc.shuffle=1"
"page_poison=1"
"slab_nomerge"
"kernel.watchdog=0"
"oops=panic"
];
blacklistedKernelModules = [
"k10temp"
"ax25"
"netrom"
"rose"
"adfs"
"affs"
"bfs"
"befs"
"cramfs"
"efs"
"erofs"
"exofs"
"freevxfs"
"f2fs"
"hfs"
"hpfs"
"jfs"
"minix"
"nilfs2"
"ntfs"
"omfs"
"qnx4"
"qnx6"
"sysv"
"ufs"
"sp5100-tco"
"iTCO_wdt"
];
supportedFilesystems = {
vfat = true;
btrfs = true;
zfs = lib.mkForce true;
};
consoleLogLevel = 0;
};
}
{
config,
pkgs,
lib,
...
}: {
boot = {
kernel = {
sysctl = {
"vm.swappiness" = 100;
"vm.dirty_background_bytes" = 67108864;
"vm.dirty_bytes" = 268435456;
"vm.dirty_expire_centisecs" = 1500;
"vm.dirty_writeback_centisecs" = 100;
"vm.vfs_cache_pressure" = 50;
"vm.max_map_count" = 1048576;
};
};
kernelPackages = pkgs.linuxPackages_cachyos;
extraModulePackages = [
config.boot.kernelPackages.zenpower
];
kernelModules = [
"amdgpu"
"zenpower"
];
kernelParams = [
"amd_pstate=guided"
"udev.log_priority=3"
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"page_alloc.shuffle=1"
"page_poison=1"
"slab_nomerge"
"kernel.watchdog=0"
"oops=panic"
];
blacklistedKernelModules = [
"k10temp"
"ax25"
"netrom"
"rose"
"adfs"
"affs"
"bfs"
"befs"
"cramfs"
"efs"
"erofs"
"exofs"
"freevxfs"
"f2fs"
"hfs"
"hpfs"
"jfs"
"minix"
"nilfs2"
"ntfs"
"omfs"
"qnx4"
"qnx6"
"sysv"
"ufs"
"sp5100-tco"
"iTCO_wdt"
];
supportedFilesystems = {
vfat = true;
btrfs = true;
zfs = lib.mkForce true;
};
consoleLogLevel = 0;
};
}

View file

@ -1,13 +1,11 @@
{
...
}: {
{...}: {
boot = {
lanzaboote = {
enable = true;
configurationLimit = 7;
pkiBundle = "/var/lib/sbctl";
settings = {
timeout = 2;
timeout = 2;
sortKey = "lanza";
};
};

View file

@ -1,15 +1,12 @@
{
lib,
...
}: {
{lib, ...}: {
boot = {
loader = {
systemd-boot = {
enable = lib.mkDefault false;
sortKey = "nixos";
memtest86 = {
enable = true;
sortKey = "o_memtest86";
enable = true;
sortKey = "o_memtest86";
};
netbootxyz = {
@ -19,4 +16,4 @@
};
};
};
}
}

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
boot = {
plymouth = {
enable = true;

View file

@ -1,10 +1,8 @@
{
...
}: {
{...}: {
boot = {
tmp = {
useTmpfs = true;
cleanOnBoot = true;
cleanOnBoot = true;
};
};
}
}

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
boot = {
zfs = {
package = pkgs.zfs_cachyos;
@ -9,4 +6,4 @@
removeLinuxDRM = false;
};
};
}
}

View file

@ -1,7 +1,5 @@
{
...
}: {
console = {
{...}: {
console = {
useXkbConfig = true;
};
};
}

View file

@ -38,12 +38,12 @@
./nix/settings/experimental-features.nix
./nix/settings/substituters.nix
./nix/settings/trusted-public-keys.nix
./nix/settings/trusted-users.nix
./nix/settings/trusted-users.nix
./nix/settings/auto-optimise-store.nix
./nixpkgs/config.nix
./nixpkgs/system.nix
./programs/gamescope.nix
./programs/gamemode.nix
./programs/nh.nix
@ -77,7 +77,7 @@
./stylix/defaults.nix
./stylix/fonts.nix
./stylix/image.nix
./system/name.nix
./system/stateVersion.nix

View file

@ -7,18 +7,18 @@
type = "disk";
content = {
type = "gpt";
partitions = {
partitions = {
ESP = {
type = "EF00";
size = "1024M";
name = "boot";
content = {
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [
"fmask=0022"
"dmask=0022"
"dmask=0022"
];
};
};
@ -57,8 +57,8 @@
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
mountOptions = [
"compress=zstd"
"noatime"
"discard=async"
];
@ -66,17 +66,17 @@
"/home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
mountOptions = [
"compress=zstd"
"noatime"
"discard=async"
];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
mountOptions = [
"compress=zstd"
"noatime"
"discard=async"
];

View file

@ -1,15 +1,12 @@
{
pkgs,
...
}: {
environment = {
systemPackages = with pkgs; [
home-manager
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
nixos-anywhere
sbctl
sops
];
};
}
{pkgs, ...}: {
environment = {
systemPackages = with pkgs; [
home-manager
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
nixos-anywhere
sbctl
sops
];
};
}

View file

@ -1,7 +1,4 @@
{
config,
...
}: {
{config, ...}: {
environment = {
variables = {
AMD_VULKAN_ICD = "RADV";
@ -16,8 +13,8 @@
NIXPKGS_ALLOW_UNFREE = "1";
NIXPKGS_ALLOW_INSECURE = "1";
NIXOS_OZONE_WL = "1";
GRIMBLAST_HIDE_CURSOR = "0";
GRIMBLAST_HIDE_CURSOR = "0";
TERM = "xterm-256color";
};
};
}
}

View file

@ -1,10 +1,8 @@
{
...
}: {
{...}: {
hardware = {
amdgpu = {
initrd = {
enable = true;
enable = true;
};
};
};

View file

@ -1,12 +1,10 @@
{
...
}: {
{...}: {
hardware = {
enableRedistributableFirmware = true;
enableRedistributableFirmware = true;
cpu = {
amd = {
updateMicrocode = true;
};
};
};
}
}

View file

@ -1,7 +1,5 @@
{
...
}: {
hardware = {
{...}: {
hardware = {
graphics = {
enable = true;
enable32Bit = true;

View file

@ -1,13 +1,11 @@
{
...
}: {
{...}: {
hardware = {
openrazer = {
enable = true;
users = [
"hand7s"
];
batteryNotifier = {
enable = true;
percentage = 15;

View file

@ -1,10 +1,8 @@
{
...
}: {
{...}: {
hardware = {
keyboard = {
qmk = {
enable = true;
enable = true;
};
};
};

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
zramSwap = {
enable = true;
algorithm = "zstd";

View file

@ -1,7 +1,4 @@
{
inputs,
...
}: {
{inputs, ...}: {
home-manager = {
users = {
hand7s = {
@ -15,7 +12,7 @@
};
backupFileExtension = "backup";
extraSpecialArgs = {
inherit inputs;
};

View file

@ -1,11 +1,9 @@
{
...
}: {
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
"en_US.UTF-8/UTF-8"
"ru_RU.UTF-8/UTF-8"
];
};
}
{...}: {
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
"en_US.UTF-8/UTF-8"
"ru_RU.UTF-8/UTF-8"
];
};
}

View file

@ -1,13 +1,10 @@
{
lib,
...
}: {
{lib, ...}: {
networking = {
useDHCP = lib.mkDefault true;
dhcpcd = {
enable = true;
persistent = false;
wait = "any";
wait = "any";
};
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
networking = {
firewall = {
allowPing = true;
@ -10,7 +8,7 @@
9993
2080
];
allowedTCPPorts = [
9993
2080

View file

@ -1,7 +1,5 @@
{
...
}: {
{...}: {
networking = {
hostId = "5c79d468";
};
}
}

View file

@ -1,7 +1,5 @@
{
...
}: {
networking = {
hostName = "s0mePC-nix";
};
}
{...}: {
networking = {
hostName = "s0mePC-nix";
};
}

View file

@ -1,9 +1,7 @@
{
...
}: {
networking ={
{...}: {
networking = {
hosts = {
# Nope
};
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
networking = {
nameservers = [
"1.1.1.1"
@ -15,4 +13,4 @@
"2620:119:53::53"
];
};
}
}

View file

@ -1,11 +1,9 @@
{
...
}: {
networking ={
networkmanager = {
enable = true;
{...}: {
networking = {
networkmanager = {
enable = true;
dns = "default";
dhcp = "internal";
};
};
}
}

View file

@ -1,12 +1,10 @@
{
...
}: {
{...}: {
networking = {
timeServers = [
timeServers = [
"0.nixos.pool.ntp.org"
"1.nixos.pool.ntp.org"
"2.nixos.pool.ntp.org"
"3.nixos.pool.ntp.org"
];
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
networking = {
wireguard = {
enable = true;

View file

@ -1,8 +1,5 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
nix = {
package = pkgs.nixVersions.latest;
};
}
}

View file

@ -1,12 +1,10 @@
{
...
}: {
{...}: {
nix = {
settings = {
sandbox = true;
allowed-users = [
allowed-users = [
"@wheel"
];
};
};
}
};
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
nix = {
settings = {
auto-optimise-store = true;

View file

@ -1,12 +1,10 @@
{
...
}: {
{...}: {
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
experimental-features = [
"nix-command"
"flakes"
];
};
};
};
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
nix = {
settings = {
substituters = [
@ -17,5 +15,5 @@
"https://chaotic-nyx.cachix.org/"
];
};
};
};
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
nix = {
settings = {
trusted-public-keys = [
@ -16,5 +14,5 @@
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
];
};
};
};
}

View file

@ -1,11 +1,9 @@
{
...
}: {
{...}: {
nix = {
settings = {
trusted-users = [
trusted-users = [
"@wheel"
];
};
};
};
}

View file

@ -1,8 +1,6 @@
{
...
}: {
{...}: {
nixpkgs = {
config = {
config = {
allowUnfree = true;
allowBroken = true;
};

View file

@ -1,10 +1,7 @@
{
inputs,
...
}: {
{inputs, ...}: {
nixpkgs = {
overlays = [
inputs.hyprpanel.overlay
];
};
}
}

View file

@ -1,8 +1,6 @@
{
...
}: {
nixpkgs = {
system = "x86_64-linux";
hostPlatform = "x86_64-linux";
};
}
{...}: {
nixpkgs = {
system = "x86_64-linux";
hostPlatform = "x86_64-linux";
};
}

View file

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

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs = {
gamescope = {
enable = true;

View file

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

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs = {
steam = {
enable = true;
@ -10,17 +7,16 @@
];
remotePlay = {
openFirewall = true;
openFirewall = true;
};
localNetworkGameTransfers = {
openFirewall = true;
openFirewall = true;
};
protontricks = {
enable = true;
};
};
};
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
security = {
polkit = {
enable = true;
@ -9,4 +7,4 @@
];
};
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
security = {
rtkit = {
enable = true;

View file

@ -1,12 +1,9 @@
{
...
}: {
{...}: {
security = {
sudo-rs = {
enable = true;
wheelNeedsPassword = true;
execWheelOnly = true;
};
};
}
}

View file

@ -1,10 +1,7 @@
{
lib,
...
}: {
{lib, ...}: {
security = {
sudo = {
enable = lib.mkDefault false;
};
};
}
}

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}:{
{pkgs, ...}: {
services = {
greetd = {
enable = true;

View file

@ -1,9 +1,7 @@
{
...
}: {
{...}: {
services = {
irqbalance = {
enable = true;
};
};
};
}

View file

@ -1,17 +1,15 @@
{
...
}: {
{...}: {
services = {
libinput = {
enable = true;
enable = true;
mouse = {
accelProfile = "flat";
accelSpeed = "-1.0";
buttonMapping = "1 3 2 4 5 6 7 8 9";
horizontalScrolling = true;
horizontalScrolling = true;
leftHanded = false;
naturalScrolling = true;
};
};
};
}
}

View file

@ -1,6 +1,4 @@
{
...
}: {
{...}: {
services = {
netbird = {
enable = true;

Some files were not shown because too many files have changed in this diff Show more