kekl
This commit is contained in:
@ -113,6 +113,7 @@
|
|||||||
slurp
|
slurp
|
||||||
feh
|
feh
|
||||||
chromium
|
chromium
|
||||||
|
|
||||||
# cli
|
# cli
|
||||||
neofetch
|
neofetch
|
||||||
fastfetch
|
fastfetch
|
||||||
@ -131,27 +132,11 @@
|
|||||||
go
|
go
|
||||||
nixd
|
nixd
|
||||||
|
|
||||||
# radio
|
|
||||||
sdrplay
|
|
||||||
sdrpp
|
|
||||||
hackrf
|
|
||||||
rtl-sdr
|
|
||||||
gqrx
|
|
||||||
noaa-apt
|
|
||||||
rtl_433
|
|
||||||
rtl-ais
|
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
cava
|
cava
|
||||||
mumble
|
|
||||||
discord
|
discord
|
||||||
xwaylandvideobridge
|
|
||||||
|
|
||||||
# hardware & shit
|
|
||||||
libplist
|
|
||||||
libimobiledevice
|
|
||||||
usbmuxd
|
|
||||||
|
|
||||||
|
wezterm
|
||||||
])
|
])
|
||||||
++ (with pkgs-stable; [
|
++ (with pkgs-stable; [
|
||||||
wezterm
|
wezterm
|
||||||
|
62
flake.lock
generated
62
flake.lock
generated
@ -43,11 +43,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730504689,
|
"lastModified": 1733312601,
|
||||||
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -61,11 +61,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726560853,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -91,11 +91,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730814269,
|
"lastModified": 1733318908,
|
||||||
"narHash": "sha256-fWPHyhYE6xvMI1eGY3pwBTq85wcy1YXqdzTZF+06nOg=",
|
"narHash": "sha256-SVQVsbafSM1dJ4fpgyBqLZ+Lft+jcQuMtEL3lQWx2Sk=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "d70155fdc00df4628446352fc58adc640cd705c2",
|
"rev": "6f4e2a2112050951a314d2733a994fbab94864c6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -155,11 +155,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731235328,
|
"lastModified": 1733484277,
|
||||||
"narHash": "sha256-NjavpgE9/bMe/ABvZpyHIUeYF1mqR5lhaep3wB79ucs=",
|
"narHash": "sha256-i5ay20XsvpW91N4URET/nOc0VQWOAd4c4vbqYtcH8Rc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "60bb110917844d354f3c18e05450606a435d2d10",
|
"rev": "d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -204,11 +204,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731153869,
|
"lastModified": 1733570843,
|
||||||
"narHash": "sha256-3Ftf9oqOypcEyyrWJ0baVkRpvQqroK/SVBFLvU3nPuc=",
|
"narHash": "sha256-sQJAxY1TYWD1UyibN/FnN97paTFuwBw3Vp3DNCyKsMk=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "5c74ab862c8070cbf6400128a1b56abb213656da",
|
"rev": "a35b08d09efda83625bef267eb24347b446c80b8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -219,11 +219,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731139594,
|
"lastModified": 1733581040,
|
||||||
"narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=",
|
"narHash": "sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2",
|
"rev": "22c3f2cf41a0e70184334a958e6b124fb0ce3e01",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -234,16 +234,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731239293,
|
"lastModified": 1733550349,
|
||||||
"narHash": "sha256-q2yjIWFFcTzp5REWQUOU9L6kHdCDmFDpqeix86SOvDc=",
|
"narHash": "sha256-NcGumB4Lr6KSDq+nIqXtNA8QwAQKDSZT7N9OTGWbTrs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9256f7c71a195ebe7a218043d9f93390d49e6884",
|
"rev": "e2605d0744c2417b09f8bf850dfca42fcf537d34",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-24.05",
|
"ref": "nixos-24.11",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -262,11 +262,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731356813,
|
"lastModified": 1733780592,
|
||||||
"narHash": "sha256-w0TJwJwZd9so/chWYFFEtOQdnXTCvmNXIHs1FWJDlMM=",
|
"narHash": "sha256-SCEjUwyt6R2+36BS7xQG+rHUrhE8HDpmRwQzKHJkimQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "c892aa20732f982d4cc2b3ef2e2276a2a9a4d45b",
|
"rev": "cf7e026c8c86c5548d270e20c04f456939591219",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -285,11 +285,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731060242,
|
"lastModified": 1733411491,
|
||||||
"narHash": "sha256-43yLsOm/wxBbfYSNDWVJeVv5Ij+23X3BIjFUfsdx/6M=",
|
"narHash": "sha256-315rJ7O9cOllPDaFscnJhcMleORHbxon0Kq9LAKJ5p4=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "search",
|
"repo": "search",
|
||||||
"rev": "ef493352f9e1f051e01a55c062731503a6b36b4e",
|
"rev": "68e9fad70d95d08156cf10a030bd39487bed8ffe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -329,11 +329,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730321837,
|
"lastModified": 1733440889,
|
||||||
"narHash": "sha256-vK+a09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/+maI=",
|
"narHash": "sha256-qKL3vjO+IXFQ0nTinFDqNq/sbbnnS5bMI1y0xX215fU=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "746901bb8dba96d154b66492a29f5db0693dbfcc",
|
"rev": "50862ba6a8a0255b87377b9d2d4565e96f29b410",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
description = "My first flake!";
|
description = "My first flake!";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs-stable.url = "nixpkgs/nixos-24.05";
|
nixpkgs-stable.url = "nixpkgs/nixos-24.11";
|
||||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@ -21,8 +21,8 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
pkgs-stable = inputs.nixpkgs-stable.legacyPackages.${system};
|
pkgs-stable = nixpkgs-stable.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
@ -1,27 +1,21 @@
|
|||||||
local wezterm = require 'wezterm'
|
local wezterm = require("wezterm")
|
||||||
local act = wezterm.action
|
local act = wezterm.action
|
||||||
|
|
||||||
mb = {
|
mb = {}
|
||||||
}
|
|
||||||
|
|
||||||
for i = 1,99,1
|
for i = 1, 99, 1 do
|
||||||
do
|
table.insert(mb, {
|
||||||
table.insert(mb,
|
event = { Down = { streak = i, button = "Middle" } },
|
||||||
{
|
mods = "NONE",
|
||||||
event = { Down = { streak = i, button = 'Middle' } },
|
action = act.PasteFrom("PrimarySelection"),
|
||||||
mods = 'NONE',
|
|
||||||
action = act.PasteFrom("PrimarySelection")
|
|
||||||
})
|
})
|
||||||
table.insert(mb, {
|
table.insert(mb, {
|
||||||
event = { Down = { streak = i, button = 'Right' } },
|
event = { Down = { streak = i, button = "Right" } },
|
||||||
mods = 'NONE',
|
mods = "NONE",
|
||||||
action = wezterm.action_callback(function(window, pane)
|
action = wezterm.action_callback(function(window, pane)
|
||||||
local has_selection = window:get_selection_text_for_pane(pane) ~= ''
|
local has_selection = window:get_selection_text_for_pane(pane) ~= ""
|
||||||
if has_selection then
|
if has_selection then
|
||||||
window:perform_action(
|
window:perform_action(act.CopyTo("ClipboardAndPrimarySelection"), pane)
|
||||||
act.CopyTo 'ClipboardAndPrimarySelection',
|
|
||||||
pane
|
|
||||||
)
|
|
||||||
|
|
||||||
window:perform_action(act.ClearSelection, pane)
|
window:perform_action(act.ClearSelection, pane)
|
||||||
else
|
else
|
||||||
@ -35,50 +29,49 @@ return {
|
|||||||
disable_default_key_bindings = true,
|
disable_default_key_bindings = true,
|
||||||
pane_focus_follows_mouse = false,
|
pane_focus_follows_mouse = false,
|
||||||
mouse_bindings = mb,
|
mouse_bindings = mb,
|
||||||
-- leader = { key = 'VoidSymbol', timeout_milliseconds = 1000 },
|
-- leader = { key = 'VoidSymbol', timeout_milliseconds = 1000 },
|
||||||
keys = {
|
keys = {
|
||||||
-- {
|
-- {
|
||||||
-- key = 'c',
|
-- key = 'c',
|
||||||
-- mods = 'CTRL|SHIFT',
|
-- mods = 'CTRL|SHIFT',
|
||||||
-- action = wezterm.action.SpawnCommandInNewTab {
|
-- action = wezterm.action.SpawnCommandInNewTab {
|
||||||
-- args = { 'zsh' },
|
-- args = { 'zsh' },
|
||||||
-- cwd = '~'
|
-- cwd = '~'
|
||||||
-- },
|
-- },
|
||||||
-- },
|
-- },
|
||||||
{
|
{
|
||||||
key = 'v',
|
key = "v",
|
||||||
mods = 'CTRL|SHIFT',
|
mods = "CTRL|SHIFT",
|
||||||
action = act.PasteFrom("Clipboard"),
|
action = act.PasteFrom("Clipboard"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'c',
|
key = "c",
|
||||||
mods = 'CTRL|SHIFT',
|
mods = "CTRL|SHIFT",
|
||||||
action = act.CopyTo("Clipboard"),
|
action = act.CopyTo("Clipboard"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 't',
|
key = "t",
|
||||||
mods = 'CTRL|SHIFT',
|
mods = "CTRL|SHIFT",
|
||||||
action = wezterm.action.SpawnCommandInNewTab {
|
action = wezterm.action.SpawnCommandInNewTab({
|
||||||
args = { 'fish' },
|
args = { "fish" },
|
||||||
cwd = '~'
|
cwd = "~",
|
||||||
},
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'f',
|
key = "f",
|
||||||
mods = 'CTRL',
|
mods = "CTRL",
|
||||||
action = wezterm.action.TogglePaneZoomState,
|
action = wezterm.action.TogglePaneZoomState,
|
||||||
},
|
},
|
||||||
-- {
|
-- {
|
||||||
-- key = 'p',
|
-- key = 'p',
|
||||||
-- mods = 'LEADER',
|
-- mods = 'LEADER',
|
||||||
-- action = act.ActivateTabRelative(-1),
|
-- action = act.ActivateTabRelative(-1),
|
||||||
-- },
|
-- },
|
||||||
-- {
|
-- {
|
||||||
-- key = 'n',
|
-- key = 'n',
|
||||||
-- mods = 'LEADER',
|
-- mods = 'LEADER',
|
||||||
-- action = act.ActivateTabRelative(1),
|
-- action = act.ActivateTabRelative(1),
|
||||||
-- },
|
-- },
|
||||||
|
|
||||||
},
|
},
|
||||||
window_padding = {
|
window_padding = {
|
||||||
left = 2,
|
left = 2,
|
||||||
@ -87,8 +80,8 @@ return {
|
|||||||
bottom = 0,
|
bottom = 0,
|
||||||
},
|
},
|
||||||
window_frame = {
|
window_frame = {
|
||||||
border_left_width = '0.5cell',
|
border_left_width = "0.5cell",
|
||||||
border_right_width = '0.5cell',
|
border_right_width = "0.5cell",
|
||||||
},
|
},
|
||||||
window_background_opacity = 0.50,
|
window_background_opacity = 0.50,
|
||||||
window_decorations = "NONE",
|
window_decorations = "NONE",
|
||||||
@ -98,42 +91,43 @@ return {
|
|||||||
use_fancy_tab_bar = true,
|
use_fancy_tab_bar = true,
|
||||||
scrollback_lines = 999999,
|
scrollback_lines = 999999,
|
||||||
enable_scroll_bar = false,
|
enable_scroll_bar = false,
|
||||||
adjust_window_size_when_changing_font_size=false,
|
adjust_window_size_when_changing_font_size = false,
|
||||||
-- font = wezterm.font_with_fallback({"Hack", "Twemoji"}),
|
-- font = wezterm.font_with_fallback({"Hack", "Twemoji"}),
|
||||||
font_size = 15,
|
font_size = 15,
|
||||||
force_reverse_video_cursor = false,
|
force_reverse_video_cursor = false,
|
||||||
colors = {
|
colors = {
|
||||||
ansi = {
|
ansi = {
|
||||||
'#1d1f21',
|
"#1d1f21",
|
||||||
'#cc6666',
|
"#cc6666",
|
||||||
'#b5bd68',
|
"#b5bd68",
|
||||||
'#f0c674',
|
"#f0c674",
|
||||||
'#81a2be',
|
"#81a2be",
|
||||||
'#b294bb',
|
"#b294bb",
|
||||||
'#8abeb7',
|
"#8abeb7",
|
||||||
'#c5c8c6'
|
"#c5c8c6",
|
||||||
},
|
},
|
||||||
background = '#010101',
|
background = "#010101",
|
||||||
brights = {
|
brights = {
|
||||||
'#969896',
|
"#969896",
|
||||||
'#cc6666',
|
"#cc6666",
|
||||||
'#b5bd68',
|
"#b5bd68",
|
||||||
'#f0c674',
|
"#f0c674",
|
||||||
'#81a2be',
|
"#81a2be",
|
||||||
'#b294bb',
|
"#b294bb",
|
||||||
'#8abeb7',
|
"#8abeb7",
|
||||||
'#ffffff'
|
"#ffffff",
|
||||||
},
|
},
|
||||||
foreground = '#c5c8c6',
|
foreground = "#c5c8c6",
|
||||||
selection_bg = '#373b41',
|
selection_bg = "#373b41",
|
||||||
selection_fg = '#c5c8c6',
|
selection_fg = "#c5c8c6",
|
||||||
cursor_bg = '#c5c8c6',
|
cursor_bg = "#c5c8c6",
|
||||||
cursor_border = '#c5c8c6',
|
cursor_border = "#c5c8c6",
|
||||||
cursor_fg = '#1d1f21',
|
cursor_fg = "#1d1f21",
|
||||||
},
|
},
|
||||||
-- color_scheme = 'Catppuccin Macchiato',
|
-- color_scheme = 'Catppuccin Macchiato',
|
||||||
-- default_cursor_style = 'BlinkingBlock',
|
-- default_cursor_style = 'BlinkingBlock',
|
||||||
-- cursor_blink_rate = 500,
|
-- cursor_blink_rate = 500,
|
||||||
-- animation_fps = 100,
|
-- animation_fps = 100,
|
||||||
-- front_end = "Software",
|
enable_wayland = false,
|
||||||
|
front_end = "webGpu",
|
||||||
}
|
}
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
blur_passes 4
|
blur_passes 4
|
||||||
default_dim_inactive 0.2
|
default_dim_inactive 0.2
|
||||||
for_window [app_id="wezterm"] blur enable
|
for_window [app_id="wezterm"] blur enable
|
||||||
for_window [app_id="code"] blur enable
|
for_window [app_id="kitty"] blur enable
|
||||||
for_window [app_id="rofi"] blur enable
|
for_window [app_id="rofi"] blur enable
|
||||||
default_border pixel 0px
|
default_border pixel 0px
|
||||||
default_floating_border none
|
default_floating_border none
|
||||||
|
Reference in New Issue
Block a user