big staging update

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2025-12-29 16:42:07 +03:00
parent 0bf4c9cfca
commit 2939b08891
324 changed files with 6897 additions and 6797 deletions

View file

@ -1,51 +1,51 @@
{self, ...}: {
imports = [
"${self}/hand7s/fonts/fonts.nix"
"${self}/hand7s/options/gui.nix"
imports = [
"${self}/hand7s/fonts/fonts.nix"
"${self}/hand7s/options/gui.nix"
"${self}/hand7s/wayland/hyprland.nix"
"${self}/hand7s/wayland/river.nix"
"${self}/hand7s/wayland/sway.nix"
"${self}/hand7s/wayland/hyprland.nix"
"${self}/hand7s/wayland/river.nix"
"${self}/hand7s/wayland/sway.nix"
"${self}/hand7s/home/defaults.nix"
"${self}/hand7s/home/gui.nix"
"${self}/hand7s/home/keyboard.nix"
"${self}/hand7s/home/packages.nix"
"${self}/hand7s/home/shellAliases.nix"
"${self}/hand7s/home/defaults.nix"
"${self}/hand7s/home/gui.nix"
"${self}/hand7s/home/keyboard.nix"
"${self}/hand7s/home/packages.nix"
"${self}/hand7s/home/shellAliases.nix"
"${self}/hand7s/nixpkgs/config.nix"
"${self}/hand7s/nixpkgs/overlays.nix"
"${self}/hand7s/nixpkgs/config.nix"
"${self}/hand7s/nixpkgs/overlays.nix"
"${self}/hand7s/services/hypridle.nix"
"${self}/hand7s/services/swayidle.nix"
"${self}/hand7s/services/kdeconnect.nix"
"${self}/hand7s/services/hypridle.nix"
"${self}/hand7s/services/swayidle.nix"
"${self}/hand7s/services/kdeconnect.nix"
"${self}/hand7s/systemd/hyprpolkitagent-service.nix"
"${self}/hand7s/systemd/hyprpolkitagent-service.nix"
"${self}/hand7s/programs/bat.nix"
"${self}/hand7s/programs/eza.nix"
"${self}/hand7s/programs/fish.nix"
"${self}/hand7s/programs/fzf.nix"
"${self}/hand7s/programs/ghostty.nix"
"${self}/hand7s/programs/git.nix"
"${self}/hand7s/programs/mpv.nix"
"${self}/hand7s/programs/helix.nix"
"${self}/hand7s/programs/index.nix"
"${self}/hand7s/programs/obs-studio.nix"
"${self}/hand7s/programs/starship.nix"
"${self}/hand7s/programs/firefox.nix"
"${self}/hand7s/programs/swaylock.nix"
"${self}/hand7s/programs/yazi.nix"
"${self}/hand7s/programs/zoxide.nix"
"${self}/hand7s/programs/chrome.nix"
"${self}/hand7s/programs/hyprlock.nix"
"${self}/hand7s/programs/hyprpanel.nix"
"${self}/hand7s/programs/spicetify.nix"
"${self}/hand7s/programs/vscode.nix"
"${self}/hand7s/programs/zellij.nix"
"${self}/hand7s/programs/zed-editor.nix"
"${self}/hand7s/programs/direnv.nix"
"${self}/hand7s/programs/kitty.nix"
"${self}/hand7s/programs/noctalia.nix"
];
"${self}/hand7s/programs/bat.nix"
"${self}/hand7s/programs/eza.nix"
"${self}/hand7s/programs/fish.nix"
"${self}/hand7s/programs/fzf.nix"
"${self}/hand7s/programs/ghostty.nix"
"${self}/hand7s/programs/git.nix"
"${self}/hand7s/programs/mpv.nix"
"${self}/hand7s/programs/helix.nix"
"${self}/hand7s/programs/index.nix"
"${self}/hand7s/programs/obs-studio.nix"
"${self}/hand7s/programs/starship.nix"
"${self}/hand7s/programs/firefox.nix"
"${self}/hand7s/programs/swaylock.nix"
"${self}/hand7s/programs/yazi.nix"
"${self}/hand7s/programs/zoxide.nix"
"${self}/hand7s/programs/chrome.nix"
"${self}/hand7s/programs/hyprlock.nix"
"${self}/hand7s/programs/hyprpanel.nix"
"${self}/hand7s/programs/spicetify.nix"
"${self}/hand7s/programs/vscode.nix"
"${self}/hand7s/programs/zellij.nix"
"${self}/hand7s/programs/zed-editor.nix"
"${self}/hand7s/programs/direnv.nix"
"${self}/hand7s/programs/kitty.nix"
"${self}/hand7s/programs/noctalia.nix"
];
}

View file

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

View file

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

View file

@ -1,7 +1,7 @@
{...}: {
home = {
stateVersion = "24.11";
username = "hand7s";
homeDirectory = "/home/hand7s";
};
home = {
stateVersion = "24.11";
username = "hand7s";
homeDirectory = "/home/hand7s";
};
}

View file

@ -1,32 +1,33 @@
{
osConfig,
lib,
...
osConfig,
lib,
...
}: {
home = {
gui = {
enable = lib.mkIf (
osConfig.networking.hostName == "s0mePC-nix" || osConfig.networking.hostName == "s0melapt0p-nix"
)
true;
home = {
gui = {
enable =
lib.mkIf (
osConfig.networking.hostName == "s0mePC-nix" || osConfig.networking.hostName == "s0melapt0p-nix"
)
true;
sessionType =
if
(
osConfig.networking.hostName == "s0mePC-nix"
)
then "Hyprland"
else if
(
osConfig.networking.hostName == "s0mew0rkstat1on-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 == "s0mew0rkstat1on-nix"
)
then "Hyprland"
else if
(
osConfig.networking.hostName == "s0melapt0p-nix"
)
then "Sway"
else "None";
};
};
}

View file

@ -1,11 +1,11 @@
{...}: {
home = {
keyboard = {
variant = "";
layout = "us, ru";
options = [
"grp:caps_toggle"
];
};
home = {
keyboard = {
variant = "";
layout = "us, ru";
options = [
"grp:caps_toggle"
];
};
};
}

View file

@ -1,62 +1,62 @@
{
osConfig,
pkgs,
lib,
...
osConfig,
pkgs,
lib,
...
}: {
home = {
packages = with pkgs;
[
fd
gh
sd
xh
dua
nvd
gat
dust
sops
rsync
procs
sbctl
gping
dconf
tokei
comma
ifuse
trippy
bottom
kubectl
yt-dlp
ripgrep
gitoxide
tty-clock
deploy-rs
monero-cli
nixos-anywhere
wireguard-tools
yubico-piv-tool
yubikey-manager
libimobiledevice
nix-output-monitor
yubikey-touch-detector
yubikey-personalization
netbird-ui
]
++ lib.optionals (
osConfig.networking.hostName == "s0mePC-nix"
) [
mindustry
thunderbird
tetrio-desktop
min-ed-launcher
qbittorrent-enhanced
]
++ lib.optionals (
osConfig.networking.hostName == "s0melapt0p-nix"
) [
iwgtk
brightnessctl
];
};
home = {
packages = with pkgs;
[
fd
gh
sd
xh
dua
nvd
gat
dust
sops
rsync
procs
sbctl
gping
dconf
tokei
comma
ifuse
trippy
bottom
kubectl
yt-dlp
ripgrep
gitoxide
tty-clock
deploy-rs
monero-cli
nixos-anywhere
wireguard-tools
yubico-piv-tool
yubikey-manager
libimobiledevice
nix-output-monitor
yubikey-touch-detector
yubikey-personalization
netbird-ui
]
++ lib.optionals (
osConfig.networking.hostName == "s0mePC-nix"
) [
mindustry
thunderbird
tetrio-desktop
min-ed-launcher
qbittorrent-enhanced
]
++ lib.optionals (
osConfig.networking.hostName == "s0melapt0p-nix"
) [
iwgtk
brightnessctl
];
};
}

View file

@ -1,13 +1,13 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
home = {
shellAliases = {
e = "${lib.getExe pkgs.eza}";
et = "${lib.getExe pkgs.eza} -T";
k = "${lib.getExe pkgs.kubectl}";
};
home = {
shellAliases = {
e = "${lib.getExe pkgs.eza}";
et = "${lib.getExe pkgs.eza} -T";
k = "${lib.getExe pkgs.kubectl}";
};
};
}

View file

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

View file

@ -1,18 +1,18 @@
{...}: {
nix = {
settings = {
substituters = [
# cache.nixos.org
"https://cache.nixos.org"
# cache.garnix.org
"https://cache.garnix.io"
# cachix
"https://nix-community.cachix.org/"
"https://chaotic-nyx.cachix.org/"
"https://ags.cachix.org"
"https://hyprland.cachix.org"
"https://chaotic-nyx.cachix.org/"
];
};
nix = {
settings = {
substituters = [
# cache.nixos.org
"https://cache.nixos.org"
# cache.garnix.org
"https://cache.garnix.io"
# cachix
"https://nix-community.cachix.org/"
"https://chaotic-nyx.cachix.org/"
"https://ags.cachix.org"
"https://hyprland.cachix.org"
"https://chaotic-nyx.cachix.org/"
];
};
};
}

View file

@ -1,18 +1,18 @@
{...}: {
nix = {
settings = {
trusted-public-keys = [
# cache.nixos.org
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
# cache.garnix.io
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
# cachix.org
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"ags.cachix.org-1:naAvMrz0CuYqeyGNyLgE010iUiuf/qx6kYrUv3NwAJ8="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
];
};
nix = {
settings = {
trusted-public-keys = [
# cache.nixos.org
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
# cache.garnix.io
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
# cachix.org
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"ags.cachix.org-1:naAvMrz0CuYqeyGNyLgE010iUiuf/qx6kYrUv3NwAJ8="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
];
};
};
}

View file

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

View file

@ -1,6 +1,6 @@
{...}: {
nixpkgs = {
overlays = [
];
};
nixpkgs = {
overlays = [
];
};
}

View file

@ -1,108 +1,108 @@
{
lib,
pkgs,
config,
inputs,
...
lib,
pkgs,
config,
inputs,
...
}: let
cfg = config.home.gui;
ayugram = inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop;
freesm-launcher = inputs.freesm.packages.${pkgs.system}.freesmlauncher;
cfg = config.home.gui;
ayugram = inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop;
freesm-launcher = inputs.freesm.packages.${pkgs.system}.freesmlauncher;
in {
options.home.gui = {
enable = lib.mkEnableOption ''
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
to yours.
'';
options.home.gui = {
enable = lib.mkEnableOption ''
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
to yours.
'';
sessionType = lib.mkOption {
type = lib.types.enum [
"DWL"
"Sway"
"River"
"Hyprland"
"None"
];
default = "None";
description = ''
This option allows to choose current desktop session. All
three: riverwm, sway and Hyprland has their own config. Almost
all of them - their respectful software. WIP.
'';
};
sessionType = lib.mkOption {
type = lib.types.enum [
"DWL"
"Sway"
"River"
"Hyprland"
"None"
];
default = "None";
description = ''
This option allows to choose current desktop session. All
three: riverwm, sway and Hyprland has their own config. Almost
all of them - their respectful software. WIP.
'';
};
};
config = lib.mkIf cfg.enable {
home = {
packages = with pkgs;
[
vesktop
nekoray
anki-bin
obsidian
playerctl
monero-gui
mindustry
bitwarden
lan-mouse
parsec-bin
pwvucontrol
easyeffects
ayugram
element-desktop
hyprpolkitagent
freesm-launcher
(discord.override {
withVencord = true;
withOpenASAR = false;
})
]
++ lib.optionals (
cfg.sessionType == "Sway"
) [
swaykbdd
autotiling-rs
sway-audio-idle-inhibit
sway-contrib.grimshot
sway-contrib.inactive-windows-transparency
]
++ lib.optionals (
cfg.sessionType == "River"
) [
wayshot
waylock
wayidle
]
++ lib.optionals (
cfg.sessionType == "Hyprland"
) [
inputs.noctalia.packages.${system}.default
grimblast
];
};
config = lib.mkIf cfg.enable {
home = {
packages = with pkgs;
[
vesktop
nekoray
anki-bin
obsidian
playerctl
monero-gui
mindustry
bitwarden
lan-mouse
parsec-bin
pwvucontrol
easyeffects
ayugram
element-desktop
hyprpolkitagent
freesm-launcher
(discord.override {
withVencord = true;
withOpenASAR = false;
})
]
++ lib.optionals (
cfg.sessionType == "Sway"
) [
swaykbdd
autotiling-rs
sway-audio-idle-inhibit
sway-contrib.grimshot
sway-contrib.inactive-windows-transparency
]
++ lib.optionals (
cfg.sessionType == "River"
) [
wayshot
waylock
wayidle
]
++ lib.optionals (
cfg.sessionType == "Hyprland"
) [
inputs.noctalia.packages.${system}.default
grimblast
];
};
programs = {
chromium.enable = true;
spicetify.enable = true;
vscode.enable = true;
fuzzel.enable = true;
ghostty.enable = true;
firefox.enable = true;
alacritty.enable = true;
};
services = with lib.mkDefault; {
hyprpaper.enable = true;
kdeconnect.enable = true;
};
programs = {
chromium.enable = true;
spicetify.enable = true;
vscode.enable = true;
fuzzel.enable = true;
ghostty.enable = true;
firefox.enable = true;
alacritty.enable = true;
};
meta.maintainers = with lib.maintainers; [
s0me1newithhan7ds
# aka hand7s
];
services = with lib.mkDefault; {
hyprpaper.enable = true;
kdeconnect.enable = true;
};
};
meta.maintainers = with lib.maintainers; [
s0me1newithhan7ds
# aka hand7s
];
}

View file

@ -1,14 +1,14 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
programs = {
bat = {
enable = true;
config = {
pager = "${lib.getExe pkgs.less} -FR";
};
};
programs = {
bat = {
enable = true;
config = {
pager = "${lib.getExe pkgs.less} -FR";
};
};
};
}

View file

@ -1,14 +1,14 @@
{pkgs, ...}: {
programs = {
chromium = {
package = pkgs.google-chrome.override {
commandLineArgs = [
"--enable-features=AcceleratedVideoEncoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport,UseMultiPlaneFormatForHardwareVideo,SkiaGraphite"
"--enable-unsafe-webgpu"
"--ignore-gpu-blocklist"
"--enable-zero-copy"
];
};
};
programs = {
chromium = {
package = pkgs.google-chrome.override {
commandLineArgs = [
"--enable-features=AcceleratedVideoEncoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport,UseMultiPlaneFormatForHardwareVideo,SkiaGraphite"
"--enable-unsafe-webgpu"
"--ignore-gpu-blocklist"
"--enable-zero-copy"
];
};
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
programs = {
direnv = {
enable = true;
nix-direnv = {
enable = true;
};
};
programs = {
direnv = {
enable = true;
nix-direnv = {
enable = true;
};
};
};
}

View file

@ -1,10 +1,10 @@
{...}: {
programs = {
eza = {
enable = true;
enableFishIntegration = true;
git = true;
icons = "always";
};
programs = {
eza = {
enable = true;
enableFishIntegration = true;
git = true;
icons = "always";
};
};
}

View file

@ -1,16 +1,16 @@
{
inputs,
pkgs,
...
inputs,
pkgs,
...
}: let
zen-browser = inputs.zen-browser.packages.${pkgs.system}.default;
zen-browser = inputs.zen-browser.packages.${pkgs.system}.default;
in {
programs = {
firefox = {
package = zen-browser;
profiles = rec {
default = {
userContent = "
programs = {
firefox = {
package = zen-browser;
profiles = rec {
default = {
userContent = "
--zen-colors-primary: #82aaff !important;
--zen-colors-secondary: #c099ff !important;
--zen-colors-tertiary: #1e2030 !important;
@ -21,8 +21,8 @@ in {
background-color: #6c598c !important;
}
";
};
};
};
};
};
};
}

View file

@ -1,17 +1,17 @@
{
lib,
pkgs,
...
lib,
pkgs,
...
}: {
programs = {
fish = {
enable = true;
generateCompletions = true;
functions = {
fish_greeting = {
body = "${lib.getExe' pkgs.uutils-coreutils-noprefix "echo"} ' ~ 𝑠𝑛𝑜𝑤𝑦 𝑝𝑙𝑎𝑐𝑒, 𝑓𝑢𝑙𝑙 𝑜𝑓 𝑓𝑙𝑎𝑘𝑒𝑠! '";
};
};
programs = {
fish = {
enable = true;
generateCompletions = true;
functions = {
fish_greeting = {
body = "${lib.getExe' pkgs.uutils-coreutils-noprefix "echo"} ' ~ 𝑠𝑛𝑜𝑤𝑦 𝑝𝑙𝑎𝑐𝑒, 𝑓𝑢𝑙𝑙 𝑜𝑓 𝑓𝑙𝑎𝑘𝑒𝑠! '";
};
};
};
};
}

View file

@ -1,11 +1,11 @@
{...}: {
programs = {
fzf = {
enable = true;
enableFishIntegration = true;
tmux = {
enableShellIntegration = true;
};
};
programs = {
fzf = {
enable = true;
enableFishIntegration = true;
tmux = {
enableShellIntegration = true;
};
};
};
}

View file

@ -1,24 +1,24 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
programs = {
ghostty = {
enableFishIntegration = true;
installBatSyntax = true;
settings = {
title = "spooky scary tty";
programs = {
ghostty = {
enableFishIntegration = true;
installBatSyntax = true;
settings = {
title = "spooky scary tty";
command = "${lib.getExe pkgs.fish} --login --interactive";
command = "${lib.getExe pkgs.fish} --login --interactive";
confirm-close-surface = false;
confirm-close-surface = false;
keybind = [
"ctrl+shift+d=new_split:right"
"ctrl+shift+a=new_split:down"
];
};
};
keybind = [
"ctrl+shift+d=new_split:right"
"ctrl+shift+a=new_split:down"
];
};
};
};
}

View file

@ -1,28 +1,28 @@
{
pkgs,
osConfig,
...
pkgs,
osConfig,
...
}: {
programs = {
git = {
enable = true;
package = pkgs.git;
userEmail = "117505144+s0me1newithhand7s@users.noreply.github.com";
userName = "s0me1newithhand7s";
aliases = {
pushall = "push github && push gitlab";
pushall-f = "push --force github && push --force gitlab";
};
programs = {
git = {
enable = true;
package = pkgs.git;
userEmail = "117505144+s0me1newithhand7s@users.noreply.github.com";
userName = "s0me1newithhand7s";
aliases = {
pushall = "push github && push gitlab";
pushall-f = "push --force github && push --force gitlab";
};
signing = {
format = "ssh";
signByDefault = true;
key = osConfig.sops.secrets.sshKey.path;
};
signing = {
format = "ssh";
signByDefault = true;
key = osConfig.sops.secrets.sshKey.path;
};
lfs = {
enable = true;
};
};
lfs = {
enable = true;
};
};
};
}

View file

@ -1,64 +1,64 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
programs = {
helix = {
package = pkgs.helix_git;
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
nixd
programs = {
helix = {
package = pkgs.helix_git;
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
nixd
];
settings = {
editor = {
line-number = "relative";
cursorline = true;
lsp = {
display-messages = true;
};
};
};
languages = {
language-servers = {
nixd = {
command = "${lib.getExe pkgs.nixd}";
args = [
"--inlay-hints=true"
];
};
};
language = [
{
name = "nix";
comment-token = "#";
injection-regex = "nix";
indent = {
tab-width = 4;
unit = " ";
};
formatter = {
command = "${lib.getExe pkgs.nix}";
args = [
"fmt"
];
};
file-types = [
"nix"
];
settings = {
editor = {
line-number = "relative";
cursorline = true;
lsp = {
display-messages = true;
};
};
};
languages = {
language-servers = {
nixd = {
command = "${lib.getExe pkgs.nixd}";
args = [
"--inlay-hints=true"
];
};
};
language = [
{
name = "nix";
comment-token = "#";
injection-regex = "nix";
indent = {
tab-width = 4;
unit = " ";
};
formatter = {
command = "${lib.getExe pkgs.nix}";
args = [
"fmt"
];
};
file-types = [
"nix"
];
language-servers = [
"nixd"
];
}
];
};
};
language-servers = [
"nixd"
];
}
];
};
};
};
}

View file

@ -1,95 +1,96 @@
{
config,
lib,
...
config,
lib,
...
}: {
programs = {
hyprlock = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
programs = {
hyprlock = {
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
settings = {
general = {
hide_cursor = true;
ignore_empty_input = true;
};
label = [
{
monitor = "";
text = "$TIME";
text_align = "center";
color = config.lib.stylix.colors.base01;
font_size = 48;
font_family = config.stylix.fonts.emoji.name;
rotate = 0;
position = "0, 50";
halign = "center";
valign = "center";
shadow_passes = 1;
shadow_size = 2;
shadow_color = "rgba(38, 3, 4, 1)";
shadow_boost = 2;
}
{
monitor = "";
text = "> $LAYOUT[en,ru]";
text_align = "center";
color = config.lib.stylix.colors.base06;
font_size = 26;
font_family = config.stylix.fonts.emoji.name;
rotate = 0;
position = "200, -50";
halign = "center";
valign = "center";
shadow_passes = 1;
shadow_size = 2;
shadow_color = "rgba(38, 3, 4, 1)";
shadow_boost = 2;
}
];
input-field = lib.mkForce [
{
monitor = "";
size = "250, 50";
outline_thickness = 2;
dots_size = 0.35;
dots_spacing = 0.5;
dots_center = true;
dots_rounding = -2;
fade_on_empty = false;
fade_timeout = 0;
placeholder_text = " ";
hide_input = false;
rounding = -0.3;
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
fail_transition = 1000;
capslock_color = -1;
numlock_color = -1;
bothlock_color = -1;
invert_numlock = false;
swap_font_color = false;
position = "0, -50";
halign = "center";
valign = "center";
shadow_passes = 1;
shadow_size = 5;
shadow_boost = 1;
}
];
};
settings = {
general = {
hide_cursor = true;
ignore_empty_input = true;
};
label = [
{
monitor = "";
text = "$TIME";
text_align = "center";
color = config.lib.stylix.colors.base01;
font_size = 48;
font_family = config.stylix.fonts.emoji.name;
rotate = 0;
position = "0, 50";
halign = "center";
valign = "center";
shadow_passes = 1;
shadow_size = 2;
shadow_color = "rgba(38, 3, 4, 1)";
shadow_boost = 2;
}
{
monitor = "";
text = "> $LAYOUT[en,ru]";
text_align = "center";
color = config.lib.stylix.colors.base06;
font_size = 26;
font_family = config.stylix.fonts.emoji.name;
rotate = 0;
position = "200, -50";
halign = "center";
valign = "center";
shadow_passes = 1;
shadow_size = 2;
shadow_color = "rgba(38, 3, 4, 1)";
shadow_boost = 2;
}
];
input-field = lib.mkForce [
{
monitor = "";
size = "250, 50";
outline_thickness = 2;
dots_size = 0.35;
dots_spacing = 0.5;
dots_center = true;
dots_rounding = -2;
fade_on_empty = false;
fade_timeout = 0;
placeholder_text = " ";
hide_input = false;
rounding = -0.3;
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
fail_transition = 1000;
capslock_color = -1;
numlock_color = -1;
bothlock_color = -1;
invert_numlock = false;
swap_font_color = false;
position = "0, -50";
halign = "center";
valign = "center";
shadow_passes = 1;
shadow_size = 5;
shadow_boost = 1;
}
];
};
};
};
}

View file

@ -1,440 +1,440 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
programs = {
hyprpanel = {
enable = false;
settings = {
layout = {
"bar.layouts" = {
"*" = {
left = [
"dashboard"
"workspaces"
"media"
];
middle = [
"clock"
"power"
];
right = [
"network"
"kbinput"
"volume"
"systray"
"notifications"
];
};
};
};
scalingPriority = "hyprland";
tear = false;
dummy = true;
hyprpanel = {
restartAgs = true;
restartCommand = "${lib.getExe' pkgs.systemd "systemctl"} --user restart hyprpanel.service";
};
bar = {
autoHide = "never";
scrollSpeed = 5;
battery = {
hideLabelWhenFull = true;
label = true;
};
bluetooth = {
label = true;
};
clock = {
format = "%a, %b %d %I:%M:%S %p";
icon = "󰸗";
showIcon = true;
showTime = true;
};
launcher = {
icon = " ";
autoDetectIcon = true;
};
media = {
format = "{artist: - }{title}";
show_active_only = true;
show_label = true;
truncation = true;
truncation_size = 30;
};
network = {
label = true;
showWifiInfo = true;
truncation = true;
truncation_size = 10;
};
notifications = {
show_total = false;
hideCountWhenZero = true;
};
volume = {
label = true;
scrollDown = "${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%-";
scrollUp = "${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%+";
rightClick = "${lib.getExe' pkgs.wireplumber "wpctl"} set-mute @DEFAULT_AUDIO_SINK@ toggle";
};
windowtitle = {
icon = true;
label = true;
class_name = false;
custom_title = true;
truncation = true;
truncation_size = 50;
};
workspaces = {
show_icons = false;
show_numbered = false;
showApplicationIcons = true;
showAllActive = true;
showWsIcons = true;
numbered_active_indicator = "highlight";
workspaces = 20;
monitorSpecific = true;
reverse_scroll = false;
scroll_speed = 5;
spacing = 1.0;
workspaceMask = true;
ignored = "";
applicationIconEmptyWorkspace = "";
applicationIconFallback = "󰣆";
icons = {
active = "";
available = "";
occupied = "";
};
};
customModules = {
scrollSpeed = 5;
cava = {
showIcon = true;
icon = "";
spaceCharacter = "";
showActiveOnly = true;
stereo = false;
autoSensitivity = true;
bars = 10;
channels = 2;
framerate = 165;
samplerate = 48000;
lowCutoff = 20;
highCutoff = 20000;
barCharacters = [
""
""
""
""
""
""
""
""
];
};
cpu = {
icon = "";
label = true;
round = true;
pollingInterval = 1000;
};
cpuTemp = {
icon = "";
label = true;
pollingInterval = 500;
round = true;
showUnit = true;
sensor = "";
};
hypridle = {
label = true;
pollingInterval = 500;
offIcon = "";
offLabel = "OFF";
onIcon = "";
onLabel = "ON";
};
hyprsunset = {
label = true;
pollingInterval = 500;
offIcon = "󰛨";
offLabel = "OFF";
onIcon = "󱩌";
onLabel = "ON";
};
kbLayout = {
icon = "󰌌";
label = true;
labelType = "code";
rightClick = "${lib.getExe' pkgs.hyprland "hyprctl"} switchxkblayout monsgeek-monsgeek-keyboard next";
};
netstat = {
icon = "󰖟";
label = true;
pollingInterval = 250;
dynamicIcon = true;
round = true;
rateUnit = "auto";
networkInLabel = "";
networkOutLabel = "";
};
power = {
icon = "";
showLabel = true;
leftClick = "menu:powerdropdown";
};
microphone = {
label = true;
mutedIcon = "";
unmutedIcon = "";
leftClick = "menu:audio";
};
ram = {
icon = "";
label = true;
labelType = "percentage";
pollingInterval = 250;
round = true;
};
storage = {
icon = "󰋊";
label = true;
labelType = "percentage";
pollingInterval = 2000;
round = false;
};
submap = {
label = true;
showSubmapName = true;
enabledIcon = "󰌐";
enabledText = "ON";
disabledIcon = "󰌌";
disabledText = "OFF";
};
updates = {
label = true;
autoHide = true;
padZero = true;
pollingInterval = 1440000;
updateCommand = "nix flake update --flake ~/Projects/flake";
icon = {
pending = "󰏗";
updated = "󰏖";
};
};
weather = {
label = true;
unit = "metric";
};
};
};
menus = {
transition = "crossfade";
transitionTime = 200;
clock = {
time = {
military = false;
hideSeconds = true;
};
weather = {
enabled = true;
location = "Yelabuga";
unit = "metric";
key = "ac3df6535cac4448a4c83337252702";
};
};
dashboard = {
shortcuts = {
left = {
shortcut1 = {
command = "${lib.getExe pkgs.google-chrome}";
icon = "";
tooltip = "Google Chrome";
};
shortcut2 = {
command = "spotify";
icon = "";
tooltip = "Spotify";
};
shortcut3 = {
command = "${lib.getExe pkgs.discord}";
icon = "";
tooltip = "Discord";
};
shortcut4 = {
command = "ayugram-desktop";
icon = "";
tooltip = "Telegram";
};
};
right = {
shortcut1 = {
command = "${lib.getExe pkgs.fuzzel}";
icon = "";
tooltip = "Search";
};
shortcut3 = {
command = "${lib.getExe pkgs.grimblast} --notify --freeze copysave area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png";
icon = "󰄀";
tooltip = "Screenshot";
};
};
};
stats = {
enable_gpu = false;
enabled = true;
interval = 1000;
};
directories = {
enabled = true;
};
powermenu = {
avatar = {
image = "/home/hand7s/Pictures/pfp4_mini.jpg";
name = "system";
};
};
};
media = {
displayTime = true;
displayTimeTooltip = true;
noMediaText = "-";
hideAlbum = false;
hideAuthor = false;
};
power = {
confirmation = true;
showLabel = true;
logout = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch exit";
reboot = "${lib.getExe' pkgs.systemd "systemctl"} reboot";
shutdown = "${lib.getExe' pkgs.systemd "systemctl"} poweroff";
sleep = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
};
volume = {
raiseMaximumVolume = false;
};
};
notifications = {
active_monitor = true;
cache_actions = true;
clearDelay = 50;
displayedTotal = 5;
showActionsOnHover = true;
timeout = 5000;
};
theme = {
matugen = false;
name = "tokyo-night-vivid";
font = {
name = "Hack Font Nerd Regular";
size = "16px";
weight = 600;
};
bar = {
transparent = false;
floating = true;
layer = "top";
location = "top";
margin_bottom = "0";
margin_sides = "20px";
margin_top = "20px";
border_radius = "10px";
border = {
location = "full";
width = "2px";
};
buttons = {
enableBorders = false;
monochrome = false;
style = "default";
};
};
osd = {
enable = true;
active_monitor = true;
duration = 2500;
location = "right";
margins = "5px 5px 5px 5px";
muted_zero = false;
radius = "10px";
};
};
wallpaper = {
enable = false;
pywal = false;
image = "";
};
programs = {
hyprpanel = {
enable = false;
settings = {
layout = {
"bar.layouts" = {
"*" = {
left = [
"dashboard"
"workspaces"
"media"
];
middle = [
"clock"
"power"
];
right = [
"network"
"kbinput"
"volume"
"systray"
"notifications"
];
};
};
};
scalingPriority = "hyprland";
tear = false;
dummy = true;
hyprpanel = {
restartAgs = true;
restartCommand = "${lib.getExe' pkgs.systemd "systemctl"} --user restart hyprpanel.service";
};
bar = {
autoHide = "never";
scrollSpeed = 5;
battery = {
hideLabelWhenFull = true;
label = true;
};
bluetooth = {
label = true;
};
clock = {
format = "%a, %b %d %I:%M:%S %p";
icon = "󰸗";
showIcon = true;
showTime = true;
};
launcher = {
icon = " ";
autoDetectIcon = true;
};
media = {
format = "{artist: - }{title}";
show_active_only = true;
show_label = true;
truncation = true;
truncation_size = 30;
};
network = {
label = true;
showWifiInfo = true;
truncation = true;
truncation_size = 10;
};
notifications = {
show_total = false;
hideCountWhenZero = true;
};
volume = {
label = true;
scrollDown = "${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%-";
scrollUp = "${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%+";
rightClick = "${lib.getExe' pkgs.wireplumber "wpctl"} set-mute @DEFAULT_AUDIO_SINK@ toggle";
};
windowtitle = {
icon = true;
label = true;
class_name = false;
custom_title = true;
truncation = true;
truncation_size = 50;
};
workspaces = {
show_icons = false;
show_numbered = false;
showApplicationIcons = true;
showAllActive = true;
showWsIcons = true;
numbered_active_indicator = "highlight";
workspaces = 20;
monitorSpecific = true;
reverse_scroll = false;
scroll_speed = 5;
spacing = 1.0;
workspaceMask = true;
ignored = "";
applicationIconEmptyWorkspace = "";
applicationIconFallback = "󰣆";
icons = {
active = "";
available = "";
occupied = "";
};
};
customModules = {
scrollSpeed = 5;
cava = {
showIcon = true;
icon = "";
spaceCharacter = "";
showActiveOnly = true;
stereo = false;
autoSensitivity = true;
bars = 10;
channels = 2;
framerate = 165;
samplerate = 48000;
lowCutoff = 20;
highCutoff = 20000;
barCharacters = [
""
""
""
""
""
""
""
""
];
};
cpu = {
icon = "";
label = true;
round = true;
pollingInterval = 1000;
};
cpuTemp = {
icon = "";
label = true;
pollingInterval = 500;
round = true;
showUnit = true;
sensor = "";
};
hypridle = {
label = true;
pollingInterval = 500;
offIcon = "";
offLabel = "OFF";
onIcon = "";
onLabel = "ON";
};
hyprsunset = {
label = true;
pollingInterval = 500;
offIcon = "󰛨";
offLabel = "OFF";
onIcon = "󱩌";
onLabel = "ON";
};
kbLayout = {
icon = "󰌌";
label = true;
labelType = "code";
rightClick = "${lib.getExe' pkgs.hyprland "hyprctl"} switchxkblayout monsgeek-monsgeek-keyboard next";
};
netstat = {
icon = "󰖟";
label = true;
pollingInterval = 250;
dynamicIcon = true;
round = true;
rateUnit = "auto";
networkInLabel = "";
networkOutLabel = "";
};
power = {
icon = "";
showLabel = true;
leftClick = "menu:powerdropdown";
};
microphone = {
label = true;
mutedIcon = "";
unmutedIcon = "";
leftClick = "menu:audio";
};
ram = {
icon = "";
label = true;
labelType = "percentage";
pollingInterval = 250;
round = true;
};
storage = {
icon = "󰋊";
label = true;
labelType = "percentage";
pollingInterval = 2000;
round = false;
};
submap = {
label = true;
showSubmapName = true;
enabledIcon = "󰌐";
enabledText = "ON";
disabledIcon = "󰌌";
disabledText = "OFF";
};
updates = {
label = true;
autoHide = true;
padZero = true;
pollingInterval = 1440000;
updateCommand = "nix flake update --flake ~/Projects/flake";
icon = {
pending = "󰏗";
updated = "󰏖";
};
};
weather = {
label = true;
unit = "metric";
};
};
};
menus = {
transition = "crossfade";
transitionTime = 200;
clock = {
time = {
military = false;
hideSeconds = true;
};
weather = {
enabled = true;
location = "Yelabuga";
unit = "metric";
key = "ac3df6535cac4448a4c83337252702";
};
};
dashboard = {
shortcuts = {
left = {
shortcut1 = {
command = "${lib.getExe pkgs.google-chrome}";
icon = "";
tooltip = "Google Chrome";
};
shortcut2 = {
command = "spotify";
icon = "";
tooltip = "Spotify";
};
shortcut3 = {
command = "${lib.getExe pkgs.discord}";
icon = "";
tooltip = "Discord";
};
shortcut4 = {
command = "ayugram-desktop";
icon = "";
tooltip = "Telegram";
};
};
right = {
shortcut1 = {
command = "${lib.getExe pkgs.fuzzel}";
icon = "";
tooltip = "Search";
};
shortcut3 = {
command = "${lib.getExe pkgs.grimblast} --notify --freeze copysave area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png";
icon = "󰄀";
tooltip = "Screenshot";
};
};
};
stats = {
enable_gpu = false;
enabled = true;
interval = 1000;
};
directories = {
enabled = true;
};
powermenu = {
avatar = {
image = "/home/hand7s/Pictures/pfp4_mini.jpg";
name = "system";
};
};
};
media = {
displayTime = true;
displayTimeTooltip = true;
noMediaText = "-";
hideAlbum = false;
hideAuthor = false;
};
power = {
confirmation = true;
showLabel = true;
logout = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch exit";
reboot = "${lib.getExe' pkgs.systemd "systemctl"} reboot";
shutdown = "${lib.getExe' pkgs.systemd "systemctl"} poweroff";
sleep = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
};
volume = {
raiseMaximumVolume = false;
};
};
notifications = {
active_monitor = true;
cache_actions = true;
clearDelay = 50;
displayedTotal = 5;
showActionsOnHover = true;
timeout = 5000;
};
theme = {
matugen = false;
name = "tokyo-night-vivid";
font = {
name = "Hack Font Nerd Regular";
size = "16px";
weight = 600;
};
bar = {
transparent = false;
floating = true;
layer = "top";
location = "top";
margin_bottom = "0";
margin_sides = "20px";
margin_top = "20px";
border_radius = "10px";
border = {
location = "full";
width = "2px";
};
buttons = {
enableBorders = false;
monochrome = false;
style = "default";
};
};
osd = {
enable = true;
active_monitor = true;
duration = 2500;
location = "right";
margins = "5px 5px 5px 5px";
muted_zero = false;
radius = "10px";
};
};
wallpaper = {
enable = false;
pywal = false;
image = "";
};
};
};
};
}

View file

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

View file

@ -1,12 +1,12 @@
{...}: {
programs = {
kitty = {
enable = true;
enableGitIntegration = true;
programs = {
kitty = {
enable = true;
enableGitIntegration = true;
shellIntegration = {
enableFishIntegration = true;
};
};
shellIntegration = {
enableFishIntegration = true;
};
};
};
}

View file

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

View file

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

View file

@ -1,213 +1,213 @@
{config, ...}: {
programs =
if
(
config.home.gui.sessionType == "Hyprland"
)
then {
noctalia-shell = {
enable = true;
settings = {
general = {
avatarImage = "/home/hand7s/Pictures/pfp4_mini.jpg";
animationDisabled = false;
dimDesktop = false;
forceBlackScreenCorners = true;
showScreenCorners = true;
screenRadiusRatio = 2;
radiusRatio = 0.7;
};
programs =
if
(
config.home.gui.sessionType == "Hyprland"
)
then {
noctalia-shell = {
enable = true;
settings = {
general = {
avatarImage = "/home/hand7s/Pictures/pfp4_mini.jpg";
animationDisabled = false;
dimDesktop = false;
forceBlackScreenCorners = true;
showScreenCorners = true;
screenRadiusRatio = 2;
radiusRatio = 0.7;
};
appLauncher = {
position = "center";
useApp2Unit = false;
sortByMostUsed = true;
enableClipboardHistory = false;
terminalCommand = "ghostty -e";
};
appLauncher = {
position = "center";
useApp2Unit = false;
sortByMostUsed = true;
enableClipboardHistory = false;
terminalCommand = "ghostty -e";
};
audio = {
visualizerType = "mirrored";
volumeOverdrive = true;
cavaFrameRate = 165;
volumeStep = 5;
};
audio = {
visualizerType = "mirrored";
volumeOverdrive = true;
cavaFrameRate = 165;
volumeStep = 5;
};
bar = {
floating = true;
density = "comfortable";
position = "right";
showCapsule = false;
marginVertical = 1;
marginHorizontal = 0.6;
monitors = [
"DP-3"
];
bar = {
floating = true;
density = "comfortable";
position = "right";
showCapsule = false;
marginVertical = 1;
marginHorizontal = 0.6;
monitors = [
"DP-3"
];
widgets = {
left = [
{
id = "SidePanelToggle";
useDistroLogo = true;
}
widgets = {
left = [
{
id = "SidePanelToggle";
useDistroLogo = true;
}
{
id = "Workspace";
hideUnoccupied = true;
labelMode = "index";
}
{
id = "Workspace";
hideUnoccupied = true;
labelMode = "index";
}
{
id = "MediaMini";
autoHide = true;
scrollingMode = "hover";
showAlbumArt = true;
showVisualizer = true;
visualizerType = "mirrored";
}
];
{
id = "MediaMini";
autoHide = true;
scrollingMode = "hover";
showAlbumArt = true;
showVisualizer = true;
visualizerType = "mirrored";
}
];
center = [
{
id = "Clock";
formatHorizontal = "HH:mm:ss";
formatVertical = " HH mm ss";
useMonospacedFont = true;
usePrimaryColor = true;
}
];
center = [
{
id = "Clock";
formatHorizontal = "HH:mm:ss";
formatVertical = " HH mm ss";
useMonospacedFont = true;
usePrimaryColor = true;
}
];
right = [
{
id = "KeyboardLayout";
displayMode = "onhover";
}
right = [
{
id = "KeyboardLayout";
displayMode = "onhover";
}
{
id = "Microphone";
displayMode = "onhover";
}
{
id = "Microphone";
displayMode = "onhover";
}
{
id = "Volume";
displayMode = "onhover";
}
{
id = "Volume";
displayMode = "onhover";
}
{
id = "Spacer";
}
{
id = "Spacer";
}
{
id = "Tray";
blacklist = [];
colorizeIcons = true;
}
{
id = "Tray";
blacklist = [];
colorizeIcons = true;
}
{
id = "NotificationHistory";
hideWhenZero = false;
showUnreadBadge = true;
}
];
};
};
controlCenter = {
position = "close_to_bar_button";
quickSettingsStyle = "compact";
widgets = {
quickSettings = [
{
id = "Notifications";
}
{
id = "ScreenRecorder";
}
{
id = "KeepAwake";
}
{
id = "NightLight";
}
];
};
};
dock = {
displayMode = "auto_hide";
floatingRatio = 1;
onlySameOutput = true;
colorizeIcons = true;
monitors = [
"DP-3"
];
};
colors = with config.lib.stylix.colors; {
mBackground = base00;
mSurface = base01;
mOverlay = base02;
mMuted = base03;
mBorder = base04;
mText = base05;
mTextAlt = base06;
mTextDim = base07;
mError = base08;
mWarning = base09;
mAccent = base0A;
mSuccess = base0B;
mCyan = base0C;
mPrimary = base0D;
mMagenta = base0E;
mOrange = base0F;
mOnBackground = base05;
mOnSurface = base05;
mOnPrimary = base00;
mOnError = base00;
};
colorSchemes = {
darkMode = true;
useWallpaperColors = false;
generateTemplatesForPredefined = false;
predefinedScheme = "Tokyo Night";
matugenSchemeType = "scheme-fruit-salad";
};
osd = {
enabled = true;
alwaysOnTop = true;
autoHideMs = 2500;
location = "top";
monitors = [
"DP-3"
];
};
ui = {
fontDefault = "Nerd Fonts Hack";
fontDefaultScale = 1;
fontFixed = "Nerd Fonts Hack";
fontFixedScale = 1;
idleInhibitorEnabled = false;
tooltipsEnabled = true;
};
location = {
name = "Yelaguba";
showWeekNumberInCalendar = true;
use12hourFormat = false;
useFahrenheit = false;
};
network = {
wifiEnabled = false;
};
};
{
id = "NotificationHistory";
hideWhenZero = false;
showUnreadBadge = true;
}
];
};
}
else {};
};
controlCenter = {
position = "close_to_bar_button";
quickSettingsStyle = "compact";
widgets = {
quickSettings = [
{
id = "Notifications";
}
{
id = "ScreenRecorder";
}
{
id = "KeepAwake";
}
{
id = "NightLight";
}
];
};
};
dock = {
displayMode = "auto_hide";
floatingRatio = 1;
onlySameOutput = true;
colorizeIcons = true;
monitors = [
"DP-3"
];
};
colors = with config.lib.stylix.colors; {
mBackground = base00;
mSurface = base01;
mOverlay = base02;
mMuted = base03;
mBorder = base04;
mText = base05;
mTextAlt = base06;
mTextDim = base07;
mError = base08;
mWarning = base09;
mAccent = base0A;
mSuccess = base0B;
mCyan = base0C;
mPrimary = base0D;
mMagenta = base0E;
mOrange = base0F;
mOnBackground = base05;
mOnSurface = base05;
mOnPrimary = base00;
mOnError = base00;
};
colorSchemes = {
darkMode = true;
useWallpaperColors = false;
generateTemplatesForPredefined = false;
predefinedScheme = "Tokyo Night";
matugenSchemeType = "scheme-fruit-salad";
};
osd = {
enabled = true;
alwaysOnTop = true;
autoHideMs = 2500;
location = "top";
monitors = [
"DP-3"
];
};
ui = {
fontDefault = "Nerd Fonts Hack";
fontDefaultScale = 1;
fontFixed = "Nerd Fonts Hack";
fontFixedScale = 1;
idleInhibitorEnabled = false;
tooltipsEnabled = true;
};
location = {
name = "Yelaguba";
showWeekNumberInCalendar = true;
use12hourFormat = false;
useFahrenheit = false;
};
network = {
wifiEnabled = false;
};
};
};
}
else {};
}

View file

@ -1,22 +1,23 @@
{
config,
pkgs,
lib,
...
config,
pkgs,
lib,
...
}: {
programs = {
obs-studio = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
programs = {
obs-studio = {
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
waveform
obs-vkcapture
obs-pipewire-audio-capture
];
};
plugins = with pkgs.obs-studio-plugins; [
wlrobs
waveform
obs-vkcapture
obs-pipewire-audio-capture
];
};
};
}

View file

@ -1,19 +1,19 @@
{
lib,
pkgs,
inputs,
...
lib,
pkgs,
inputs,
...
}: {
programs = {
spicetify = {
enabledExtensions = with inputs.spicetify-nix.legacyPackages.${pkgs.system}.extensions; [
adblock
hidePodcasts
shuffle
];
programs = {
spicetify = {
enabledExtensions = with inputs.spicetify-nix.legacyPackages.${pkgs.system}.extensions; [
adblock
hidePodcasts
shuffle
];
theme = lib.mkForce inputs.spicetify-nix.legacyPackages.${pkgs.system}.themes.text;
colorScheme = lib.mkForce "Spotify";
};
theme = lib.mkForce inputs.spicetify-nix.legacyPackages.${pkgs.system}.themes.text;
colorScheme = lib.mkForce "Spotify";
};
};
}

View file

@ -1,53 +1,53 @@
{...}: {
programs = {
starship = {
enable = true;
enableFishIntegration = true;
settings = {
add_newline = true;
programs = {
starship = {
enable = true;
enableFishIntegration = true;
settings = {
add_newline = true;
format = ''
[](bold blue) $hostname $os
[](bold blue) $directory$git_branch$git_commit$git_state$git_metrics$git_status
[>](bold blue)
'';
format = ''
[](bold blue) $hostname $os
[](bold blue) $directory$git_branch$git_commit$git_state$git_metrics$git_status
[>](bold blue)
'';
right_format = ''$cmd_duration ($character) at $time'';
right_format = ''$cmd_duration ($character) at $time'';
os = {
format = "on [($name $codename$version$edition $symbol )]($style)";
style = "bold blue";
disabled = false;
};
hostname = {
ssh_only = false;
format = "[$hostname]($style)";
style = "bold red";
disabled = false;
};
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
time = {
disabled = false;
format = " [$time]($style)";
time_format = "%H:%M";
utc_time_offset = "local";
style = "pale blue";
};
cmd_duration = {
disabled = false;
min_time = 250;
show_milliseconds = false;
show_notifications = false;
format = "was [$duration](bold green)";
};
};
os = {
format = "on [($name $codename$version$edition $symbol )]($style)";
style = "bold blue";
disabled = false;
};
hostname = {
ssh_only = false;
format = "[$hostname]($style)";
style = "bold red";
disabled = false;
};
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
time = {
disabled = false;
format = " [$time]($style)";
time_format = "%H:%M";
utc_time_offset = "local";
style = "pale blue";
};
cmd_duration = {
disabled = false;
min_time = 250;
show_milliseconds = false;
show_notifications = false;
format = "was [$duration](bold green)";
};
};
};
};
}

View file

@ -1,18 +1,19 @@
{
config,
lib,
...
config,
lib,
...
}: {
programs = {
swaylock = {
enable = lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;
programs = {
swaylock = {
enable =
lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;
settings = {
show-failed-attempts = true;
};
};
settings = {
show-failed-attempts = true;
};
};
};
}

View file

@ -1,48 +1,48 @@
{
config,
pkgs,
lib,
...
config,
pkgs,
lib,
...
}: {
programs = {
vscode = {
profiles = {
default = {
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
ms-vscode-remote.vscode-remote-extensionpack
ms-vsliveshare.vsliveshare
redhat.vscode-yaml
redhat.ansible
];
programs = {
vscode = {
profiles = {
default = {
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
ms-vscode-remote.vscode-remote-extensionpack
ms-vsliveshare.vsliveshare
redhat.vscode-yaml
redhat.ansible
];
userSettings = lib.mkForce {
"editor.fontFamily" = config.stylix.fonts.emoji.name;
"editor.fontSize" = 16;
userSettings = lib.mkForce {
"editor.fontFamily" = config.stylix.fonts.emoji.name;
"editor.fontSize" = 16;
"editor.cursorBlinking" = "smooth";
"editor.cursorSmoothCaretAnimation" = "on";
"editor.wordWrap" = "on";
"editor.cursorBlinking" = "smooth";
"editor.cursorSmoothCaretAnimation" = "on";
"editor.wordWrap" = "on";
"workbench.colorTheme" = "Tokyo Night Moon";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "top";
"workbench.editor.editorActionsLocation" = "titleBar";
"workbench.editor.showTabs" = "none";
"workbench.colorTheme" = "Tokyo Night Moon";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "top";
"workbench.editor.editorActionsLocation" = "titleBar";
"workbench.editor.showTabs" = "none";
"window.menuBarVisibility" = "hidden";
"window.menuBarVisibility" = "hidden";
"terminal.integrated.cursorBlinking" = true;
"terminal.integrated.cursorBlinking" = true;
"files.autoSave" = "afterDelay";
"files.autoSave" = "afterDelay";
"[nix]" = {
"editor.insertSpaces" = true;
"editor.tabSize" = 4;
};
};
};
"[nix]" = {
"editor.insertSpaces" = true;
"editor.tabSize" = 4;
};
};
};
};
};
};
}

View file

@ -1,109 +1,109 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
programs = {
yazi = {
enable = true;
enableFishIntegration = true;
shellWrapperName = "yz";
settings = {
mgr = {
sort_by = "natural";
sort_sensitive = true;
sort_reverse = false;
sort_translit = true;
programs = {
yazi = {
enable = true;
enableFishIntegration = true;
shellWrapperName = "yz";
settings = {
mgr = {
sort_by = "natural";
sort_sensitive = true;
sort_reverse = false;
sort_translit = true;
linemode = "size";
linemode = "size";
show_hidden = true;
show_symlink = true;
show_hidden = true;
show_symlink = true;
prepend_keymap = [
{
on = "R";
run = "plugin rsync";
desc = "Copy files using rsync";
}
prepend_keymap = [
{
on = "R";
run = "plugin rsync";
desc = "Copy files using rsync";
}
{
on = "c, m";
run = "plugin chmod";
desc = "Chmod on selected files";
}
];
};
preview = {
tab_size = 4;
image_filter = "lanczos3";
image_quality = 90;
};
opener = {
play = [
{
run = "${lib.getExe pkgs.mpv} ''$@''";
block = true;
for = "unix";
}
];
edit = [
{
run = "${lib.getExe pkgs.helix} ''$@''";
block = true;
for = "unix";
}
];
open = [
{
run = "${lib.getExe' pkgs.xdg-utils "xdg-open"} ''$@''";
block = true;
for = "unix";
}
];
};
input = {
cursor_blink = true;
};
plugin = {
prepend_fetchers = [
{
id = "git";
name = "*";
run = "git";
}
{
id = "git";
name = "*/";
run = "git";
}
];
};
};
plugins = {
inherit
(pkgs.yaziPlugins)
starship
rsync
git
chmod
full-border
;
};
initLua = ''
require("full-border"):setup({ type = ui.Border.ROUNDED })
require("starship"):setup()
require("git"):setup()
'';
{
on = "c, m";
run = "plugin chmod";
desc = "Chmod on selected files";
}
];
};
preview = {
tab_size = 4;
image_filter = "lanczos3";
image_quality = 90;
};
opener = {
play = [
{
run = "${lib.getExe pkgs.mpv} ''$@''";
block = true;
for = "unix";
}
];
edit = [
{
run = "${lib.getExe pkgs.helix} ''$@''";
block = true;
for = "unix";
}
];
open = [
{
run = "${lib.getExe' pkgs.xdg-utils "xdg-open"} ''$@''";
block = true;
for = "unix";
}
];
};
input = {
cursor_blink = true;
};
plugin = {
prepend_fetchers = [
{
id = "git";
name = "*";
run = "git";
}
{
id = "git";
name = "*/";
run = "git";
}
];
};
};
plugins = {
inherit
(pkgs.yaziPlugins)
starship
rsync
git
chmod
full-border
;
};
initLua = ''
require("full-border"):setup({ type = ui.Border.ROUNDED })
require("starship"):setup()
require("git"):setup()
'';
};
};
}

View file

@ -1,32 +1,32 @@
{pkgs, ...}: {
programs = {
zed-editor = {
enable = false;
package = pkgs.zed-editor_git;
installRemoteServer = true;
userSettings = {
vim_mode = true;
features = {
copilot = false;
};
tab_bar = {
show = false;
};
telemetry = {
metrics = false;
};
};
extensions = [
"nix"
"xy-zed"
];
extraPackages = [
pkgs.nixd
];
programs = {
zed-editor = {
enable = false;
package = pkgs.zed-editor_git;
installRemoteServer = true;
userSettings = {
vim_mode = true;
features = {
copilot = false;
};
tab_bar = {
show = false;
};
telemetry = {
metrics = false;
};
};
extensions = [
"nix"
"xy-zed"
];
extraPackages = [
pkgs.nixd
];
};
};
}

View file

@ -1,24 +1,24 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
programs = {
zellij = {
enable = true;
settings = {
default_shell = "${lib.getExe pkgs.fish}";
show_startup_tips = false;
show_release_notes = false;
simplified_ui = true;
programs = {
zellij = {
enable = true;
settings = {
default_shell = "${lib.getExe pkgs.fish}";
show_startup_tips = false;
show_release_notes = false;
simplified_ui = true;
ui = {
pane_frames = {
rounded_corners = true;
hide_session_name = false;
};
};
};
ui = {
pane_frames = {
rounded_corners = true;
hide_session_name = false;
};
};
};
};
};
}

View file

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

View file

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

View file

@ -1,40 +1,41 @@
{
config,
pkgs,
lib,
...
config,
pkgs,
lib,
...
}: {
services = {
hypridle = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
services = {
hypridle = {
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
settings = {
general = {
before_sleep_cmd = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch dpms off";
after_sleep_cmd = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch dpms on";
};
listener = [
{
timeout = 300;
on-timeout = "${lib.getExe pkgs.brightnessctl} -s set 10";
on-resume = "${lib.getExe pkgs.brightnessctl} -r";
}
{
timeout = 600;
on-timeout = "${lib.getExe pkgs.hyprlock}";
}
{
timeout = 900;
on-timeout = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
}
];
};
settings = {
general = {
before_sleep_cmd = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch dpms off";
after_sleep_cmd = "${lib.getExe' pkgs.hyprland "hyprctl"} dispatch dpms on";
};
listener = [
{
timeout = 300;
on-timeout = "${lib.getExe pkgs.brightnessctl} -s set 10";
on-resume = "${lib.getExe pkgs.brightnessctl} -r";
}
{
timeout = 600;
on-timeout = "${lib.getExe pkgs.hyprlock}";
}
{
timeout = 900;
on-timeout = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
}
];
};
};
};
}

View file

@ -1,8 +1,8 @@
{pkgs, ...}: {
services = {
kdeconnect = {
package = pkgs.valent;
indicator = true;
};
services = {
kdeconnect = {
package = pkgs.valent;
indicator = true;
};
};
}

View file

@ -1,50 +1,51 @@
{
config,
pkgs,
lib,
...
config,
pkgs,
lib,
...
}: {
services = {
swayidle = {
enable = lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;
services = {
swayidle = {
enable =
lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;
events = [
{
event = "lock";
command = "${lib.getExe pkgs.swaylock}";
}
events = [
{
event = "lock";
command = "${lib.getExe pkgs.swaylock}";
}
{
event = "before-sleep";
command = "${lib.getExe' pkgs.sway "swaymsg"} 'output * power off'";
}
{
event = "before-sleep";
command = "${lib.getExe' pkgs.sway "swaymsg"} 'output * power off'";
}
{
event = "after-resume";
command = "${lib.getExe' pkgs.sway "swaymsg"} 'output * power on'";
}
];
{
event = "after-resume";
command = "${lib.getExe' pkgs.sway "swaymsg"} 'output * power on'";
}
];
timeouts = [
{
timeout = 300;
command = "${lib.getExe pkgs.brightnessctl} -s set 10";
resumeCommand = "${lib.getExe pkgs.brightnessctl} -r";
}
timeouts = [
{
timeout = 300;
command = "${lib.getExe pkgs.brightnessctl} -s set 10";
resumeCommand = "${lib.getExe pkgs.brightnessctl} -r";
}
{
timeout = 600;
command = "${lib.getExe pkgs.swaylock}";
}
{
timeout = 600;
command = "${lib.getExe pkgs.swaylock}";
}
{
timeout = 900;
command = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
}
];
};
{
timeout = 900;
command = "${lib.getExe' pkgs.systemd "systemctl"} suspend";
}
];
};
};
}

View file

@ -1,15 +1,15 @@
{self, ...}: {
imports = [
"${self}/hand7s/nix/settings/substituters.nix"
"${self}/hand7s/nix/settings/trusted-public-keys.nix"
"${self}/hand7s/nix/package.nix"
imports = [
"${self}/hand7s/nix/settings/substituters.nix"
"${self}/hand7s/nix/settings/trusted-public-keys.nix"
"${self}/hand7s/nix/package.nix"
"${self}/hand7s/stylix/base16Scheme.nix"
"${self}/hand7s/stylix/cursor.nix"
"${self}/hand7s/stylix/defaults.nix"
"${self}/hand7s/stylix/fonts.nix"
"${self}/hand7s/stylix/image.nix"
"${self}/hand7s/stylix/base16Scheme.nix"
"${self}/hand7s/stylix/cursor.nix"
"${self}/hand7s/stylix/defaults.nix"
"${self}/hand7s/stylix/fonts.nix"
"${self}/hand7s/stylix/image.nix"
"${self}/hand7s/"
];
"${self}/hand7s/"
];
}

View file

@ -1,24 +1,24 @@
{...}: {
stylix = {
base16Scheme = {
scheme = "Tokyonight by Folke Lemaitre (https://github.com/folke)";
name = "Tokyonight";
base00 = "#24283b";
base01 = "#1f2335";
base02 = "#292e42";
base03 = "#565f89";
base04 = "#a9b1d6";
base05 = "#c0caf5";
base06 = "#c0caf5";
base07 = "#c0caf5";
base08 = "#f7768e";
base09 = "#ff9e64";
base0A = "#e0af68";
base0B = "#9ece6a";
base0C = "#1abc9c";
base0D = "#41a6b5";
base0E = "#bb9af7";
base0F = "#ff007c";
};
stylix = {
base16Scheme = {
scheme = "Tokyonight by Folke Lemaitre (https://github.com/folke)";
name = "Tokyonight";
base00 = "#24283b";
base01 = "#1f2335";
base02 = "#292e42";
base03 = "#565f89";
base04 = "#a9b1d6";
base05 = "#c0caf5";
base06 = "#c0caf5";
base07 = "#c0caf5";
base08 = "#f7768e";
base09 = "#ff9e64";
base0A = "#e0af68";
base0B = "#9ece6a";
base0C = "#1abc9c";
base0D = "#41a6b5";
base0E = "#bb9af7";
base0F = "#ff007c";
};
};
}

View file

@ -1,9 +1,9 @@
{pkgs, ...}: {
stylix = {
cursor = {
name = "material_light_cursors";
package = pkgs.material-cursors;
size = 20;
};
stylix = {
cursor = {
name = "material_light_cursors";
package = pkgs.material-cursors;
size = 20;
};
};
}

View file

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

View file

@ -1,32 +1,32 @@
{pkgs, ...}: {
stylix = {
fonts = {
sizes = {
applications = 10;
desktop = 8;
popups = 10;
terminal = 10;
};
stylix = {
fonts = {
sizes = {
applications = 10;
desktop = 8;
popups = 10;
terminal = 10;
};
monospace = {
package = pkgs.nerd-fonts.roboto-mono;
name = "Roboto-Mono Nerd Font";
};
monospace = {
package = pkgs.nerd-fonts.roboto-mono;
name = "Roboto-Mono Nerd Font";
};
emoji = {
package = pkgs.nerd-fonts.symbols-only;
name = "Symbols Only Nerd Font";
};
emoji = {
package = pkgs.nerd-fonts.symbols-only;
name = "Symbols Only Nerd Font";
};
sansSerif = {
package = pkgs.nerd-fonts.aurulent-sans-mono;
name = "Aurulent Sans Mono Nerd Font";
};
sansSerif = {
package = pkgs.nerd-fonts.aurulent-sans-mono;
name = "Aurulent Sans Mono Nerd Font";
};
serif = {
package = pkgs.nerd-fonts.hack;
name = "Hack Nerd Font";
};
};
serif = {
package = pkgs.nerd-fonts.hack;
name = "Hack Nerd Font";
};
};
};
}

View file

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

View file

@ -1,32 +1,32 @@
{...}: {
stylix = {
base16Scheme = {
base00 = "2a1617";
base01 = "5d3f3f";
base02 = "7a5bab";
base03 = "bb9499";
base04 = "eea1cf";
base05 = "f5dddd";
base06 = "ffebff";
base07 = "ffede9";
base08 = "e36b70";
base09 = "ac878e";
base0A = "db7356";
base0B = "a78897";
base0C = "ca7a79";
base0D = "b28776";
base0E = "d8708b";
base0F = "ec6653";
base10 = "2a1617";
base11 = "2a1617";
base12 = "e36b70";
base13 = "ac878e";
base14 = "a78897";
base15 = "ca7a79";
base16 = "b28776";
base17 = "d8708b";
scheme = "hand7s";
name = "red_ish";
};
stylix = {
base16Scheme = {
base00 = "2a1617";
base01 = "5d3f3f";
base02 = "7a5bab";
base03 = "bb9499";
base04 = "eea1cf";
base05 = "f5dddd";
base06 = "ffebff";
base07 = "ffede9";
base08 = "e36b70";
base09 = "ac878e";
base0A = "db7356";
base0B = "a78897";
base0C = "ca7a79";
base0D = "b28776";
base0E = "d8708b";
base0F = "ec6653";
base10 = "2a1617";
base11 = "2a1617";
base12 = "e36b70";
base13 = "ac878e";
base14 = "a78897";
base15 = "ca7a79";
base16 = "b28776";
base17 = "d8708b";
scheme = "hand7s";
name = "red_ish";
};
};
}

View file

@ -1,33 +1,33 @@
{
pkgs,
lib,
...
pkgs,
lib,
...
}: {
systemd = {
user = {
services = {
hyprpolkitagent = {
Unit = {
Description = "Hyprpolkitagent service.";
After = "graphical-session.target";
PartOf = "graphical-session.target";
};
systemd = {
user = {
services = {
hyprpolkitagent = {
Unit = {
Description = "Hyprpolkitagent service.";
After = "graphical-session.target";
PartOf = "graphical-session.target";
};
Service = {
Type = "simple";
ExecStart = "${lib.getExe pkgs.hyprpolkitagent}";
Restart = "always";
RestartSec = 1;
TimeoutStopSec = 10;
};
Service = {
Type = "simple";
ExecStart = "${lib.getExe pkgs.hyprpolkitagent}";
Restart = "always";
RestartSec = 1;
TimeoutStopSec = 10;
};
Install = {
WantedBy = [
"graphical-session.target"
];
};
};
};
Install = {
WantedBy = [
"graphical-session.target"
];
};
};
};
};
};
}

View file

@ -1,273 +1,274 @@
{
inputs,
config,
pkgs,
lib,
...
inputs,
config,
pkgs,
lib,
...
}: {
wayland = {
windowManager = {
hyprland = {
enable = lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
wayland = {
windowManager = {
hyprland = {
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
settings = {
monitor = ", 2560x1440@165.00Hz, 0x0, 1";
settings = {
monitor = ", 2560x1440@165.00Hz, 0x0, 1";
general = {
gaps_in = "5";
gaps_out = "20";
border_size = "2";
layout = "dwindle";
general = {
gaps_in = "5";
gaps_out = "20";
border_size = "2";
layout = "dwindle";
snap = {
enabled = false;
window_gap = "5";
monitor_gap = "5";
border_overlap = false;
};
};
input = {
kb_layout = "us, ru";
kb_options = "grp:caps_toggle";
numlock_by_default = true;
follow_mouse = "1";
left_handed = false;
sensitivity = "0";
special_fallthrough = true;
focus_on_close = 1;
touchpad = {
disable_while_typing = true;
tap-to-click = true;
};
tablet = {
output = "current";
left_handed = true;
};
};
gestures = {
workspace_swipe = true;
workspace_swipe_fingers = true;
workspace_swipe_distance = 400;
};
decoration = {
active_opacity = "0.85";
inactive_opacity = "0.65";
fullscreen_opacity = "1.0";
rounding = "10";
dim_inactive = true;
dim_strength = "0.15";
dim_special = "0.0";
dim_around = "0.05";
shadow = {
enabled = true;
render_power = "4";
range = "4";
ignore_window = false;
};
blur = {
enabled = true;
size = "10";
passes = "5";
};
};
execr-once = [
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service"
"${lib.getExe' pkgs.systemd "systemctl"} --user start hypridle.service"
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service"
# "${lib.getExe' pkgs.systemd "systemctl"} --user start noctalis.service"
"${lib.getExe inputs.noctalia.packages.${pkgs.system}.default}"
"${lib.getExe' pkgs.hyprland "hyprctl"} setcursor material_light_cursors 20"
];
bind = [
"ALT, return, exec, ${lib.getExe pkgs.ghostty}"
"ALT, Q, killactive,"
"ALT, S, exec, ${lib.getExe inputs.noctalia.packages.${pkgs.system}.default} ipc call launcher toggle"
"ALT, F, fullscreen, 0"
"ALT, L, exec, ${lib.getExe pkgs.hyprlock}"
"ALT SHIFT, E, exit,"
"ALT SHIFT, space, togglefloating, active"
"ALT SHIFT, S, exec, ${lib.getExe pkgs.grimblast} --notify --freeze copysave area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png"
"ALT, left, movefocus, l"
"ALT, right, movefocus, r"
"ALT, up, movefocus, u"
"ALT, down, movefocus, d"
"ALT, 1, workspace, 1"
"ALT, 2, workspace, 2"
"ALT, 3, workspace, 3"
"ALT, 4, workspace, 4"
"ALT, 5, workspace, 5"
"ALT, 6, workspace, 6"
"ALT, 7, workspace, 7"
"ALT, 8, workspace, 8"
"ALT, 9, workspace, 9"
"ALT, 0, workspace, 10"
"ALT, H, togglespecialworkspace, special"
"ALT SHIFT, 1, movetoworkspacesilent, 1"
"ALT SHIFT, 2, movetoworkspacesilent, 2"
"ALT SHIFT, 3, movetoworkspacesilent, 3"
"ALT SHIFT, 4, movetoworkspacesilent, 4"
"ALT SHIFT, 5, movetoworkspacesilent, 5"
"ALT SHIFT, 6, movetoworkspacesilent, 6"
"ALT SHIFT, 7, movetoworkspacesilent, 7"
"ALT SHIFT, 8, movetoworkspacesilent, 8"
"ALT SHIFT, 9, movetoworkspacesilent, 9"
"ALT SHIFT, 0, movetoworkspacesilent, 10"
"ALT SHIFT, H, movetoworkspacesilent, special"
"ALT, mouse_down, workspace, e+1"
"ALT, mouse_up, workspace, e-1"
];
bindel = [
", XF86AudioRaiseVolume, exec, ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%+"
", XF86AudioLowerVolume, exec, ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%-"
", XF86MonBrightnessDown, exec, ${lib.getExe pkgs.brightnessctl} set 5%-"
", XF86MonBrightnessUp, exec, ${lib.getExe pkgs.brightnessctl} set +5%"
];
bindl = [
", XF86AudioPlay, exec, ${lib.getExe pkgs.playerctl} play-pause"
", XF86AudioPrev, exec, ${lib.getExe pkgs.playerctl} previous"
", XF86AudioNext, exec, ${lib.getExe pkgs.playerctl} next"
", XF86AudioMute, exec, ${lib.getExe' pkgs.wireplumber "wpctl"} set-mute @DEFAULT_AUDIO_SINK@ toggle"
];
bindm = [
"ALT, mouse:272, movewindow"
"ALT, mouse:273, resizewindow"
];
animation = [
"enabled = true"
"bezier = bez, 0.05, 0.9, 0.1, 1.05"
"animation = windows, 1, 7, bez"
"animation = windowsOut, 1, 7, default, popin 80%"
"animation = border, 1, 10, default"
"animation = borderangle, 1, 10, default"
"animation = fade, 1, 7, default"
"animation = workspaces, 1, 7, default"
];
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
middle_click_paste = false;
animate_manual_resizes = true;
animate_mouse_windowdragging = true;
focus_on_activate = true;
close_special_on_empty = true;
initial_workspace_tracking = "2";
};
render = {
cm_auto_hdr = 0;
};
binds = {
workspace_back_and_forth = true;
allow_workspace_cycles = true;
workspace_center_on = true;
};
xwayland = {
enabled = true;
use_nearest_neighbor = true;
force_zero_scaling = false;
};
ecosystem = {
no_update_news = true;
no_donation_nag = true;
};
debug = {
suppress_errors = true;
};
plugin = {
hyprscrolling = {
fullscreen_on_one_column = true;
follow_focus = true;
};
easymotion = {
only_special = false;
};
dynamic-cursors = {
enabled = true;
mode = "strech";
threshold = 2;
stretch = {
limit = 4000;
function = "quadratic";
};
shake = {
enabled = true;
nearest = true;
threshold = 10.0;
effects = true;
};
hyprcursor = {
enabled = true;
nearest = true;
fallback = "clientside";
};
};
touch_gestures = {
sensitivity = 0.0;
workspace_swipe_fingers = 4;
long_press_delay = 400;
resize_on_border_long_press = true;
edge_margin = 10;
emulate_touchpad_swipe = false;
};
};
};
plugins = [
# pkgs.hyprlandPlugins.hypr-dynamic-cursors
# pkgs.hyprlandPlugins.xtra-dispatchers
# pkgs.hyprlandPlugins.hyprwinwrap
# pkgs.hyprlandPlugins.hyprgrass
# pkgs.hyprlandPlugins.hyprscrolling
# inputs.hyprcurs.packages.${pkgs.system}.hypr-dynamic-cursors
# inputs.hyprplugs.packages.${pkgs.system}.hyprscrolling
# inputs.hyprplugs.packages.${pkgs.system}.xtra-dispatchers
# inputs.hyprplugs.packages.${pkgs.system}.hyprwinwrap
];
snap = {
enabled = false;
window_gap = "5";
monitor_gap = "5";
border_overlap = false;
};
};
input = {
kb_layout = "us, ru";
kb_options = "grp:caps_toggle";
numlock_by_default = true;
follow_mouse = "1";
left_handed = false;
sensitivity = "0";
special_fallthrough = true;
focus_on_close = 1;
touchpad = {
disable_while_typing = true;
tap-to-click = true;
};
tablet = {
output = "current";
left_handed = true;
};
};
gestures = {
workspace_swipe = true;
workspace_swipe_fingers = true;
workspace_swipe_distance = 400;
};
decoration = {
active_opacity = "0.85";
inactive_opacity = "0.65";
fullscreen_opacity = "1.0";
rounding = "10";
dim_inactive = true;
dim_strength = "0.15";
dim_special = "0.0";
dim_around = "0.05";
shadow = {
enabled = true;
render_power = "4";
range = "4";
ignore_window = false;
};
blur = {
enabled = true;
size = "10";
passes = "5";
};
};
execr-once = [
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service"
"${lib.getExe' pkgs.systemd "systemctl"} --user start hypridle.service"
"${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service"
# "${lib.getExe' pkgs.systemd "systemctl"} --user start noctalis.service"
"${lib.getExe inputs.noctalia.packages.${pkgs.system}.default}"
"${lib.getExe' pkgs.hyprland "hyprctl"} setcursor material_light_cursors 20"
];
bind = [
"ALT, return, exec, ${lib.getExe pkgs.ghostty}"
"ALT, Q, killactive,"
"ALT, S, exec, ${lib.getExe inputs.noctalia.packages.${pkgs.system}.default} ipc call launcher toggle"
"ALT, F, fullscreen, 0"
"ALT, L, exec, ${lib.getExe pkgs.hyprlock}"
"ALT SHIFT, E, exit,"
"ALT SHIFT, space, togglefloating, active"
"ALT SHIFT, S, exec, ${lib.getExe pkgs.grimblast} --notify --freeze copysave area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png"
"ALT, left, movefocus, l"
"ALT, right, movefocus, r"
"ALT, up, movefocus, u"
"ALT, down, movefocus, d"
"ALT, 1, workspace, 1"
"ALT, 2, workspace, 2"
"ALT, 3, workspace, 3"
"ALT, 4, workspace, 4"
"ALT, 5, workspace, 5"
"ALT, 6, workspace, 6"
"ALT, 7, workspace, 7"
"ALT, 8, workspace, 8"
"ALT, 9, workspace, 9"
"ALT, 0, workspace, 10"
"ALT, H, togglespecialworkspace, special"
"ALT SHIFT, 1, movetoworkspacesilent, 1"
"ALT SHIFT, 2, movetoworkspacesilent, 2"
"ALT SHIFT, 3, movetoworkspacesilent, 3"
"ALT SHIFT, 4, movetoworkspacesilent, 4"
"ALT SHIFT, 5, movetoworkspacesilent, 5"
"ALT SHIFT, 6, movetoworkspacesilent, 6"
"ALT SHIFT, 7, movetoworkspacesilent, 7"
"ALT SHIFT, 8, movetoworkspacesilent, 8"
"ALT SHIFT, 9, movetoworkspacesilent, 9"
"ALT SHIFT, 0, movetoworkspacesilent, 10"
"ALT SHIFT, H, movetoworkspacesilent, special"
"ALT, mouse_down, workspace, e+1"
"ALT, mouse_up, workspace, e-1"
];
bindel = [
", XF86AudioRaiseVolume, exec, ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%+"
", XF86AudioLowerVolume, exec, ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%-"
", XF86MonBrightnessDown, exec, ${lib.getExe pkgs.brightnessctl} set 5%-"
", XF86MonBrightnessUp, exec, ${lib.getExe pkgs.brightnessctl} set +5%"
];
bindl = [
", XF86AudioPlay, exec, ${lib.getExe pkgs.playerctl} play-pause"
", XF86AudioPrev, exec, ${lib.getExe pkgs.playerctl} previous"
", XF86AudioNext, exec, ${lib.getExe pkgs.playerctl} next"
", XF86AudioMute, exec, ${lib.getExe' pkgs.wireplumber "wpctl"} set-mute @DEFAULT_AUDIO_SINK@ toggle"
];
bindm = [
"ALT, mouse:272, movewindow"
"ALT, mouse:273, resizewindow"
];
animation = [
"enabled = true"
"bezier = bez, 0.05, 0.9, 0.1, 1.05"
"animation = windows, 1, 7, bez"
"animation = windowsOut, 1, 7, default, popin 80%"
"animation = border, 1, 10, default"
"animation = borderangle, 1, 10, default"
"animation = fade, 1, 7, default"
"animation = workspaces, 1, 7, default"
];
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
middle_click_paste = false;
animate_manual_resizes = true;
animate_mouse_windowdragging = true;
focus_on_activate = true;
close_special_on_empty = true;
initial_workspace_tracking = "2";
};
render = {
cm_auto_hdr = 0;
};
binds = {
workspace_back_and_forth = true;
allow_workspace_cycles = true;
workspace_center_on = true;
};
xwayland = {
enabled = true;
use_nearest_neighbor = true;
force_zero_scaling = false;
};
ecosystem = {
no_update_news = true;
no_donation_nag = true;
};
debug = {
suppress_errors = true;
};
plugin = {
hyprscrolling = {
fullscreen_on_one_column = true;
follow_focus = true;
};
easymotion = {
only_special = false;
};
dynamic-cursors = {
enabled = true;
mode = "strech";
threshold = 2;
stretch = {
limit = 4000;
function = "quadratic";
};
shake = {
enabled = true;
nearest = true;
threshold = 10.0;
effects = true;
};
hyprcursor = {
enabled = true;
nearest = true;
fallback = "clientside";
};
};
touch_gestures = {
sensitivity = 0.0;
workspace_swipe_fingers = 4;
long_press_delay = 400;
resize_on_border_long_press = true;
edge_margin = 10;
emulate_touchpad_swipe = false;
};
};
};
plugins = [
# pkgs.hyprlandPlugins.hypr-dynamic-cursors
# pkgs.hyprlandPlugins.xtra-dispatchers
# pkgs.hyprlandPlugins.hyprwinwrap
# pkgs.hyprlandPlugins.hyprgrass
# pkgs.hyprlandPlugins.hyprscrolling
# inputs.hyprcurs.packages.${pkgs.system}.hypr-dynamic-cursors
# inputs.hyprplugs.packages.${pkgs.system}.hyprscrolling
# inputs.hyprplugs.packages.${pkgs.system}.xtra-dispatchers
# inputs.hyprplugs.packages.${pkgs.system}.hyprwinwrap
];
};
};
};
}

View file

@ -1,111 +1,112 @@
{
config,
pkgs,
lib,
...
config,
pkgs,
lib,
...
}: {
wayland = {
windowManager = {
river = {
enable = lib.mkIf (
config.home.gui.sessionType == "River"
)
true;
wayland = {
windowManager = {
river = {
enable =
lib.mkIf (
config.home.gui.sessionType == "River"
)
true;
settings = {
default-layout = "rivertile";
focus-follows-cursor = "normal";
border-width = 2;
settings = {
default-layout = "rivertile";
focus-follows-cursor = "normal";
border-width = 2;
declare-mod = [
"locked"
"normal"
];
declare-mod = [
"locked"
"normal"
];
xwayland = {
enable = true;
};
xwayland = {
enable = true;
};
map = {
normal = {
"Alt Q" = "close";
"Alt S" = "spawn fuzzel";
"Alt Return" = "spawn ghostty";
"Alt L" = "spawn hyprlock";
"Alt F" = "toggle-fullscreen";
map = {
normal = {
"Alt Q" = "close";
"Alt S" = "spawn fuzzel";
"Alt Return" = "spawn ghostty";
"Alt L" = "spawn hyprlock";
"Alt F" = "toggle-fullscreen";
"Alt+Shift S" = "spawn wayshot --clipboard";
"Alt+Shift E" = "exit";
"Alt+Shift Space" = "toggle-float";
"Alt+Shift S" = "spawn wayshot --clipboard";
"Alt+Shift E" = "exit";
"Alt+Shift Space" = "toggle-float";
"Alt Up" = "send-to-output next";
"Alt Down" = "send-to-output previous";
"Alt Right" = "send-to-output next";
"Alt Left" = "send-to-output previous";
"Alt Up" = "send-to-output next";
"Alt Down" = "send-to-output previous";
"Alt Right" = "send-to-output next";
"Alt Left" = "send-to-output previous";
"Alt 1" = "set-focused-tags 0";
"Alt 2" = "set-focused-tags 1";
"Alt 3" = "set-focused-tags 2";
"Alt 4" = "set-focused-tags 3";
"Alt 5" = "set-focused-tags 4";
"Alt 6" = "set-focused-tags 5";
"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 1" = "set-focused-tags 0";
"Alt 2" = "set-focused-tags 1";
"Alt 3" = "set-focused-tags 2";
"Alt 4" = "set-focused-tags 3";
"Alt 5" = "set-focused-tags 4";
"Alt 6" = "set-focused-tags 5";
"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+Shift 1" = "set-view-tags 0";
"Alt+Shift 2" = "set-view-tags 1";
"Alt+Shift 3" = "set-view-tags 2";
"Alt+Shift 4" = "set-view-tags 3";
"Alt+Shift 5" = "set-view-tags 4";
"Alt+Shift 6" = "set-view-tags 5";
"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 1" = "set-view-tags 0";
"Alt+Shift 2" = "set-view-tags 1";
"Alt+Shift 3" = "set-view-tags 2";
"Alt+Shift 4" = "set-view-tags 3";
"Alt+Shift 5" = "set-view-tags 4";
"Alt+Shift 6" = "set-view-tags 5";
"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+Control 1" = "toggle-focused-tags 0";
"Alt+Control 2" = "toggle-focused-tags 1";
"Alt+Control 3" = "toggle-focused-tags 2";
"Alt+Control 4" = "toggle-focused-tags 3";
"Alt+Control 5" = "toggle-focused-tags 4";
"Alt+Control 6" = "toggle-focused-tags 5";
"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 1" = "toggle-focused-tags 0";
"Alt+Control 2" = "toggle-focused-tags 1";
"Alt+Control 3" = "toggle-focused-tags 2";
"Alt+Control 4" = "toggle-focused-tags 3";
"Alt+Control 5" = "toggle-focused-tags 4";
"Alt+Control 6" = "toggle-focused-tags 5";
"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+Shift+Control 1" = "toggle-view-tags 0";
"Alt+Shift+Control 2" = "toggle-view-tags 1";
"Alt+Shift+Control 3" = "toggle-view-tags 2";
"Alt+Shift+Control 4" = "toggle-view-tags 3";
"Alt+Shift+Control 5" = "toggle-view-tags 4";
"Alt+Shift+Control 6" = "toggle-view-tags 5";
"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";
};
map-pointer = {
normal = {
"Alt BTN_LEFT" = "move-view";
"Alt BTN_RIGHT" = "resize-view";
};
};
};
};
extraConfig = ''
${lib.getExe' pkgs.river "riverctl"} keyboard-layout -options "grp:caps_toggle" "us,ru"
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getExe' pkgs.systemd "systemctl"} --user start yambar.service
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getEce pkgs.wayidle} -t=300 ${lib.getExe pkgs.brightnessctl} -s set 10
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getEce pkgs.wayidle} -t=600 ${lib.getExe pkgs.waylock}
'';
"Alt+Shift+Control 1" = "toggle-view-tags 0";
"Alt+Shift+Control 2" = "toggle-view-tags 1";
"Alt+Shift+Control 3" = "toggle-view-tags 2";
"Alt+Shift+Control 4" = "toggle-view-tags 3";
"Alt+Shift+Control 5" = "toggle-view-tags 4";
"Alt+Shift+Control 6" = "toggle-view-tags 5";
"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";
};
map-pointer = {
normal = {
"Alt BTN_LEFT" = "move-view";
"Alt BTN_RIGHT" = "resize-view";
};
};
};
};
extraConfig = ''
${lib.getExe' pkgs.river "riverctl"} keyboard-layout -options "grp:caps_toggle" "us,ru"
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getExe' pkgs.systemd "systemctl"} --user start yambar.service
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getEce pkgs.wayidle} -t=300 ${lib.getExe pkgs.brightnessctl} -s set 10
${lib.getExe' pkgs.river "riverctl"} spawn ${lib.getEce pkgs.wayidle} -t=600 ${lib.getExe pkgs.waylock}
'';
};
};
};
}

View file

@ -1,184 +1,185 @@
{
config,
pkgs,
lib,
...
config,
pkgs,
lib,
...
}: {
wayland = {
windowManager = {
sway = {
enable = lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;
wayland = {
windowManager = {
sway = {
enable =
lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;
package = pkgs.sway;
package = pkgs.sway;
config = {
bindkeysToCode = true;
defaultWorkspace = "workspace number 1";
workspaceAutoBackAndForth = true;
config = {
bindkeysToCode = true;
defaultWorkspace = "workspace number 1";
workspaceAutoBackAndForth = true;
bars = [];
bars = [];
window = {
border = 2;
titlebar = false;
hideEdgeBorders = "both";
};
window = {
border = 2;
titlebar = false;
hideEdgeBorders = "both";
};
floating = {
border = 2;
titlebar = false;
modifier = "Mod1";
};
floating = {
border = 2;
titlebar = false;
modifier = "Mod1";
};
focus = {
forceWrapping = true;
mouseWarping = true;
focus = {
forceWrapping = true;
mouseWarping = true;
followMouse = "always";
newWindow = "smart";
wrapping = "yes";
};
followMouse = "always";
newWindow = "smart";
wrapping = "yes";
};
gaps = {
vertical = null;
horizontal = null;
gaps = {
vertical = null;
horizontal = null;
outer = null;
inner = null;
outer = null;
inner = null;
top = null;
bottom = null;
left = null;
right = null;
top = null;
bottom = null;
left = null;
right = null;
smartGaps = false;
smartBorders = "no_gaps";
};
smartGaps = false;
smartBorders = "no_gaps";
};
startup = [
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service";
}
startup = [
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpaper.service";
}
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start hypridle.service";
}
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start hypridle.service";
}
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service";
}
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start hyprpolkitagent.service";
}
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start yambar.service";
}
{
command = "${lib.getExe' pkgs.systemd "systemctl"} --user start yambar.service";
}
{
command = "${lib.getExe pkgs.sway-audio-idle-inhibit}";
}
{
command = "${lib.getExe pkgs.sway-audio-idle-inhibit}";
}
{
command = "${lib.getExe pkgs.autotiling-rs}";
}
{
command = "${lib.getExe pkgs.autotiling-rs}";
}
{
command = "${lib.getExe pkgs.swaykbdd}";
}
];
{
command = "${lib.getExe pkgs.swaykbdd}";
}
];
keybindings = lib.mkOptionDefault {
"Mod1+q" = "kill";
"Mod1+s" = "exec ${lib.getExe pkgs.fuzzel}";
"Mod1+Return" = "exec ${lib.getExe pkgs.ghostty}";
"Mod1+l" = "exec ${lib.getExe pkgs.swaylock}";
"Mod1+f" = "fullscreen toggle";
"Mod1+Shift+s" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} --notify copy area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png";
keybindings = lib.mkOptionDefault {
"Mod1+q" = "kill";
"Mod1+s" = "exec ${lib.getExe pkgs.fuzzel}";
"Mod1+Return" = "exec ${lib.getExe pkgs.ghostty}";
"Mod1+l" = "exec ${lib.getExe pkgs.swaylock}";
"Mod1+f" = "fullscreen toggle";
"Mod1+Shift+s" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} --notify copy area /home/hand7s/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%s').png";
"Mod1+Shift+e" = "exec ${lib.getExe' pkgs.sway "swaymsg"} exit";
"Mod1+Space" = "floating toggle";
"Mod1+r" = "mode resize";
"Mod1+Shift+e" = "exec ${lib.getExe' pkgs.sway "swaymsg"} exit";
"Mod1+Space" = "floating toggle";
"Mod1+r" = "mode resize";
"Mod1+Left" = "focus left";
"Mod1+Right" = "focus right";
"Mod1+Up" = "focus up";
"Mod1+Down" = "focus down";
"Mod1+Left" = "focus left";
"Mod1+Right" = "focus right";
"Mod1+Up" = "focus up";
"Mod1+Down" = "focus down";
"Mod1+1" = "workspace number 1";
"Mod1+2" = "workspace number 2";
"Mod1+3" = "workspace number 3";
"Mod1+4" = "workspace number 4";
"Mod1+5" = "workspace number 5";
"Mod1+6" = "workspace number 6";
"Mod1+7" = "workspace number 7";
"Mod1+8" = "workspace number 8";
"Mod1+9" = "workspace number 9";
"Mod1+0" = "workspace number 10";
"Mod1+h" = "scratchpad show";
"Mod1+1" = "workspace number 1";
"Mod1+2" = "workspace number 2";
"Mod1+3" = "workspace number 3";
"Mod1+4" = "workspace number 4";
"Mod1+5" = "workspace number 5";
"Mod1+6" = "workspace number 6";
"Mod1+7" = "workspace number 7";
"Mod1+8" = "workspace number 8";
"Mod1+9" = "workspace number 9";
"Mod1+0" = "workspace number 10";
"Mod1+h" = "scratchpad show";
"Mod1+Shift+1" = "move container to workspace number 1";
"Mod1+Shift+2" = "move container to workspace number 2";
"Mod1+Shift+3" = "move container to workspace number 3";
"Mod1+Shift+4" = "move container to workspace number 4";
"Mod1+Shift+5" = "move container to workspace number 5";
"Mod1+Shift+6" = "move container to workspace number 6";
"Mod1+Shift+7" = "move container to workspace number 7";
"Mod1+Shift+8" = "move container to workspace number 8";
"Mod1+Shift+9" = "move container to workspace number 9";
"Mod1+Shift+0" = "move container to workspace number 10";
"Mod1+Shift+h" = "move scratchpad";
"Mod1+Shift+1" = "move container to workspace number 1";
"Mod1+Shift+2" = "move container to workspace number 2";
"Mod1+Shift+3" = "move container to workspace number 3";
"Mod1+Shift+4" = "move container to workspace number 4";
"Mod1+Shift+5" = "move container to workspace number 5";
"Mod1+Shift+6" = "move container to workspace number 6";
"Mod1+Shift+7" = "move container to workspace number 7";
"Mod1+Shift+8" = "move container to workspace number 8";
"Mod1+Shift+9" = "move container to workspace number 9";
"Mod1+Shift+0" = "move container to workspace number 10";
"Mod1+Shift+h" = "move scratchpad";
"XF86AudioRaiseVolume" = "exec ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%+";
"XF86AudioLowerVolume" = "exec ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%-";
"XF86AudioMute" = "exec ${lib.getExe' pkgs.wireplumber "wpctl"} set-mute @DEFAULT_AUDIO_SINK@ toggle";
"XF86AudioRaiseVolume" = "exec ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%+";
"XF86AudioLowerVolume" = "exec ${lib.getExe' pkgs.wireplumber "wpctl"} set-volume @DEFAULT_AUDIO_SINK@ 5%-";
"XF86AudioMute" = "exec ${lib.getExe' pkgs.wireplumber "wpctl"} set-mute @DEFAULT_AUDIO_SINK@ toggle";
"XF86AudioPlay" = "exec ${lib.getExe pkgs.playerctl} play-pause";
"XF86AudioPrev" = "exec ${lib.getExe pkgs.playerctl} previous";
"XF86AudioNext" = "exec ${lib.getExe pkgs.playerctl} next";
"XF86AudioPlay" = "exec ${lib.getExe pkgs.playerctl} play-pause";
"XF86AudioPrev" = "exec ${lib.getExe pkgs.playerctl} previous";
"XF86AudioNext" = "exec ${lib.getExe pkgs.playerctl} next";
"XF86MonBrightnessDown" = "exec ${lib.getExe pkgs.brightnessctl} set 5%-";
"XF86MonBrightnessUp" = "exec ${lib.getExe pkgs.brightnessctl} set +5%";
};
"XF86MonBrightnessDown" = "exec ${lib.getExe pkgs.brightnessctl} set 5%-";
"XF86MonBrightnessUp" = "exec ${lib.getExe pkgs.brightnessctl} set +5%";
};
modes = {
resize = {
"Left" = "resize shrink width 10px";
"Right" = "resize shrink width 10px";
"Up" = "resize shrink height 10px";
"Down" = "resize shrink height 10px";
modes = {
resize = {
"Left" = "resize shrink width 10px";
"Right" = "resize shrink width 10px";
"Up" = "resize shrink height 10px";
"Down" = "resize shrink height 10px";
"Shift+Left" = "resize grow width 10px";
"Shift+Right" = "resize grow width 10px";
"Shift+Up" = "resize grow height 10px";
"Shift+Down" = "resize grow height 10px";
"Escape" = "mode default";
"Return" = "mode default";
};
};
input = {
"type:pointer" = {
accel_profile = "flat";
pointer_accel = "0";
};
"type:keyboard" = {
xkb_layout = "us,ru";
xkb_options = "grp:caps_toggle";
};
"type:touchpad" = {
natural_scroll = "enabled";
tap = "enabled";
};
};
};
extraConfig = ''
bindswitch lid:on exec swaylock
'';
"Shift+Left" = "resize grow width 10px";
"Shift+Right" = "resize grow width 10px";
"Shift+Up" = "resize grow height 10px";
"Shift+Down" = "resize grow height 10px";
"Escape" = "mode default";
"Return" = "mode default";
};
};
input = {
"type:pointer" = {
accel_profile = "flat";
pointer_accel = "0";
};
"type:keyboard" = {
xkb_layout = "us,ru";
xkb_options = "grp:caps_toggle";
};
"type:touchpad" = {
natural_scroll = "enabled";
tap = "enabled";
};
};
};
extraConfig = ''
bindswitch lid:on exec swaylock
'';
};
};
};
}