Compare commits
38 Commits
705bbf0b97
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c3aba30c34 | ||
![]() |
160ea2abc7 | ||
![]() |
4747ba1c58 | ||
![]() |
a4a76bd91f | ||
![]() |
9999dc3baf | ||
![]() |
009edeb259 | ||
![]() |
617119491f | ||
![]() |
76bb9c4d60 | ||
![]() |
fb10bb05eb | ||
![]() |
bfaf0a1b9c | ||
![]() |
9c00f3c466 | ||
![]() |
5823b2d534 | ||
![]() |
f67ce54e8a | ||
![]() |
c6bf052da6 | ||
![]() |
a7a9e9fd6a | ||
![]() |
89f10fbf63 | ||
![]() |
ec50143a97 | ||
![]() |
68f9f0afb0 | ||
![]() |
eb10424ccf | ||
![]() |
21feb914f0 | ||
![]() |
40e02f8ece | ||
![]() |
5834779d2b | ||
![]() |
f1a7bf0b6b | ||
![]() |
5443a41016 | ||
![]() |
20ff1d16dd | ||
![]() |
3c0a5834b0 | ||
![]() |
42130edad6 | ||
![]() |
510f3b41db | ||
![]() |
2c8b799325 | ||
![]() |
a68b5786e5 | ||
![]() |
4da8df94ac | ||
![]() |
3e2891be28 | ||
![]() |
7fe306b681 | ||
![]() |
30a2d59adf | ||
![]() |
dc3fdb35fd | ||
![]() |
842389873e | ||
![]() |
711422a98d | ||
![]() |
ae94c9e451 |
2100
flake.lock
generated
14
flake.nix
@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "fqbn207 shitty NixOS Configuration lol";
|
||||
description = "Sojus07 shitty NixOS Configuration lol";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
@ -14,33 +14,33 @@
|
||||
home-manager,
|
||||
nvf,
|
||||
}: {
|
||||
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.sputnik = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/default/configuration.nix
|
||||
./hosts/sputnik/configuration.nix
|
||||
nvf.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.fabian = import ./hosts/default/modules/home/home.nix;
|
||||
users.fabian = import ./hosts/default/home/home.nix;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.meteor = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/laptop/configuration.nix
|
||||
./hosts/meteor/configuration.nix
|
||||
nvf.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.fabian = import ./hosts/laptop/modules/home/home.nix;
|
||||
users.fabian = import ./hosts/default/home/home.nix;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
8
hosts/default/default.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./windowManager/dwm/default.nix
|
||||
./editors/nvim/default.nix
|
||||
./system/default.nix
|
||||
];
|
||||
}
|
@ -72,6 +72,7 @@
|
||||
};
|
||||
};
|
||||
lsp = {
|
||||
lspkind.enable = true;
|
||||
trouble = {
|
||||
enable = true;
|
||||
};
|
77
hosts/default/editors/nvim/raw/cmp.lua
Normal file
@ -0,0 +1,77 @@
|
||||
local cmp = require("cmp")
|
||||
local lspkind = require("lspkind")
|
||||
|
||||
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
|
||||
|
||||
cmp.setup({
|
||||
formatting = {
|
||||
format = function(entry, vim_item)
|
||||
vim_item.menu = ({
|
||||
nvim_lsp = "[LSP]",
|
||||
buffer = "[BUF]",
|
||||
path = "[PATH]",
|
||||
luasnip = "[SNIP]",
|
||||
nvim_lua = "[LUA]",
|
||||
})[entry.source.name]
|
||||
|
||||
vim_item.kind = lspkind.symbolic(vim_item.kind, { mode = "symbol" })
|
||||
return vim_item
|
||||
end,
|
||||
},
|
||||
sorting = {
|
||||
comparators = {
|
||||
cmp.config.compare.offset,
|
||||
cmp.config.compare.exact,
|
||||
cmp.config.compare.recently_used,
|
||||
cmp.config.compare.kind,
|
||||
cmp.config.compare.sort_text,
|
||||
cmp.config.compare.length,
|
||||
cmp.config.compare.order,
|
||||
},
|
||||
},
|
||||
window = {
|
||||
completion = {
|
||||
autocomplete = true,
|
||||
col_offset = -3,
|
||||
side_padding = 0,
|
||||
},
|
||||
completion = cmp.config.window.bordered({
|
||||
winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None",
|
||||
}),
|
||||
documentation = cmp.config.window.bordered({
|
||||
winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None",
|
||||
}),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
|
||||
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_prev_item()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
|
||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
["<C-Left>"] = cmp.mapping.abort(),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'buffer' },
|
||||
{ name = 'path' },
|
||||
{ name = 'nvim_lua' },
|
||||
}),
|
||||
})
|
||||
|
@ -1,11 +1,11 @@
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.cursorcolumn = true
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
vim.diagnostic.config({
|
@ -5,6 +5,7 @@
|
||||
}: {
|
||||
imports = [
|
||||
./nix
|
||||
./../windowManager/sway/default.nix
|
||||
];
|
||||
home = {
|
||||
enableNixpkgsReleaseCheck = false;
|
||||
@ -23,8 +24,11 @@
|
||||
".wp/wolf.png".source = ./raw/wp/wolf.png;
|
||||
".wp/nixos_dark.png".source = ./raw/wp/nixos_dark.png;
|
||||
".wp/GABE_Windows.png".source = ./raw/wp/GABE_Windows.png;
|
||||
".wp/skulls.png".source = ./raw/wp/skulls.png;
|
||||
".wp/soyuz.png".source = ./raw/wp/soyuz.png;
|
||||
".wp/bridge.png".source = ./raw/wp/bridge.png;
|
||||
".wp/skulls.png".source = ./raw/wp/skulls.png;
|
||||
".wp/purple_plants.png".source = ./raw/wp/purple_plants.png;
|
||||
".wp/black_hole.png".source = ./raw/wp/black_hole.png;
|
||||
};
|
||||
};
|
||||
}
|
48
hosts/default/home/nix/alacritty.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
window.dimensions = {
|
||||
lines = 4;
|
||||
columns = 200;
|
||||
};
|
||||
font = {
|
||||
size = 15;
|
||||
normal = {
|
||||
family = "TerminessNerdFont";
|
||||
style = "Regular";
|
||||
};
|
||||
};
|
||||
terminal = {
|
||||
shell = "tmux";
|
||||
};
|
||||
colors = {
|
||||
primary = {
|
||||
foreground = "#f2f4f8";
|
||||
background = "#121212";
|
||||
};
|
||||
normal = {
|
||||
black = "#121212";
|
||||
red = "#ee5396";
|
||||
green = "#25be6a";
|
||||
yellow = "#08bdba";
|
||||
blue = "#78a9ff";
|
||||
magenta = "#be95ff";
|
||||
cyan = "#33b1ff";
|
||||
white = "#dfdfe0";
|
||||
};
|
||||
bright = {
|
||||
black = "#525252";
|
||||
red = "#ff7eb6";
|
||||
green = "#42be65";
|
||||
yellow = "#3ddbd9";
|
||||
blue = "#82cfff";
|
||||
magenta = "#df99ff";
|
||||
cyan = "#6ea6ff";
|
||||
white = "#ffffff";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./sway/default.nix
|
||||
./alacritty.nix
|
||||
./shell.nix
|
||||
./git.nix
|
85
hosts/default/home/nix/mpd.nix
Normal file
@ -0,0 +1,85 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
mpc
|
||||
mpd-discord-rpc
|
||||
mpv
|
||||
];
|
||||
services = {
|
||||
mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/fabian/.music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire Output"
|
||||
}
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "Visualizer feed"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
ncmpcpp = {
|
||||
enable = true;
|
||||
package = pkgs.ncmpcpp.override { visualizerSupport = true; };
|
||||
mpdMusicDir = "/home/fabian/.music";
|
||||
settings = {
|
||||
mpd_port = 6600;
|
||||
mpd_crossfade_time = 2;
|
||||
mouse_support = "yes";
|
||||
visualizer_data_source = "/tmp/mpd.fifo";
|
||||
visualizer_output_name = "my_fifo";
|
||||
visualizer_in_stereo = "no";
|
||||
visualizer_type = "spectrum";
|
||||
visualizer_look = "█┇";
|
||||
visualizer_color = "7, 5, 4, 3";
|
||||
startup_screen = "browser";
|
||||
startup_slave_screen = "visualizer";
|
||||
playlist_disable_highlight_delay = "1";
|
||||
now_playing_prefix = "$8$b ➤ ";
|
||||
song_list_format = "{$2%a$9} $1|$9 {$5%t$9} $R {$6%b$9} $1|$9 {$2%l$9}";
|
||||
song_library_format = "{%n - }{%t}|{%f}";
|
||||
song_status_format = "$b{$6%a$9 $1|$9} {$7%t$9} $1|$9 {$2%b$9} $1|$9 {$6%y$9} $1|$9";
|
||||
song_window_title_format = "{%a-%t}";
|
||||
song_columns_list_format = "(6)[magenta]{l} (30)[red]{a} (30)[blue]{b} (53)[magenta]{t}";
|
||||
playlist_display_mode = "classic";
|
||||
titles_visibility = "no";
|
||||
browser_display_mode = "columns";
|
||||
incremental_seeking = "yes";
|
||||
autocenter_mode = "yes";
|
||||
header_visibility = "no";
|
||||
statusbar_visibility = "yes";
|
||||
cyclic_scrolling = "yes";
|
||||
display_bitrate = "yes";
|
||||
ignore_leading_the = "yes";
|
||||
enable_window_title = "yes";
|
||||
progressbar_look = ":: ";
|
||||
user_interface = "alternative";
|
||||
alternative_header_first_line_format = "{$b$2%a$9} $1|$9 {$5%t$9}";
|
||||
alternative_header_second_line_format = "{$6%b$9} $1|$9 {$2(%y)$9}";
|
||||
alternative_ui_separator_color = "black";
|
||||
playlist_separate_albums = "no";
|
||||
colors_enabled = "yes";
|
||||
empty_tag_color = "blue";
|
||||
header_window_color = "black";
|
||||
volume_color = "black";
|
||||
display_volume_level = "yes";
|
||||
state_line_color = "cyan";
|
||||
state_flags_color = "red";
|
||||
main_window_color = "blue";
|
||||
color1 = "white";
|
||||
color2 = "blue";
|
||||
progressbar_color = "black";
|
||||
statusbar_color = "black";
|
||||
window_border_color = "red";
|
||||
active_window_border = "red";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
49
hosts/default/home/nix/shell.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
grc
|
||||
];
|
||||
programs = {
|
||||
fish = {
|
||||
enable = true;
|
||||
generateCompletions = true;
|
||||
interactiveShellInit = ''
|
||||
set -gx DEVKITPRO "/opt/devkitpro";
|
||||
set -gx DEVKITPPC "/opt/devkitpro/devkitPPC";
|
||||
set -gx DEVKITA64 "/opt/devkitpro/devkitA64";
|
||||
set -gx DEVKITARM "/opt/devkitpro/devkitARM";
|
||||
set -gx PATH "/opt/devkitpro/tools/bin:$PATH";
|
||||
'';
|
||||
shellAliases = {
|
||||
g = "git";
|
||||
gc = "git commit";
|
||||
ga = "git add -A";
|
||||
http = "python3 -m http.server";
|
||||
ls = "${pkgs.eza}/bin/eza -l --icons";
|
||||
tree = "${pkgs.eza}/bin/eza --tree --icons";
|
||||
cp = "cp -rv";
|
||||
mv = "mv -v";
|
||||
mkdir = "mkdir -pv";
|
||||
update = "sudo nixos-rebuild switch --flake /etc/nixos --impure";
|
||||
};
|
||||
plugins = [
|
||||
{
|
||||
name = "fzf-fish";
|
||||
src = pkgs.fishPlugins.fzf-fish.src;
|
||||
}
|
||||
{
|
||||
name = "git-abbr";
|
||||
src = pkgs.fishPlugins.git-abbr.src;
|
||||
}
|
||||
{
|
||||
name = "forgit";
|
||||
src = pkgs.fishPlugins.forgit.src;
|
||||
}
|
||||
{
|
||||
name = "colored-man-pages";
|
||||
src = pkgs.fishPlugins.colored-man-pages.src;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
72
hosts/default/home/nix/tmux.nix
Normal file
@ -0,0 +1,72 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
tmux = {
|
||||
enable = true;
|
||||
disableConfirmationPrompt = true;
|
||||
mouse = true;
|
||||
keyMode = "vi";
|
||||
extraConfig = ''
|
||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
bind \\ split-window -h
|
||||
bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind t new-window
|
||||
bind -n M-w previous-window
|
||||
bind -n M-e next-window
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
|
||||
set -g status-left-length 100
|
||||
set -g status-right-length 100
|
||||
set -g status-position top
|
||||
|
||||
### NOVA ###
|
||||
|
||||
set -g @plugin 'o0th/tmux-nova'
|
||||
|
||||
set -g @nova-nerdfonts true
|
||||
|
||||
set -g @nova-pane-active-border-style "#44475a"
|
||||
set -g @nova-pane-border-style "#282a36"
|
||||
set -g @nova-status-style-bg "#121212"
|
||||
set -g @nova-status-style-fg "#d8dee9"
|
||||
set -g @nova-status-style-active-bg "#af87ff"
|
||||
set -g @nova-status-style-active-fg "#121212"
|
||||
set -g @nova-status-style-double-bg "#2d3540"
|
||||
|
||||
set -g @nova-pane "#I#{?pane_in_mode, #{pane_mode},} #W"
|
||||
|
||||
set -g @nova-segment-mode "#{?client_prefix,Ω,ω}"
|
||||
set -g @nova-segment-mode-colors "#af87ff #121212"
|
||||
|
||||
set -g @nova-segment-whoami "#(whoami)@#h"
|
||||
set -g @nova-segment-whoami-colors "#af87ff #121212"
|
||||
|
||||
set -g @nova-segment-date " %H:%M:%S"
|
||||
set -g @nova-segment-date-colors "#87afff #121212"
|
||||
|
||||
set -g @nova-rows 0
|
||||
set -g @nova-segments-0-left "mode"
|
||||
set -g @nova-segments-0-right "date whoami "
|
||||
|
||||
|
||||
### END ###
|
||||
|
||||
run-shell ~/.tmux/plugins/tmux-nova/nova.tmux
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Before Width: | Height: | Size: 534 KiB After Width: | Height: | Size: 534 KiB |
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 12 MiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
BIN
hosts/default/home/raw/wp/black_hole.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
hosts/default/home/raw/wp/bridge.png
Normal file
After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 181 KiB |
Before Width: | Height: | Size: 754 KiB After Width: | Height: | Size: 754 KiB |
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 964 KiB After Width: | Height: | Size: 964 KiB |
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 9.3 MiB |
Before Width: | Height: | Size: 6.2 MiB After Width: | Height: | Size: 6.2 MiB |
Before Width: | Height: | Size: 19 MiB After Width: | Height: | Size: 19 MiB |
Before Width: | Height: | Size: 410 KiB After Width: | Height: | Size: 410 KiB |
Before Width: | Height: | Size: 759 KiB After Width: | Height: | Size: 759 KiB |
Before Width: | Height: | Size: 486 KiB After Width: | Height: | Size: 486 KiB |
@ -1,49 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
window.dimensions = {
|
||||
lines = 4;
|
||||
columns = 200;
|
||||
};
|
||||
font = {
|
||||
size = 17;
|
||||
normal = {
|
||||
family = "TerminessNerdFont";
|
||||
style = "Regular";
|
||||
};
|
||||
};
|
||||
terminal = {
|
||||
shell = "tmux";
|
||||
};
|
||||
colors = {
|
||||
primary = {
|
||||
foreground = "#f2f4f8";
|
||||
background = "#121212";
|
||||
};
|
||||
normal = {
|
||||
black = "#121212";
|
||||
red = "#ee5396";
|
||||
green = "#25be6a";
|
||||
yellow = "#08bdba";
|
||||
blue = "#78a9ff";
|
||||
magenta = "#be95ff";
|
||||
cyan = "#33b1ff";
|
||||
white = "#dfdfe0";
|
||||
};
|
||||
bright = {
|
||||
black = "#525252";
|
||||
red = "#ff7eb6";
|
||||
green = "#42be65";
|
||||
yellow = "#3ddbd9";
|
||||
blue = "#82cfff";
|
||||
magenta = "#df99ff";
|
||||
cyan = "#6ea6ff";
|
||||
white = "#ffffff";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./sway/default.nix
|
||||
./alacritty.nix
|
||||
./shell.nix
|
||||
./git.nix
|
||||
./tmux.nix
|
||||
./mpd.nix
|
||||
];
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
mpc
|
||||
mpd-discord-rpc
|
||||
mpv
|
||||
];
|
||||
services = {
|
||||
mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/fabian/.music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire Output"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "Visualizer feed"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
ncmpcpp = {
|
||||
enable = true;
|
||||
mpdMusicDir = "/home/fabian/.music";
|
||||
bindings = [
|
||||
];
|
||||
settings = {
|
||||
ncmpcpp_directory = "~/.ncmpcpp";
|
||||
mpd_host = "localhost";
|
||||
mpd_port = 6600;
|
||||
header_window_color = "cyan";
|
||||
progressbar_look = "━━━";
|
||||
visualizer_color = "cyan";
|
||||
visualizer_look = "┃│";
|
||||
now_playing_prefix = " ";
|
||||
visualizer_type = "wave";
|
||||
song_status_format = " $2%a $4⟫$3⟫ $8%t $4⟫$3⟫ $5%b ";
|
||||
autocenter_mode = "yes";
|
||||
centered_cursor = "yes";
|
||||
display_bitrate = "no";
|
||||
enable_window_title = "no";
|
||||
follow_now_playing_lyrics = "yes";
|
||||
ignore_leading_the = "yes";
|
||||
empty_tag_marker = "";
|
||||
visualizer_data_source = "/tmp/mpd.fifo";
|
||||
visualizer_output_name = "my_fifo";
|
||||
header_visibility = false;
|
||||
statusbar_visibility = true;
|
||||
titles_visibility = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
grc
|
||||
];
|
||||
programs = {
|
||||
fish = {
|
||||
enable = true;
|
||||
generateCompletions = true;
|
||||
interactiveShellInit = ''
|
||||
set -gx DEVKITPRO "/opt/devkitpro";
|
||||
set -gx DEVKITPPC "/opt/devkitpro/devkitPPC";
|
||||
set -gx DEVKITA64 "/opt/devkitpro/devkitA64";
|
||||
set -gx DEVKITARM "/opt/devkitpro/devkitARM";
|
||||
set -gx PATH "/opt/devkitpro/tools/bin:$PATH";
|
||||
'';
|
||||
shellAliases = {
|
||||
g = "git";
|
||||
gc = "git commit";
|
||||
ga = "git add -A";
|
||||
http = "python3 -m http.server";
|
||||
ls = "${pkgs.eza}/bin/eza -l --icons";
|
||||
tree = "${pkgs.eza}/bin/eza --tree --icons";
|
||||
cp = "cp -rv";
|
||||
mv = "mv -v";
|
||||
mkdir = "mkdir -pv";
|
||||
update = "sudo nixos-rebuild switch --flake /etc/nixos#poggers --impure";
|
||||
};
|
||||
plugins = [
|
||||
{
|
||||
name = "z";
|
||||
src = pkgs.fishPlugins.z.src;
|
||||
}
|
||||
{
|
||||
name = "pisces";
|
||||
src = pkgs.fishPlugins.pisces.src;
|
||||
}
|
||||
{
|
||||
name = "fzf-fish";
|
||||
src = pkgs.fishPlugins.fzf-fish.src;
|
||||
}
|
||||
{
|
||||
name = "hydro";
|
||||
src = pkgs.fishPlugins.hydro.src;
|
||||
}
|
||||
{
|
||||
name = "grc";
|
||||
src = pkgs.fishPlugins.grc.src;
|
||||
}
|
||||
{
|
||||
name = "git-abbr";
|
||||
src = pkgs.fishPlugins.git-abbr.src;
|
||||
}
|
||||
{
|
||||
name = "forgit";
|
||||
src = pkgs.fishPlugins.forgit.src;
|
||||
}
|
||||
{
|
||||
name = "colored-man-pages";
|
||||
src = pkgs.fishPlugins.colored-man-pages.src;
|
||||
}
|
||||
{
|
||||
name = "bobthefisher";
|
||||
src = pkgs.fishPlugins.bobthefisher.src;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
bash = {
|
||||
enable = false;
|
||||
enableCompletion = true;
|
||||
sessionVariables = {
|
||||
DEVKITPRO = "/opt/devkitpro";
|
||||
DEVKITPPC = "/opt/devkitpro/devkitPPC";
|
||||
DEVKITA64 = "/opt/devkitpro/devkitA64";
|
||||
DEVKITARM = "/opt/devkitpro/devkitARM";
|
||||
PATH = "/opt/devkitpro/tools/bin:$PATH";
|
||||
};
|
||||
shellAliases = {
|
||||
http = "python3 -m http.server";
|
||||
rm = "rm $@ -v -I";
|
||||
ls = "${pkgs.eza}/bin/eza -l --icons";
|
||||
cp = "cp -rv";
|
||||
mv = "mv -v";
|
||||
mkdir = "mkdir -pv";
|
||||
update = "doas nixos-rebuild switch";
|
||||
};
|
||||
shellOptions = [
|
||||
"histappend"
|
||||
"checkwinsize"
|
||||
"extglob"
|
||||
"globstar"
|
||||
"checkjobs"
|
||||
];
|
||||
initExtra = ''
|
||||
PS1="(\u) % "
|
||||
|
||||
eval "$(fzf --bash)"
|
||||
complete -cf doas
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
tmux = {
|
||||
enable = true;
|
||||
plugins = with pkgs; [
|
||||
tmuxPlugins.net-speed
|
||||
tmuxPlugins.cpu
|
||||
tmuxPlugins.battery
|
||||
tmuxPlugins.gruvbox
|
||||
];
|
||||
disableConfirmationPrompt = true;
|
||||
mouse = true;
|
||||
keyMode = "vi";
|
||||
extraConfig = ''
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
bind \\ split-window -h
|
||||
bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind t new-window
|
||||
bind -n M-w previous-window
|
||||
bind -n M-e next-window
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
|
||||
#setw -g window-status-current-format "[ #W ]"
|
||||
#setw -g window-status-format "#W"
|
||||
|
||||
set-option -s status-interval 1
|
||||
set -g status-right-length 100
|
||||
set -g @net_speed_interfaces "wg0-mullvad"
|
||||
set -g @download_speed_format "%1s"
|
||||
set -g @upload_speed_format "%1s"
|
||||
set -g @net_speed_format "D:%1s U:%1s"
|
||||
|
||||
set -g status-right '#{battery_icon} #{battery_percentage} [ #{net_speed}] [ #{cpu_percentage}] [ %H:%M] '
|
||||
|
||||
run-shell ${pkgs.tmuxPlugins.net-speed}/share/tmux-plugins/net-speed/net_speed.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/battery/battery.tmux
|
||||
|
||||
set -g status-position top
|
||||
#set-option -g status-style bg=default
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
networking = {
|
||||
hostName = "poggers";
|
||||
networkmanager.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
80
|
||||
1337
|
||||
8080
|
||||
3000
|
||||
8000
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.nvf.settings.vim = {
|
||||
languages = {
|
||||
clang = {
|
||||
enable = true;
|
||||
dap.enable = true;
|
||||
treesitter.enable = true;
|
||||
lsp.enable = true;
|
||||
};
|
||||
python = {
|
||||
enable = true;
|
||||
lsp.enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
go = {
|
||||
enable = true;
|
||||
lsp.enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
lua = {
|
||||
enable = true;
|
||||
};
|
||||
rust = {
|
||||
enable = true;
|
||||
dap.enable = true;
|
||||
format.enable = true;
|
||||
lsp.enable = true;
|
||||
};
|
||||
html = {
|
||||
enable = true;
|
||||
treesitter = {
|
||||
enable = true;
|
||||
autotagHtml = true;
|
||||
};
|
||||
};
|
||||
css = {
|
||||
enable = true;
|
||||
treesitter.enable = true;
|
||||
lsp.enable = true;
|
||||
};
|
||||
assembly = {
|
||||
enable = true;
|
||||
lsp.enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
bash = {
|
||||
enable = true;
|
||||
lsp.enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
ts = {
|
||||
enable = true;
|
||||
extraDiagnostics.enable = true;
|
||||
treesitter.enable = true;
|
||||
lsp.enable = true;
|
||||
};
|
||||
nix = {
|
||||
enable = true;
|
||||
extraDiagnostics = {
|
||||
enable = true;
|
||||
};
|
||||
format = {
|
||||
enable = true;
|
||||
type = "alejandra";
|
||||
};
|
||||
lsp.enable = true;
|
||||
treesitter.enable = true;
|
||||
};
|
||||
};
|
||||
lsp = {
|
||||
trouble = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
local cmp = require("cmp")
|
||||
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
|
||||
cmp.setup({
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require('luasnip').lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
sorting = {
|
||||
comparators = {
|
||||
cmp.config.compare.offset,
|
||||
cmp.config.compare.exact,
|
||||
cmp.config.compare.recently_used,
|
||||
cmp.config.compare.kind,
|
||||
cmp.config.compare.sort_text,
|
||||
cmp.config.compare.length,
|
||||
cmp.config.compare.order,
|
||||
},
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
|
||||
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_prev_item()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
|
||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
["<C-e>"] = cmp.mapping.abort(),
|
||||
["<C-Left>"] = cmp.mapping.abort(),
|
||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||
}),
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'buffer' },
|
||||
{ name = 'path' },
|
||||
{ name = 'nvim_lua' },
|
||||
{ name = 'emoji' },
|
||||
}),
|
||||
highlight = {
|
||||
default = "Subtle"
|
||||
},
|
||||
})
|
@ -1,17 +0,0 @@
|
||||
[options]
|
||||
HoldPkg = pacman glibc
|
||||
Architecture = auto
|
||||
UseSyslog
|
||||
Color
|
||||
ILoveCandy
|
||||
CheckSpace
|
||||
VerbosePkgLists
|
||||
ParallelDownloads = 5
|
||||
SigLevel = Never
|
||||
LocalFileSigLevel = Optional
|
||||
|
||||
[dkp-libs]
|
||||
Server = https://pkg.devkitpro.org/packages
|
||||
|
||||
[dkp-linux]
|
||||
Server = https://pkg.devkitpro.org/packages/linux/$arch/
|
17
hosts/default/system/chromium.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
chromium
|
||||
];
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # Dark Reader
|
||||
];
|
||||
extraOpts = {
|
||||
"BrowserSignin" = 0;
|
||||
"SyncDisabled" = true;
|
||||
"PasswordManagerEnabled" = false;
|
||||
};
|
||||
};
|
||||
}
|
@ -4,8 +4,6 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./x/dwm/default.nix
|
||||
./nvim/default.nix
|
||||
./networking.nix
|
||||
./users.nix
|
||||
./services.nix
|
||||
@ -16,5 +14,7 @@
|
||||
./virt.nix
|
||||
./boot.nix
|
||||
./hw.nix
|
||||
./radio.nix
|
||||
./chromium.nix
|
||||
];
|
||||
}
|
@ -1,5 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
hackrf
|
||||
];
|
||||
|
||||
hardware = {
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
@ -7,9 +11,5 @@
|
||||
graphics = {
|
||||
enable = true;
|
||||
};
|
||||
rtl-sdr = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
@ -1,13 +1,24 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
iperf3
|
||||
speedtest-cli
|
||||
dhcpcd
|
||||
];
|
||||
|
||||
services = {
|
||||
iperf3 = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
networking = {
|
||||
hostName = "poggers";
|
||||
networkmanager.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
allowedTCPPorts = [
|
||||
80
|
||||
1337
|
||||
5001
|
||||
8080
|
||||
3000
|
||||
8000
|
@ -3,7 +3,6 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
# System utilities
|
||||
unzip
|
||||
yt-dlp
|
||||
inetutils
|
||||
git
|
||||
wget
|
||||
@ -33,6 +32,7 @@
|
||||
htop
|
||||
btop
|
||||
jq
|
||||
ffmpeg
|
||||
|
||||
# Development & compilers
|
||||
rustup
|
||||
@ -67,7 +67,6 @@
|
||||
binwalk
|
||||
chirp
|
||||
picocom
|
||||
pwndbg
|
||||
minipro
|
||||
ethtool
|
||||
|
||||
@ -93,6 +92,7 @@
|
||||
cubicsdr
|
||||
gqrx
|
||||
multimon-ng
|
||||
stellarium
|
||||
|
||||
# Miscellaneous
|
||||
cava
|
||||
@ -100,12 +100,14 @@
|
||||
pacman
|
||||
wf-recorder
|
||||
qbittorrent
|
||||
superTuxKart
|
||||
adwaita-icon-theme
|
||||
];
|
||||
|
||||
|
||||
fonts = {
|
||||
fontconfig.enable = true;
|
||||
packages = with pkgs; [
|
||||
terminus-nerdfont
|
||||
noto-fonts
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
@ -115,8 +117,9 @@
|
||||
mplus-outline-fonts.githubRelease
|
||||
dina-font
|
||||
proggyfonts
|
||||
pkgs.nerd-fonts._0xproto
|
||||
pkgs.nerd-fonts.droid-sans-mono
|
||||
nerd-fonts._0xproto
|
||||
nerd-fonts.droid-sans-mono
|
||||
nerd-fonts.terminess-ttf
|
||||
];
|
||||
};
|
||||
|
@ -1,15 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
hardware = {
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
};
|
||||
graphics = {
|
||||
enable = true;
|
||||
};
|
||||
rtl-sdr = {
|
||||
enable = true;
|
||||
};
|
||||
hackrf = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./nix
|
||||
];
|
||||
home = {
|
||||
enableNixpkgsReleaseCheck = false;
|
||||
stateVersion = "24.11";
|
||||
file = {
|
||||
".wp/temple.png".source = ./raw/wp/temple.png;
|
||||
".wp/skull_purple.png".source = ./raw/wp/skull_purple.png;
|
||||
".wp/gruvbox-dark-blue.png".source = ./raw/wp/gruvbox-dark-blue.png;
|
||||
".wp/anime_blue.png".source = ./raw/wp/anime_blue.png;
|
||||
".wp/fuji.png".source = ./raw/wp/fuji.png;
|
||||
".wp/orbit.png".source = ./raw/wp/orbit.png;
|
||||
".wp/hollow_knight.png".source = ./raw/wp/hollow_knight.png;
|
||||
".wp/ios.png".source = ./raw/wp/ios.png;
|
||||
".wp/manga.png".source = ./raw/wp/manga.png;
|
||||
".wp/bg.png".source = ./raw/wp/bg.png;
|
||||
".wp/wolf.png".source = ./raw/wp/wolf.png;
|
||||
".wp/nixos_dark.png".source = ./raw/wp/nixos_dark.png;
|
||||
".wp/GABE_Windows.png".source = ./raw/wp/GABE_Windows.png;
|
||||
".wp/skulls.png".source = ./raw/wp/skulls.png;
|
||||
".wp/soyuz.png".source = ./raw/wp/soyuz.png;
|
||||
};
|
||||
};
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
window.dimensions = {
|
||||
lines = 4;
|
||||
columns = 200;
|
||||
};
|
||||
font = {
|
||||
size = 17;
|
||||
normal = {
|
||||
family = "TerminessNerdFont";
|
||||
style = "Regular";
|
||||
};
|
||||
};
|
||||
terminal = {
|
||||
shell = "tmux";
|
||||
};
|
||||
colors = {
|
||||
primary = {
|
||||
foreground = "#f2f4f8";
|
||||
background = "#121212";
|
||||
};
|
||||
normal = {
|
||||
black = "#121212";
|
||||
red = "#ee5396";
|
||||
green = "#25be6a";
|
||||
yellow = "#08bdba";
|
||||
blue = "#78a9ff";
|
||||
magenta = "#be95ff";
|
||||
cyan = "#33b1ff";
|
||||
white = "#dfdfe0";
|
||||
};
|
||||
bright = {
|
||||
black = "#525252";
|
||||
red = "#ff7eb6";
|
||||
green = "#42be65";
|
||||
yellow = "#3ddbd9";
|
||||
blue = "#82cfff";
|
||||
magenta = "#df99ff";
|
||||
cyan = "#6ea6ff";
|
||||
white = "#ffffff";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "Sojus07";
|
||||
userEmail = "Sojus07";
|
||||
};
|
||||
};
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
mpc
|
||||
mpd-discord-rpc
|
||||
mpv
|
||||
];
|
||||
services = {
|
||||
mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/fabian/.music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire Output"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "Visualizer feed"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
ncmpcpp = {
|
||||
enable = true;
|
||||
mpdMusicDir = "/home/fabian/.music";
|
||||
bindings = [
|
||||
];
|
||||
settings = {
|
||||
ncmpcpp_directory = "~/.ncmpcpp";
|
||||
mpd_host = "localhost";
|
||||
mpd_port = 6600;
|
||||
header_window_color = "cyan";
|
||||
progressbar_look = "━━━";
|
||||
visualizer_color = "cyan";
|
||||
visualizer_look = "┃│";
|
||||
now_playing_prefix = " ";
|
||||
visualizer_type = "wave";
|
||||
song_status_format = " $2%a $4⟫$3⟫ $8%t $4⟫$3⟫ $5%b ";
|
||||
autocenter_mode = "yes";
|
||||
centered_cursor = "yes";
|
||||
display_bitrate = "no";
|
||||
enable_window_title = "no";
|
||||
follow_now_playing_lyrics = "yes";
|
||||
ignore_leading_the = "yes";
|
||||
empty_tag_marker = "";
|
||||
visualizer_data_source = "/tmp/mpd.fifo";
|
||||
visualizer_output_name = "my_fifo";
|
||||
header_visibility = false;
|
||||
statusbar_visibility = true;
|
||||
titles_visibility = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
grc
|
||||
];
|
||||
programs = {
|
||||
fish = {
|
||||
enable = true;
|
||||
generateCompletions = true;
|
||||
interactiveShellInit = ''
|
||||
set -gx DEVKITPRO "/opt/devkitpro";
|
||||
set -gx DEVKITPPC "/opt/devkitpro/devkitPPC";
|
||||
set -gx DEVKITA64 "/opt/devkitpro/devkitA64";
|
||||
set -gx DEVKITARM "/opt/devkitpro/devkitARM";
|
||||
set -gx PATH "/opt/devkitpro/tools/bin:$PATH";
|
||||
'';
|
||||
shellAliases = {
|
||||
g = "git";
|
||||
gc = "git commit";
|
||||
ga = "git add -A";
|
||||
http = "python3 -m http.server";
|
||||
ls = "${pkgs.eza}/bin/eza -l --icons";
|
||||
tree = "${pkgs.eza}/bin/eza --tree --icons";
|
||||
cp = "cp -rv";
|
||||
mv = "mv -v";
|
||||
mkdir = "mkdir -pv";
|
||||
update = "sudo nixos-rebuild switch --flake /etc/nixos#poggers --impure";
|
||||
};
|
||||
plugins = [
|
||||
{
|
||||
name = "z";
|
||||
src = pkgs.fishPlugins.z.src;
|
||||
}
|
||||
{
|
||||
name = "pisces";
|
||||
src = pkgs.fishPlugins.pisces.src;
|
||||
}
|
||||
{
|
||||
name = "fzf-fish";
|
||||
src = pkgs.fishPlugins.fzf-fish.src;
|
||||
}
|
||||
{
|
||||
name = "hydro";
|
||||
src = pkgs.fishPlugins.hydro.src;
|
||||
}
|
||||
{
|
||||
name = "grc";
|
||||
src = pkgs.fishPlugins.grc.src;
|
||||
}
|
||||
{
|
||||
name = "git-abbr";
|
||||
src = pkgs.fishPlugins.git-abbr.src;
|
||||
}
|
||||
{
|
||||
name = "forgit";
|
||||
src = pkgs.fishPlugins.forgit.src;
|
||||
}
|
||||
{
|
||||
name = "colored-man-pages";
|
||||
src = pkgs.fishPlugins.colored-man-pages.src;
|
||||
}
|
||||
{
|
||||
name = "bobthefisher";
|
||||
src = pkgs.fishPlugins.bobthefisher.src;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
bash = {
|
||||
enable = false;
|
||||
enableCompletion = true;
|
||||
sessionVariables = {
|
||||
DEVKITPRO = "/opt/devkitpro";
|
||||
DEVKITPPC = "/opt/devkitpro/devkitPPC";
|
||||
DEVKITA64 = "/opt/devkitpro/devkitA64";
|
||||
DEVKITARM = "/opt/devkitpro/devkitARM";
|
||||
PATH = "/opt/devkitpro/tools/bin:$PATH";
|
||||
};
|
||||
shellAliases = {
|
||||
http = "python3 -m http.server";
|
||||
rm = "rm $@ -v -I";
|
||||
ls = "${pkgs.eza}/bin/eza -l --icons";
|
||||
cp = "cp -rv";
|
||||
mv = "mv -v";
|
||||
mkdir = "mkdir -pv";
|
||||
update = "doas nixos-rebuild switch";
|
||||
};
|
||||
shellOptions = [
|
||||
"histappend"
|
||||
"checkwinsize"
|
||||
"extglob"
|
||||
"globstar"
|
||||
"checkjobs"
|
||||
];
|
||||
initExtra = ''
|
||||
PS1="(\u) % "
|
||||
|
||||
eval "$(fzf --bash)"
|
||||
complete -cf doas
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./sway.nix
|
||||
];
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
waybar
|
||||
swaybg
|
||||
slurp
|
||||
grim
|
||||
];
|
||||
file = {
|
||||
".config/rofi/config.rasi".source = ./raw/config.rasi;
|
||||
".config/waybar/style.css".source = ./raw/style.css;
|
||||
".config/waybar/config".source = ./raw/config;
|
||||
};
|
||||
};
|
||||
}
|
@ -1,189 +0,0 @@
|
||||
[
|
||||
{
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-alt": "{icon} {time}",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"format-plugged": " {capacity}% ",
|
||||
"states": {
|
||||
"critical": 15,
|
||||
"good": 95,
|
||||
"warning": 30
|
||||
}
|
||||
},
|
||||
"cava#left": {
|
||||
"autosens": 1,
|
||||
"bar_delimiter": 0,
|
||||
"bars": 18,
|
||||
"format-icons": [
|
||||
"<span foreground='#cba6f7'>▁</span>",
|
||||
"<span foreground='#cba6f7'>▂</span>",
|
||||
"<span foreground='#cba6f7'>▃</span>",
|
||||
"<span foreground='#cba6f7'>▄</span>",
|
||||
"<span foreground='#89b4fa'>▅</span>",
|
||||
"<span foreground='#89b4fa'>▆</span>",
|
||||
"<span foreground='#89b4fa'>▇</span>",
|
||||
"<span foreground='#89b4fa'>█</span>"
|
||||
],
|
||||
"framerate": 60,
|
||||
"higher_cutoff_freq": 10000,
|
||||
"input_delay": 2,
|
||||
"lower_cutoff_freq": 50,
|
||||
"method": "pulse",
|
||||
"monstercat": false,
|
||||
"reverse": false,
|
||||
"source": "auto",
|
||||
"stereo": true,
|
||||
"waves": false
|
||||
},
|
||||
"cava#right": {
|
||||
"autosens": 1,
|
||||
"bar_delimiter": 0,
|
||||
"bars": 18,
|
||||
"format-icons": [
|
||||
"<span foreground='#cba6f7'>▁</span>",
|
||||
"<span foreground='#cba6f7'>▂</span>",
|
||||
"<span foreground='#cba6f7'>▃</span>",
|
||||
"<span foreground='#cba6f7'>▄</span>",
|
||||
"<span foreground='#89b4fa'>▅</span>",
|
||||
"<span foreground='#89b4fa'>▆</span>",
|
||||
"<span foreground='#89b4fa'>▇</span>",
|
||||
"<span foreground='#89b4fa'>█</span>"
|
||||
],
|
||||
"framerate": 60,
|
||||
"higher_cutoff_freq": 10000,
|
||||
"input_delay": 2,
|
||||
"lower_cutoff_freq": 50,
|
||||
"method": "pulse",
|
||||
"monstercat": false,
|
||||
"reverse": false,
|
||||
"source": "auto",
|
||||
"stereo": true,
|
||||
"waves": false
|
||||
},
|
||||
"clock": {
|
||||
"format": " {:%a, %d %b, %I:%M %p}",
|
||||
"format-alt": " {:%d/%m}",
|
||||
"tooltip": "true",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"format-alt": " {avg_frequency} GHz",
|
||||
"interval": 5
|
||||
},
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"tooltip": "false"
|
||||
},
|
||||
"custom/playerctl#backward": {
|
||||
"format": " ",
|
||||
"on-click": "playerctl previous",
|
||||
"on-scroll-down": "playerctl volume .05-",
|
||||
"on-scroll-up": "playerctl volume .05+"
|
||||
},
|
||||
"custom/playerctl#foward": {
|
||||
"format": " ",
|
||||
"on-click": "playerctl next",
|
||||
"on-scroll-down": "playerctl volume .05-",
|
||||
"on-scroll-up": "playerctl volume .05+"
|
||||
},
|
||||
"custom/playerctl#play": {
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"Paused": "<span> </span>",
|
||||
"Playing": "<span> </span>",
|
||||
"Stopped": "<span> </span>"
|
||||
},
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-down": "playerctl volume .05-",
|
||||
"on-scroll-up": "playerctl volume .05+",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/playerlabel": {
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"format": "<span> {} </span>",
|
||||
"max-length": 40,
|
||||
"on-click": "",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/randwall": {
|
||||
"format": ""
|
||||
},
|
||||
"height": 35,
|
||||
"layer": "top",
|
||||
"margin-bottom": 0,
|
||||
"margin-left": 0,
|
||||
"margin-right": 0,
|
||||
"margin-top": 0,
|
||||
"memory": {
|
||||
"format": " {}%",
|
||||
"format-alt": " {used}/{total} GiB",
|
||||
"interval": 5
|
||||
},
|
||||
"modules-center": [
|
||||
"custom/playerlabel",
|
||||
],
|
||||
"modules-left": [
|
||||
"cava#left",
|
||||
"custom/playerctl#backward",
|
||||
"custom/playerctl#play",
|
||||
"custom/playerctl#foward",
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"battery",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
],
|
||||
|
||||
"network": {
|
||||
"format-disconnected": " 0% ",
|
||||
"format-ethernet": " 100% ",
|
||||
"format-linked": "{ifname} (No IP)",
|
||||
"format-wifi": " {signalStrength}%",
|
||||
"tooltip-format": "Connected to {essid} {ifname} via {gwaddr}"
|
||||
},
|
||||
"position": "top",
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-icons": {
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"format-muted": "",
|
||||
"on-click": "pavucontrol",
|
||||
"scroll-step": 5
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 8
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"active-only": false,
|
||||
"all-outputs": false,
|
||||
"disable-scroll": false,
|
||||
"format": "{name}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": "",
|
||||
"sort-by-number": true,
|
||||
"urgent": ""
|
||||
},
|
||||
"on-click": "activate",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e-1"
|
||||
}
|
||||
}
|
||||
]
|
@ -1,76 +0,0 @@
|
||||
configuration {
|
||||
display-drun: "Applications:";
|
||||
drun-display-format: "{icon} {name}";
|
||||
font: "JetBrainsMono Nerd Font Medium 10";
|
||||
show-icons: true;
|
||||
modi: "drun";
|
||||
}
|
||||
|
||||
@theme "/dev/null"
|
||||
|
||||
* {
|
||||
|
||||
opacity: 0.5;
|
||||
color0: #39305320;
|
||||
color1: #494d6420;
|
||||
color3: #d8dee9;
|
||||
color4: #7b68ee;
|
||||
color5: #cbe3e7;
|
||||
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @color3;
|
||||
accent-color: @color5;
|
||||
|
||||
margin: 0px;
|
||||
border: 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: @color0;
|
||||
border-color: @accent-color;
|
||||
|
||||
width: 50%;
|
||||
border: 2px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 10px 12px;
|
||||
spacing: 12px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt, entry, element-text, element-icon {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
enabled: true;
|
||||
text-color: @color4;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 8;
|
||||
columns: 2;
|
||||
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @color4;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 20;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
@ -1,134 +0,0 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: RobotoMono Nerd Font;
|
||||
font-size: 14px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
/* background: rgba(17,17,27,1); */
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#cava.left, #cava.right {
|
||||
/* background: #25253a; */
|
||||
|
||||
/*background: #25253a;*/
|
||||
background: #010101;
|
||||
margin: 5px;
|
||||
padding: 8px 16px;
|
||||
color: #cba6f7;
|
||||
}
|
||||
#cava.left {
|
||||
border-radius: 24px 24px 24px 24px;
|
||||
}
|
||||
#cava.right {
|
||||
border-radius: 10px 24px 10px 24px;
|
||||
}
|
||||
#workspaces {
|
||||
background: #11111b;
|
||||
margin: 5px 5px;
|
||||
padding: 8px 5px;
|
||||
border-radius: 16px;
|
||||
color: #cba6f7
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: transparent;
|
||||
background: rgba(17,17,27,1);
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: #89b4fa;
|
||||
color: #11111B;
|
||||
border-radius: 16px;
|
||||
min-width: 50px;
|
||||
background-size: 400% 400%;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background-color: #f5f5f5;
|
||||
color: #11111B;
|
||||
border-radius: 16px;
|
||||
min-width: 50px;
|
||||
background-size: 400% 400%;
|
||||
}
|
||||
|
||||
#tray, #pulseaudio, #network, #battery,
|
||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward{
|
||||
background: #010101;
|
||||
font-weight: bold;
|
||||
margin: 5px 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
#tray, #pulseaudio, #network, #battery{
|
||||
color: #f5f5f5;
|
||||
border-radius: 24px 24px 24px 24px;
|
||||
padding: 0 20px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
#clock {
|
||||
color: #f5f5f5;
|
||||
background: #010101;
|
||||
border-radius: 0px 0px 0px 40px;
|
||||
padding: 10px 10px 15px 25px;
|
||||
margin-left: 7px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
}
|
||||
#custom-launcher {
|
||||
color: #89b4fa;
|
||||
background: #010101;
|
||||
border-radius: 0px 0px 40px 0px;
|
||||
margin: 0px;
|
||||
padding: 0px 35px 0px 15px;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward {
|
||||
background: #010101;
|
||||
font-size: 22px;
|
||||
}
|
||||
#custom-playerctl.backward:hover, #custom-playerctl.play:hover, #custom-playerctl.foward:hover{
|
||||
color: #f5f5f5;
|
||||
}
|
||||
#custom-playerctl.backward {
|
||||
color: #cba6f7;
|
||||
border-radius: 24px 0px 0px 24px;
|
||||
padding-left: 16px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
#custom-playerctl.play {
|
||||
color: #89b4fa;
|
||||
padding: 0 5px;
|
||||
}
|
||||
#custom-playerctl.foward {
|
||||
color: #cba6f7;
|
||||
border-radius: 0px 24px 24px 0px;
|
||||
padding-right: 12px;
|
||||
margin-right: 7px
|
||||
}
|
||||
#custom-playerlabel {
|
||||
background: #010101;
|
||||
color: #f5f5f5;
|
||||
padding: 0 20px;
|
||||
border-radius: 24px 24px 24px 24px;
|
||||
margin: 5px 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
#window{
|
||||
/*background: #25253a; */
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
border-radius: 16px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
opacity: 0.1;
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
{config, pkgs, ... }:
|
||||
{
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
xwayland = true;
|
||||
package = pkgs.swayfx-unwrapped;
|
||||
wrapperFeatures.gtk = true;
|
||||
checkConfig = false;
|
||||
extraSessionCommands = ''
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
'';
|
||||
|
||||
config = rec {
|
||||
modifier = "Mod4";
|
||||
terminal = "alacritty";
|
||||
menu = "${pkgs.rofi}/bin/rofi -show run -c .config/rofi/config.rasi";
|
||||
startup = [
|
||||
{command = "swaybg -i $HOME/.wp/soyuz.png";}
|
||||
];
|
||||
bars = [{ command = "waybar"; }];
|
||||
gaps = {
|
||||
outer = 5;
|
||||
inner = 10;
|
||||
};
|
||||
|
||||
window = {
|
||||
border = 0;
|
||||
};
|
||||
|
||||
keybindings = {
|
||||
# IMPORTANT STUFF #
|
||||
"${modifier}+Return" = "exec ${terminal}";
|
||||
"${modifier}+space" = "exec ${menu}";
|
||||
"${modifier}+Q" = "kill";
|
||||
"${modifier}+Shift+R" = "reload";
|
||||
"${modifier}+Shift+S" = "${pkgs.grim}/bin/grim -g '$(${pkgs.slurp}/bin/slurp)'";
|
||||
# WINDOW STUFF #
|
||||
"${modifier}+Shift+space" = "floating toggle";
|
||||
"${modifier}+Shift+F" = "fullscreen toggle";
|
||||
"${modifier}+Left" = "focus left";
|
||||
"${modifier}+Down" = "focus down";
|
||||
"${modifier}+Up" = "focus up";
|
||||
"${modifier}+Right" = "focus right";
|
||||
|
||||
"${modifier}+Ctrl+Right" = "resize shrink width 3 px or 3 ppt";
|
||||
"${modifier}+Ctrl+Down" = "resize grow height 3 px or 3 ppt";
|
||||
"${modifier}+Ctrl+Up" = "resize shrink height 3 px or 3 ppt";
|
||||
"${modifier}+Ctrl+Left" = "resize grow width 3 px or 3 ppt";
|
||||
|
||||
"${modifier}+Shift+Left" = "move left";
|
||||
"${modifier}+Shift+Down" = "move down";
|
||||
"${modifier}+Shift+Up" = "move up";
|
||||
"${modifier}+Shift+Right" = "move right";
|
||||
|
||||
# WORKSPACES #
|
||||
"${modifier}+1" = "workspace number 1";
|
||||
"${modifier}+2" = "workspace number 2";
|
||||
"${modifier}+3" = "workspace number 3";
|
||||
"${modifier}+4" = "workspace number 4";
|
||||
"${modifier}+5" = "workspace number 5";
|
||||
"${modifier}+6" = "workspace number 6";
|
||||
"${modifier}+7" = "workspace number 7";
|
||||
"${modifier}+8" = "workspace number 8";
|
||||
"${modifier}+9" = "workspace number 9";
|
||||
|
||||
# MOVE WINDOW TO OTHER WS #
|
||||
"${modifier}+Shift+1" = "move container to workspace number 1";
|
||||
"${modifier}+Shift+2" = "move container to workspace number 2";
|
||||
"${modifier}+Shift+3" = "move container to workspace number 3";
|
||||
"${modifier}+Shift+4" = "move container to workspace number 4";
|
||||
"${modifier}+Shift+5" = "move container to workspace number 5";
|
||||
"${modifier}+Shift+6" = "move container to workspace number 6";
|
||||
"${modifier}+Shift+7" = "move container to workspace number 7";
|
||||
"${modifier}+Shift+8" = "move container to workspace number 8";
|
||||
"${modifier}+Shift+9" = "move container to workspace number 9";
|
||||
|
||||
# Audio
|
||||
"XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +10%";
|
||||
"XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -10%";
|
||||
"XF86AudioMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-volume toggle-mute";
|
||||
"XF86AudioStop" = "exec ${pkgs.playerctl}/bin/playerctl stop";
|
||||
"XF86AudioPrev" = "exec ${pkgs.playerctl}/bin/playerctl previous";
|
||||
"XF86AudioNext" = "exec ${pkgs.playerctl}/bin/playerctl next";
|
||||
"XF86AudioPlay" = "exec ${pkgs.playerctl}/bin/playerctl play-pause";
|
||||
|
||||
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 15%-";
|
||||
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +15%";
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
shadows enable
|
||||
corner_radius 12
|
||||
blur_radius 7
|
||||
blur_passes 4
|
||||
default_dim_inactive 0.2
|
||||
|
||||
for_window [app_id="wezterm"] blur enable
|
||||
for_window [app_id="code"] blur enable
|
||||
for_window [app_id="rofi"] blur enable
|
||||
|
||||
default_border pixel 0px
|
||||
default_floating_border none
|
||||
titlebar_border_thickness 0
|
||||
'';
|
||||
};
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
tmux = {
|
||||
enable = true;
|
||||
plugins = with pkgs; [
|
||||
tmuxPlugins.net-speed
|
||||
tmuxPlugins.cpu
|
||||
tmuxPlugins.battery
|
||||
tmuxPlugins.gruvbox
|
||||
];
|
||||
disableConfirmationPrompt = true;
|
||||
mouse = true;
|
||||
keyMode = "vi";
|
||||
extraConfig = ''
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
bind \\ split-window -h
|
||||
bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind t new-window
|
||||
bind -n M-w previous-window
|
||||
bind -n M-e next-window
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
|
||||
#setw -g window-status-current-format "[ #W ]"
|
||||
#setw -g window-status-format "#W"
|
||||
|
||||
set-option -s status-interval 1
|
||||
set -g status-right-length 100
|
||||
set -g @net_speed_interfaces "wg0-mullvad"
|
||||
set -g @download_speed_format "%1s"
|
||||
set -g @upload_speed_format "%1s"
|
||||
set -g @net_speed_format "D:%1s U:%1s"
|
||||
|
||||
set -g status-right '#{battery_icon} #{battery_percentage} [ #{net_speed}] [ #{cpu_percentage}] [ %H:%M] '
|
||||
|
||||
run-shell ${pkgs.tmuxPlugins.net-speed}/share/tmux-plugins/net-speed/net_speed.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
|
||||
run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/battery/battery.tmux
|
||||
|
||||
set -g status-position top
|
||||
#set-option -g status-style bg=default
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Before Width: | Height: | Size: 534 KiB |
Before Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 181 KiB |
Before Width: | Height: | Size: 754 KiB |
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 964 KiB |
Before Width: | Height: | Size: 6.2 MiB |
Before Width: | Height: | Size: 19 MiB |
Before Width: | Height: | Size: 410 KiB |