reformating
This commit is contained in:
parent
d426069e99
commit
35ce763bbf
15 changed files with 312 additions and 329 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
dconf.settings."org/gnome/desktop/interface".gtk-enable-primary-paste = true;
|
||||
gtk = {
|
||||
colorScheme = "dark";
|
||||
|
|
@ -8,7 +8,6 @@
|
|||
homeDirectory = "/home/bogale";
|
||||
packages = with pkgs; [
|
||||
alacritty
|
||||
bibata-cursors
|
||||
bluez
|
||||
ffmpeg-headless
|
||||
heroic
|
||||
|
|
@ -38,14 +37,11 @@
|
|||
};
|
||||
imports = [ ./common.nix ];
|
||||
programs = {
|
||||
bash = {
|
||||
initExtra = ''
|
||||
session() {
|
||||
sudo machinectl shell root@
|
||||
}
|
||||
'';
|
||||
sessionVariables.TTS_MODEL = "ggml-org/Qwen3-TTS-12Hz-1.7B-Base-GGUF";
|
||||
};
|
||||
bash.initExtra = ''
|
||||
session() {
|
||||
sudo machinectl shell root@
|
||||
}
|
||||
'';
|
||||
noctalia = {
|
||||
enable = true;
|
||||
settings = ./mods/noctalia.toml;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
home = {
|
||||
packages = [
|
||||
pkgs.ncdu
|
||||
pkgs.yt-dlp
|
||||
packages = with pkgs; [
|
||||
ncdu
|
||||
yt-dlp
|
||||
];
|
||||
stateVersion = "26.11";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,74 +1,74 @@
|
|||
binds {
|
||||
Alt+Print { screenshot-window; };
|
||||
Ctrl+Print { screenshot-screen; };
|
||||
Mod+Ctrl+H { focus-monitor-left; };
|
||||
Mod+Ctrl+J { focus-monitor-down; };
|
||||
Mod+Ctrl+K { focus-monitor-up; };
|
||||
Mod+Ctrl+L { focus-monitor-right; };
|
||||
Mod+Ctrl+Shift+H { move-column-to-monitor-left; };
|
||||
Mod+Ctrl+Shift+J { move-column-to-monitor-down; };
|
||||
Mod+Ctrl+Shift+K { move-column-to-monitor-up; };
|
||||
Mod+Ctrl+Shift+L { move-column-to-monitor-right; };
|
||||
Mod+D { spawn-sh "noctalia msg panel-toggle launcher"; };
|
||||
Mod+E { spawn-sh "noctalia msg panel-toggle session"; };
|
||||
Mod+F { maximize-column; };
|
||||
Mod+H { focus-column-left; };
|
||||
Mod+J { focus-window-or-workspace-down; };
|
||||
Mod+K { focus-window-or-workspace-up; };
|
||||
Mod+L { focus-column-right; };
|
||||
Mod+O { toggle-overview; };
|
||||
Mod+Q { close-window; };
|
||||
Mod+S { spawn-sh "noctalia msg panel-toggle control-center"; };
|
||||
Mod+Shift+F { fullscreen-window; };
|
||||
Mod+Shift+H { move-column-left; };
|
||||
Mod+Shift+J { move-window-down-or-to-workspace-down; };
|
||||
Mod+Shift+K { move-window-up-or-to-workspace-up; };
|
||||
Mod+Shift+L { move-column-right; };
|
||||
Mod+Shift+P { power-off-monitors; };
|
||||
Mod+Shift+S { spawn-sh "noctalia msg settings-open"; };
|
||||
Mod+T { spawn "alacritty"; };
|
||||
Print { screenshot; };
|
||||
Shift+XF86AudioLowerVolume { spawn-sh "noctalia msg mic-volume-down"; };
|
||||
Shift+XF86AudioMute { spawn-sh "noctalia msg mic-mute"; };
|
||||
Shift+XF86AudioRaiseVolume { spawn-sh "noctalia msg mic-volume-up"; };
|
||||
XF86AudioLowerVolume { spawn-sh "noctalia msg volume-down"; };
|
||||
XF86AudioMute { spawn-sh "noctalia msg volume-mute"; };
|
||||
XF86AudioRaiseVolume { spawn-sh "noctalia msg volume-up"; };
|
||||
XF86MonBrightnessDown { spawn-sh "noctalia msg brightness-down"; };
|
||||
XF86MonBrightnessUp { spawn-sh "noctalia msg brightness-up"; };
|
||||
Alt+Print { screenshot-window; };
|
||||
Ctrl+Print { screenshot-screen; };
|
||||
Mod+Ctrl+H { focus-monitor-left; };
|
||||
Mod+Ctrl+J { focus-monitor-down; };
|
||||
Mod+Ctrl+K { focus-monitor-up; };
|
||||
Mod+Ctrl+L { focus-monitor-right; };
|
||||
Mod+Ctrl+Shift+H { move-column-to-monitor-left; };
|
||||
Mod+Ctrl+Shift+J { move-column-to-monitor-down; };
|
||||
Mod+Ctrl+Shift+K { move-column-to-monitor-up; };
|
||||
Mod+Ctrl+Shift+L { move-column-to-monitor-right; };
|
||||
Mod+D { spawn-sh "noctalia msg panel-toggle launcher"; };
|
||||
Mod+E { spawn-sh "noctalia msg panel-toggle session"; };
|
||||
Mod+F { maximize-column; };
|
||||
Mod+H { focus-column-left; };
|
||||
Mod+J { focus-window-or-workspace-down; };
|
||||
Mod+K { focus-window-or-workspace-up; };
|
||||
Mod+L { focus-column-right; };
|
||||
Mod+O { toggle-overview; };
|
||||
Mod+Q { close-window; };
|
||||
Mod+S { spawn-sh "noctalia msg panel-toggle control-center"; };
|
||||
Mod+Shift+F { fullscreen-window; };
|
||||
Mod+Shift+H { move-column-left; };
|
||||
Mod+Shift+J { move-window-down-or-to-workspace-down; };
|
||||
Mod+Shift+K { move-window-up-or-to-workspace-up; };
|
||||
Mod+Shift+L { move-column-right; };
|
||||
Mod+Shift+S { spawn-sh "noctalia msg settings-open"; };
|
||||
Mod+T { spawn "alacritty"; };
|
||||
Print { screenshot; };
|
||||
Shift+XF86AudioLowerVolume { spawn-sh "noctalia msg mic-volume-down"; };
|
||||
Shift+XF86AudioMute { spawn-sh "noctalia msg mic-mute"; };
|
||||
Shift+XF86AudioRaiseVolume { spawn-sh "noctalia msg mic-volume-up"; };
|
||||
XF86AudioLowerVolume { spawn-sh "noctalia msg volume-down"; };
|
||||
XF86AudioMute { spawn-sh "noctalia msg volume-mute"; };
|
||||
XF86AudioRaiseVolume { spawn-sh "noctalia msg volume-up"; };
|
||||
XF86MonBrightnessDown { spawn-sh "noctalia msg brightness-down"; };
|
||||
XF86MonBrightnessUp { spawn-sh "noctalia msg brightness-up"; };
|
||||
};
|
||||
cursor {
|
||||
xcursor-size 24;
|
||||
xcursor-theme "Bibata-Modern-Amber";
|
||||
xcursor-size 24;
|
||||
xcursor-theme "Bibata-Modern-Amber";
|
||||
};
|
||||
gestures { hot-corners { off; }; };
|
||||
hotkey-overlay { skip-at-startup; };
|
||||
include "./noctalia.kdl";
|
||||
input {
|
||||
keyboard {
|
||||
numlock;
|
||||
xkb {
|
||||
layout "us,ru";
|
||||
options "grp:alt_shift_toggle";
|
||||
};
|
||||
};
|
||||
touchpad {
|
||||
dwt;
|
||||
natural-scroll;
|
||||
tap;
|
||||
keyboard {
|
||||
numlock;
|
||||
xkb {
|
||||
layout "us,ru";
|
||||
options "grp:alt_shift_toggle";
|
||||
};
|
||||
};
|
||||
touchpad {
|
||||
dwt;
|
||||
natural-scroll;
|
||||
tap;
|
||||
};
|
||||
};
|
||||
layout {
|
||||
center-focused-column "always";
|
||||
default-column-width { proportion 0.8; };
|
||||
center-focused-column "always";
|
||||
default-column-width { proportion 0.8; };
|
||||
};
|
||||
screenshot-path "~/Multimedia/Screenshots/%Y-%m-%d_%H-%M-%S.png";
|
||||
window-rule {
|
||||
clip-to-geometry true;
|
||||
geometry-corner-radius 8;
|
||||
open-floating false;
|
||||
clip-to-geometry true;
|
||||
geometry-corner-radius 8;
|
||||
open-floating false;
|
||||
};
|
||||
window-rule {
|
||||
match app-id="mpv";
|
||||
open-fullscreen true;
|
||||
match app-id="Waydroid";
|
||||
match app-id="mpv";
|
||||
open-fullscreen true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
[bar]
|
||||
order = [ "default" ]
|
||||
[bar.default]
|
||||
center = [ "workspaces" ]
|
||||
enabled = true
|
||||
end = [ "tray", "keyboard_layout", "battery", "notifications" ]
|
||||
margin_ends = 0
|
||||
start = [ "date", "clock", "sysmon" ]
|
||||
widget_spacing = 12
|
||||
[bar.default.dead_zone.actions]
|
||||
right = "none"
|
||||
[bar.default]
|
||||
center = [ "workspaces" ]
|
||||
enabled = true
|
||||
end = [ "tray", "keyboard_layout", "battery", "notifications" ]
|
||||
margin_ends = 0
|
||||
start = [ "date", "clock", "sysmon" ]
|
||||
widget_spacing = 12
|
||||
[bar.default.dead_zone.actions]
|
||||
right = "none"
|
||||
[[control_center.shortcuts]]
|
||||
type = "wifi"
|
||||
[[control_center.shortcuts]]
|
||||
|
|
@ -16,21 +16,21 @@ type = "bluetooth"
|
|||
[[control_center.shortcuts]]
|
||||
type = "caffeine"
|
||||
[[control_center.shortcuts]]
|
||||
type = "notification"
|
||||
type = "system"
|
||||
[[control_center.shortcuts]]
|
||||
type = "power_profile"
|
||||
[[control_center.shortcuts]]
|
||||
type = "weather"
|
||||
type = "screen_time"
|
||||
[idle]
|
||||
behavior_order = [ "screen-off", "lock" ]
|
||||
[idle.behavior.screen-off]
|
||||
action = "screen_off"
|
||||
enabled = true
|
||||
timeout = 300.0
|
||||
[idle.behavior.lock]
|
||||
action = "lock"
|
||||
enabled = true
|
||||
timeout = 450.0
|
||||
[idle.behavior.screen-off]
|
||||
action = "screen_off"
|
||||
enabled = true
|
||||
timeout = 300.0
|
||||
[idle.behavior.lock]
|
||||
action = "lock"
|
||||
enabled = true
|
||||
timeout = 450.0
|
||||
[location]
|
||||
address = "Chita"
|
||||
[notification]
|
||||
|
|
@ -50,45 +50,45 @@ wifi = false
|
|||
clipboard_enabled = false
|
||||
launch_apps_as_systemd_services = true
|
||||
screen_time_enabled = true
|
||||
[shell.greeter_sync]
|
||||
auto_sync = true
|
||||
[shell.screen_corners]
|
||||
enabled = true
|
||||
[[shell.session.actions]]
|
||||
action = "lock"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
shortcut = "1"
|
||||
variant = "default"
|
||||
[[shell.session.actions]]
|
||||
action = "command"
|
||||
command = "systemctl suspend-then-hibernate"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
glyph = "suspend"
|
||||
label = "Сон"
|
||||
shortcut = "2"
|
||||
variant = "default"
|
||||
[[shell.session.actions]]
|
||||
action = "reboot"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
shortcut = "3"
|
||||
variant = "default"
|
||||
[[shell.session.actions]]
|
||||
action = "shutdown"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
shortcut = "4"
|
||||
variant = "default"
|
||||
[shell.greeter_sync]
|
||||
auto_sync = true
|
||||
[shell.screen_corners]
|
||||
enabled = true
|
||||
[[shell.session.actions]]
|
||||
action = "lock"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
shortcut = "1"
|
||||
variant = "default"
|
||||
[[shell.session.actions]]
|
||||
action = "command"
|
||||
command = "systemctl suspend-then-hibernate"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
glyph = "suspend"
|
||||
label = "Сон"
|
||||
shortcut = "2"
|
||||
variant = "default"
|
||||
[[shell.session.actions]]
|
||||
action = "reboot"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
shortcut = "3"
|
||||
variant = "default"
|
||||
[[shell.session.actions]]
|
||||
action = "shutdown"
|
||||
countdown_seconds = 0.0
|
||||
enabled = true
|
||||
shortcut = "4"
|
||||
variant = "default"
|
||||
[theme]
|
||||
builtin = "Tokyo-Night"
|
||||
[theme.templates]
|
||||
builtin_ids = [ "alacritty", "gtk3", "gtk4", "niri" ]
|
||||
[theme.templates]
|
||||
builtin_ids = [ "alacritty", "gtk3", "gtk4", "niri" ]
|
||||
[wallpaper]
|
||||
directory = "/home/bogale/Multimedia/Wallpapers"
|
||||
transition_on_startup = true
|
||||
[wallpaper.default]
|
||||
path = "/home/bogale/Multimedia/Wallpapers/main.jpg"
|
||||
[wallpaper.default]
|
||||
path = "/home/bogale/Multimedia/Wallpapers/main.jpg"
|
||||
[weather]
|
||||
refresh_minutes = 10
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@
|
|||
initExtra = ''
|
||||
awg-gen() {
|
||||
PRIVATE=$(awg genkey)
|
||||
echo "private: $PRIVATE"
|
||||
printf "public: "
|
||||
echo $PRIVATE | awg pubkey
|
||||
echo "private: $PRIVATE"
|
||||
printf "preshared: "
|
||||
awg genpsk
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue