hyprland stream-boxes
This commit is contained in:
parent
e1719204e9
commit
8c9860674b
@ -22,6 +22,7 @@ in {
|
|||||||
$env.VISUAL = "zed"
|
$env.VISUAL = "zed"
|
||||||
$env.XDG_DATA_HOME = $"($env.HOME)/.local/share"
|
$env.XDG_DATA_HOME = $"($env.HOME)/.local/share"
|
||||||
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
||||||
|
$env.SSH_AUTH_SOCK = "/run/user/1000/gnupg/S.gpg-agent.ssh"
|
||||||
$env.FLAKE = $"($env.HOME)/p/nixos/nixos-config"
|
$env.FLAKE = $"($env.HOME)/p/nixos/nixos-config"
|
||||||
source /run/agenix/${config.home.username}-secrets
|
source /run/agenix/${config.home.username}-secrets
|
||||||
'';
|
'';
|
||||||
|
@ -18,98 +18,98 @@ in {
|
|||||||
|
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userSettings = {
|
# userSettings = {
|
||||||
features = {
|
# features = {
|
||||||
inline_prediction_provider = "zed";
|
# inline_prediction_provider = "zed";
|
||||||
edit_prediction_provider = "zed";
|
# edit_prediction_provider = "zed";
|
||||||
copilot = false;
|
# copilot = false;
|
||||||
};
|
# };
|
||||||
telemetry = {
|
# telemetry = {
|
||||||
metrics = false;
|
# metrics = false;
|
||||||
};
|
# };
|
||||||
lsp = {
|
# lsp = {
|
||||||
rust_analyzer = {
|
# rust_analyzer = {
|
||||||
binary = {path_lookup = true;};
|
# binary = {path_lookup = true;};
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
languages = {
|
# languages = {
|
||||||
Nix = {
|
# Nix = {
|
||||||
language_servers = ["nixd"];
|
# language_servers = ["nixd"];
|
||||||
formatter = {
|
# formatter = {
|
||||||
external = {
|
# external = {
|
||||||
command = "alejandra";
|
# command = "alejandra";
|
||||||
arguments = ["-q" "-"];
|
# arguments = ["-q" "-"];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
Python = {
|
# Python = {
|
||||||
language_servers = ["pyright"];
|
# language_servers = ["pyright"];
|
||||||
formatter = {
|
# formatter = {
|
||||||
external = {
|
# external = {
|
||||||
command = "black";
|
# command = "black";
|
||||||
arguments = ["-"];
|
# arguments = ["-"];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
context_servers = {
|
# context_servers = {
|
||||||
"some-context-server" = {
|
# "some-context-server" = {
|
||||||
command = {
|
# command = {
|
||||||
path = "some-command";
|
# path = "some-command";
|
||||||
args = ["arg-1" "arg-2"];
|
# args = ["arg-1" "arg-2"];
|
||||||
env = {};
|
# env = {};
|
||||||
};
|
# };
|
||||||
settings = {};
|
# settings = {};
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
assistant = {
|
# assistant = {
|
||||||
version = "2";
|
# version = "2";
|
||||||
default_model = {
|
# default_model = {
|
||||||
provider = "anthropic";
|
# provider = "anthropic";
|
||||||
model = "Claude 3.7 Sonnet";
|
# model = "Claude 3.7 Sonnet";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
language_models = {
|
# language_models = {
|
||||||
anthropic = {
|
# anthropic = {
|
||||||
version = "1";
|
# version = "1";
|
||||||
api_url = "https://api.anthropic.com";
|
# api_url = "https://api.anthropic.com";
|
||||||
};
|
# };
|
||||||
openai = {
|
# openai = {
|
||||||
version = "1";
|
# version = "1";
|
||||||
api_url = "https://api.openai.com/v1";
|
# api_url = "https://api.openai.com/v1";
|
||||||
};
|
# };
|
||||||
ollama = {
|
# ollama = {
|
||||||
api_url = "http://localhost:11434";
|
# api_url = "http://localhost:11434";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
ssh_connections = [
|
# ssh_connections = [
|
||||||
{
|
# {
|
||||||
host = "152.53.85.162";
|
# host = "152.53.85.162";
|
||||||
nickname = "m3-atlas";
|
# nickname = "m3-atlas";
|
||||||
args = ["-i" "~/.ssh/m3tam3re"];
|
# args = ["-i" "~/.ssh/m3tam3re"];
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
host = "95.217.189.186";
|
# host = "95.217.189.186";
|
||||||
port = 2222;
|
# port = 2222;
|
||||||
nickname = "self-host-playbook";
|
# nickname = "self-host-playbook";
|
||||||
args = ["-i" "~/.ssh/self-host-playbook"];
|
# args = ["-i" "~/.ssh/self-host-playbook"];
|
||||||
"projects" = [
|
# "projects" = [
|
||||||
{
|
# {
|
||||||
paths = ["/etc/nixos/current-systemconfig"];
|
# paths = ["/etc/nixos/current-systemconfig"];
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
auto_update = false;
|
# auto_update = false;
|
||||||
format_on_save = "on";
|
# format_on_save = "on";
|
||||||
vim_mode = true;
|
# vim_mode = true;
|
||||||
load_direnv = "shell_hook";
|
# load_direnv = "shell_hook";
|
||||||
theme = "Dracula";
|
# theme = "Dracula";
|
||||||
buffer_font_family = "FiraCode Nerd Font";
|
# buffer_font_family = "FiraCode Nerd Font";
|
||||||
ui_font_size = 16;
|
# ui_font_size = 16;
|
||||||
buffer_font_size = 16;
|
# buffer_font_size = 16;
|
||||||
show_edit_predictions = true;
|
# show_edit_predictions = true;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -123,6 +123,17 @@
|
|||||||
"size 250 50, title:^(floating-pomodoro)$"
|
"size 250 50, title:^(floating-pomodoro)$"
|
||||||
"move 12 100%-150,title:^(floating-pomodoro)$"
|
"move 12 100%-150,title:^(floating-pomodoro)$"
|
||||||
"pin,title:^(floating-pomodoro)$"
|
"pin,title:^(floating-pomodoro)$"
|
||||||
|
"float, initialTitle:.*streamlabs.com.*"
|
||||||
|
"pin, initialTitle:.*streamlabs.com.*"
|
||||||
|
"size 800 400, initialTitle:.*streamlabs.com.*"
|
||||||
|
"move 100%-820 102, initialTitle:.*alert-box.*"
|
||||||
|
"move 100%-820 512, initialTitle:.*chat-box.*"
|
||||||
|
"opacity 0.5 override, initialTitle:.*streamlabs.com.*"
|
||||||
|
"idleinhibit focus, initialTitle:.*streamlabs.com.*"
|
||||||
|
"noanim, initialTitle:.*streamlabs.com.*"
|
||||||
|
"noborder, initialTitle:.*streamlabs.com.*"
|
||||||
|
"noshadow, initialTitle:.*streamlabs.com.*"
|
||||||
|
"noblur, initialTitle:.*streamlabs.com.*"
|
||||||
];
|
];
|
||||||
|
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
@ -134,6 +145,7 @@
|
|||||||
"$mainMod SHIFT, t, exec, launch-timer"
|
"$mainMod SHIFT, t, exec, launch-timer"
|
||||||
"$mainMod SHIFT, e, exec, kitty -e zellij_nvim"
|
"$mainMod SHIFT, e, exec, kitty -e zellij_nvim"
|
||||||
"$mainMod, o, exec, hyprctl setprop activewindow opaque toggle"
|
"$mainMod, o, exec, hyprctl setprop activewindow opaque toggle"
|
||||||
|
"$mainMod, r, exec, hyprctl dispatch focuswindow \"initialtitle:.*alert-box.*\" && hyprctl dispatch moveactive exact 4300 102 && hyprctl dispatch focuswindow \"initialtitle:.*chat-box.*\" && hyprctl dispatch moveactive exact 4300 512"
|
||||||
"$mainMod, b, exec, thunar"
|
"$mainMod, b, exec, thunar"
|
||||||
"$mainMod SHIFT, B, exec, vivaldi"
|
"$mainMod SHIFT, B, exec, vivaldi"
|
||||||
"$mainMod, Escape, exec, wlogout -p layer-shell"
|
"$mainMod, Escape, exec, wlogout -p layer-shell"
|
||||||
|
@ -190,6 +190,11 @@
|
|||||||
user = "admin";
|
user = "admin";
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
identityFile = "~/.ssh/m3tam3re";
|
||||||
};
|
};
|
||||||
|
"m3-prox-1" = {
|
||||||
|
hostname = "192.168.1.110";
|
||||||
|
user = "root";
|
||||||
|
identityFile = "~/.ssh/m3tam3re";
|
||||||
|
};
|
||||||
"shp-old" = {
|
"shp-old" = {
|
||||||
hostname = "95.217.3.250";
|
hostname = "95.217.3.250";
|
||||||
port = 2222;
|
port = 2222;
|
||||||
|
@ -9,42 +9,6 @@
|
|||||||
|
|
||||||
services.cloud-init = {
|
services.cloud-init = {
|
||||||
enable = true;
|
enable = true;
|
||||||
network.enable = true;
|
|
||||||
settings = {
|
|
||||||
system_info = {
|
|
||||||
distro = "nixos";
|
|
||||||
network = {
|
|
||||||
renderers = ["networkd"];
|
|
||||||
};
|
|
||||||
default_user = {
|
|
||||||
name = "ops";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
users = ["default"];
|
|
||||||
|
|
||||||
ssh_pwauth = false;
|
|
||||||
|
|
||||||
chpasswd = {
|
|
||||||
expire = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
cloud_init_modules = [
|
|
||||||
"migrator"
|
|
||||||
"seed_random"
|
|
||||||
"growpart"
|
|
||||||
"resizefs"
|
|
||||||
];
|
|
||||||
|
|
||||||
cloud_config_modules = [
|
|
||||||
"disk_setup"
|
|
||||||
"mounts"
|
|
||||||
"set-passwords"
|
|
||||||
"ssh"
|
|
||||||
];
|
|
||||||
|
|
||||||
cloud_final_modules = [];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.root.initialPassword = "nixos";
|
users.users.root.initialPassword = "nixos";
|
||||||
@ -54,7 +18,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user