hand7s: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
e6c9d19b0f
commit
e4222e5423
48 changed files with 282 additions and 1097 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
direnv = {
|
||||
enable = true;
|
||||
silent = true;
|
||||
|
||||
nix-direnv = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
eza = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
zen-browser = inputs.zen-browser.packages.${pkgs.system}.default;
|
||||
in {
|
||||
programs = {
|
||||
firefox = {
|
||||
package = zen-browser;
|
||||
profiles = rec {
|
||||
default = {
|
||||
userContent = "
|
||||
--zen-colors-primary: #82aaff !important;
|
||||
--zen-colors-secondary: #c099ff !important;
|
||||
--zen-colors-tertiary: #1e2030 !important;
|
||||
--zen-colors-border: #3b4261 !important;
|
||||
--zen-dialog-background: #222436 !important;
|
||||
|
||||
.tab-background[selected=[selected=''] {
|
||||
background-color: #6c598c !important;
|
||||
}
|
||||
";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
fzf = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -8,12 +8,25 @@
|
|||
enableFishIntegration = true;
|
||||
installBatSyntax = true;
|
||||
settings = {
|
||||
title = "spooky scary tty";
|
||||
title = "";
|
||||
|
||||
command = "${lib.getExe pkgs.fish} --login --interactive";
|
||||
bell-features = "system";
|
||||
|
||||
command = "${lib.getExe pkgs.fish}";
|
||||
|
||||
confirm-close-surface = false;
|
||||
|
||||
cursor-style-blink = true;
|
||||
cursor-style = "bar";
|
||||
|
||||
mouse-hide-while-typing = true;
|
||||
|
||||
working-directory = "home";
|
||||
|
||||
window-save-state = "never";
|
||||
|
||||
window-inherit-working-directory = false;
|
||||
|
||||
keybind = [
|
||||
"ctrl+shift+d=new_split:right"
|
||||
"ctrl+shift+a=new_split:down"
|
||||
|
|
|
|||
|
|
@ -5,23 +5,18 @@
|
|||
}: {
|
||||
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";
|
||||
};
|
||||
settings = {
|
||||
user = {
|
||||
email = "git+me@hand7s.org";
|
||||
name = "s0me1newithhand7s";
|
||||
};
|
||||
|
||||
signing = {
|
||||
format = "ssh";
|
||||
signByDefault = true;
|
||||
key = osConfig.sops.secrets.sshKey.path;
|
||||
};
|
||||
|
||||
lfs = {
|
||||
enable = true;
|
||||
signing = {
|
||||
format = "ssh";
|
||||
signByDefault = true;
|
||||
key = osConfig.sops.secrets.sshKey.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}: {
|
||||
programs = {
|
||||
helix = {
|
||||
package = pkgs.helix_git;
|
||||
package = pkgs.helix;
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
extraPackages = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
|
|
@ -20,14 +21,17 @@
|
|||
label = [
|
||||
{
|
||||
monitor = "";
|
||||
text = "$TIME";
|
||||
text = ''
|
||||
cmd[update:1000] ${lib.getExe' pkgs.uutils-coreutils-noprefix "date"} +"%T"
|
||||
'';
|
||||
|
||||
text_align = "center";
|
||||
color = config.lib.stylix.colors.base01;
|
||||
font_size = 48;
|
||||
font_family = config.stylix.fonts.emoji.name;
|
||||
rotate = 0;
|
||||
|
||||
position = "0, 50";
|
||||
position = "0, 200";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
|
||||
|
|
@ -39,14 +43,17 @@
|
|||
|
||||
{
|
||||
monitor = "";
|
||||
text = "> $LAYOUT[en,ru]";
|
||||
text = ''
|
||||
cmd[update:1000] ${lib.getExe' pkgs.uutils-coreutils-noprefix "date"} +"%A, %B"
|
||||
'';
|
||||
|
||||
text_align = "center";
|
||||
color = config.lib.stylix.colors.base06;
|
||||
font_size = 26;
|
||||
color = config.lib.stylix.colors.base01;
|
||||
font_size = 24;
|
||||
font_family = config.stylix.fonts.emoji.name;
|
||||
rotate = 0;
|
||||
|
||||
position = "200, -50";
|
||||
position = "0, 150";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
|
||||
|
|
@ -73,7 +80,7 @@
|
|||
hide_input = false;
|
||||
rounding = -0.3;
|
||||
|
||||
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
||||
fail_text = "$FAIL -> $ATTEMPTS";
|
||||
fail_transition = 1000;
|
||||
capslock_color = -1;
|
||||
numlock_color = -1;
|
||||
|
|
@ -81,7 +88,7 @@
|
|||
invert_numlock = false;
|
||||
swap_font_color = false;
|
||||
|
||||
position = "0, -50";
|
||||
position = "0, -650";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,440 +0,0 @@
|
|||
{
|
||||
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 = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
16
hand7s/programs/iamb.nix
Normal file
16
hand7s/programs/iamb.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
_: {
|
||||
programs = {
|
||||
iamb = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_profile = "hand7s";
|
||||
profiles = {
|
||||
hand7s = {
|
||||
user_id = "@s0me1newithhand7s:ubiquelambda.dev";
|
||||
url = "https://ubiquelambda.dev";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
nix-index = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
{...}: {
|
||||
programs = {
|
||||
kitty = {
|
||||
enable = true;
|
||||
enableGitIntegration = true;
|
||||
|
||||
shellIntegration = {
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
mangohud = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
mpv = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{config, ...}: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs =
|
||||
if
|
||||
(
|
||||
|
|
@ -14,12 +18,14 @@
|
|||
dimDesktop = false;
|
||||
forceBlackScreenCorners = true;
|
||||
showScreenCorners = true;
|
||||
screenRadiusRatio = 2;
|
||||
screenRadiusRatio = 1;
|
||||
radiusRatio = 0.7;
|
||||
enableShadows = true;
|
||||
shadowDirection = "center";
|
||||
};
|
||||
|
||||
appLauncher = {
|
||||
position = "center";
|
||||
position = "bottom_center";
|
||||
useApp2Unit = false;
|
||||
sortByMostUsed = true;
|
||||
enableClipboardHistory = false;
|
||||
|
|
@ -34,8 +40,8 @@
|
|||
};
|
||||
|
||||
bar = {
|
||||
floating = true;
|
||||
density = "comfortable";
|
||||
floating = false;
|
||||
density = "default";
|
||||
position = "right";
|
||||
showCapsule = false;
|
||||
marginVertical = 1;
|
||||
|
|
@ -47,7 +53,7 @@
|
|||
widgets = {
|
||||
left = [
|
||||
{
|
||||
id = "SidePanelToggle";
|
||||
id = "ControlCenter";
|
||||
useDistroLogo = true;
|
||||
}
|
||||
|
||||
|
|
@ -112,6 +118,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
notifications = {
|
||||
location = "top_center";
|
||||
};
|
||||
|
||||
controlCenter = {
|
||||
position = "close_to_bar_button";
|
||||
quickSettingsStyle = "compact";
|
||||
|
|
@ -181,23 +191,27 @@
|
|||
enabled = true;
|
||||
alwaysOnTop = true;
|
||||
autoHideMs = 2500;
|
||||
location = "top";
|
||||
location = "bottom_center";
|
||||
monitors = [
|
||||
"DP-3"
|
||||
];
|
||||
};
|
||||
|
||||
ui = {
|
||||
fontDefault = "Nerd Fonts Hack";
|
||||
fontDefault = lib.mkForce "Nerd Fonts Hack";
|
||||
fontDefaultScale = 1;
|
||||
fontFixed = "Nerd Fonts Hack";
|
||||
fontFixed = lib.mkForce "Nerd Fonts Hack";
|
||||
fontFixedScale = 1;
|
||||
idleInhibitorEnabled = false;
|
||||
tooltipsEnabled = true;
|
||||
};
|
||||
|
||||
wallpaper = {
|
||||
enabled = false;
|
||||
};
|
||||
|
||||
location = {
|
||||
name = "Yelaguba";
|
||||
name = "Tatarstan, Yelaguba";
|
||||
showWeekNumberInCalendar = true;
|
||||
use12hourFormat = false;
|
||||
useFahrenheit = false;
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
spicetify = {
|
||||
enabledExtensions = with inputs.spicetify-nix.legacyPackages.${pkgs.system}.extensions; [
|
||||
enabledExtensions = with self.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 self.inputs.spicetify-nix.legacyPackages.${pkgs.system}.themes.text;
|
||||
colorScheme = lib.mkForce "TokyoNight";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
starship = {
|
||||
enable = true;
|
||||
|
|
@ -7,15 +7,14 @@
|
|||
add_newline = true;
|
||||
|
||||
format = ''
|
||||
[╭──╼](bold blue) $hostname $os
|
||||
[╭──╼](bold blue) $username at $hostname on $os
|
||||
[┆](bold blue) $directory$git_branch$git_commit$git_state$git_metrics$git_status
|
||||
[╰─>](bold blue)
|
||||
'';
|
||||
[╰─>](bold blue) '';
|
||||
|
||||
right_format = ''$cmd_duration ($character) at ❗$time'';
|
||||
|
||||
os = {
|
||||
format = "on [($name $codename$version$edition $symbol )]($style)";
|
||||
format = "[($name $codename$version$edition $symbol )]($style)";
|
||||
style = "bold blue";
|
||||
disabled = false;
|
||||
};
|
||||
|
|
@ -27,6 +26,13 @@
|
|||
disabled = false;
|
||||
};
|
||||
|
||||
username = {
|
||||
show_always = true;
|
||||
disabled = false;
|
||||
format = "[$user]($style)";
|
||||
style_user = "bold green";
|
||||
};
|
||||
|
||||
character = {
|
||||
success_symbol = "[✓](bold green)";
|
||||
error_symbol = "[✗](bold red)";
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
swaylock = {
|
||||
enable =
|
||||
lib.mkIf (
|
||||
config.home.gui.sessionType == "Sway"
|
||||
)
|
||||
true;
|
||||
|
||||
settings = {
|
||||
show-failed-attempts = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -6,14 +6,19 @@
|
|||
}: {
|
||||
programs = {
|
||||
vscode = {
|
||||
package = pkgs.vscodium;
|
||||
profiles = {
|
||||
default = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
jnoortheen.nix-ide
|
||||
|
||||
ms-vscode-remote.vscode-remote-extensionpack
|
||||
ms-vsliveshare.vsliveshare
|
||||
|
||||
redhat.vscode-yaml
|
||||
redhat.ansible
|
||||
|
||||
nefrob.vscode-just-syntax
|
||||
];
|
||||
|
||||
userSettings = lib.mkForce {
|
||||
|
|
@ -24,7 +29,7 @@
|
|||
"editor.cursorSmoothCaretAnimation" = "on";
|
||||
"editor.wordWrap" = "on";
|
||||
|
||||
"workbench.colorTheme" = "Tokyo Night Moon";
|
||||
"workbench.colorTheme" = "Tokyo Storm AltSynt";
|
||||
"workbench.sideBar.location" = "right";
|
||||
"workbench.activityBar.location" = "top";
|
||||
"workbench.editor.editorActionsLocation" = "titleBar";
|
||||
|
|
@ -35,11 +40,6 @@
|
|||
"terminal.integrated.cursorBlinking" = true;
|
||||
|
||||
"files.autoSave" = "afterDelay";
|
||||
|
||||
"[nix]" = {
|
||||
"editor.insertSpaces" = true;
|
||||
"editor.tabSize" = 4;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -50,6 +50,14 @@
|
|||
}
|
||||
];
|
||||
|
||||
view = [
|
||||
{
|
||||
run = "${lib.getExe pkgs.timg} ''-p k -C $@ | ${lib.getExe' pkgs.uutils-coreutils-noprefix "more"}''";
|
||||
block = true;
|
||||
for = "unix";
|
||||
}
|
||||
];
|
||||
|
||||
edit = [
|
||||
{
|
||||
run = "${lib.getExe pkgs.helix} ''$@''";
|
||||
|
|
@ -61,12 +69,36 @@
|
|||
open = [
|
||||
{
|
||||
run = "${lib.getExe' pkgs.xdg-utils "xdg-open"} ''$@''";
|
||||
block = true;
|
||||
orphan = true;
|
||||
for = "unix";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
open = {
|
||||
rules = [
|
||||
{
|
||||
mime = "image/*";
|
||||
use = "view";
|
||||
}
|
||||
|
||||
{
|
||||
mime = "text/*";
|
||||
use = "edit";
|
||||
}
|
||||
|
||||
{
|
||||
mime = "audio/*";
|
||||
use = "play";
|
||||
}
|
||||
|
||||
{
|
||||
mime = "video/*";
|
||||
use = "play";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
input = {
|
||||
cursor_blink = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
{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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
_: {
|
||||
programs = {
|
||||
zoxide = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue