Compare commits

...

6 commits

Author SHA1 Message Date
Anish Lakhwara 348d39a928 Merge branch 'main' of git.sealight.xyz:aynish/helm 2023-08-16 23:37:10 -07:00
Anish Lakhwara 1f52b21cd2 nvim: change sumneko to lua_ls 2023-08-16 23:36:51 -07:00
Anish Lakhwara a6ca28c3f3 lituus: add mautrix-signal with necessary dependencies 2023-08-16 23:36:27 -07:00
Anish Lakhwara 0ad0b9f296 lituus: disable mjolnir (it's broken) 2023-08-16 23:36:09 -07:00
Anish Lakhwara fd4b357537 curve: fix fonts on rofi menus 2023-08-16 23:35:52 -07:00
Anish Lakhwara 7e2f8c52c5 curve: add ssh agent forwarding 2023-08-16 09:59:43 -07:00
9 changed files with 49 additions and 32 deletions

View file

@ -7,5 +7,6 @@
../profiles/email ../profiles/email
../profiles/cal ../profiles/cal
../profiles/sync/kitaab ../profiles/sync/kitaab
../profiles/ssh
]; ];
} }

View file

@ -5,9 +5,9 @@ rofi_command="rofi -theme theme/powermenu.rasi"
### Options ### ### Options ###
power_off="\tShutdown" power_off="\tShutdown"
reboot="\tReboot" reboot="\tReboot"
lock="\tLock" lock="\tLock"
suspend="\tSleep" suspend="󰤄\tSleep"
log_out="\tLogout" log_out="󰍃\tLogout"
# Variable passed to rofi # Variable passed to rofi
options="$power_off\n$reboot\n$lock\n$suspend\n$log_out" options="$power_off\n$reboot\n$lock\n$suspend\n$log_out"
@ -18,14 +18,14 @@ case "$(echo -e "$options" | $rofi_command -dmenu)" in
" Reboot") " Reboot")
systemctl reboot systemctl reboot
;; ;;
" Lock") " Lock")
dm-tool lock dm-tool lock
;; ;;
" Sleep") "󰤄 Sleep")
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
systemctl suspend systemctl suspend
;; ;;
" Logout") "󰍃 Logout")
bspc quit bspc quit
;; ;;
esac esac

View file

@ -3,11 +3,11 @@
timer=5 timer=5
# Options # Options
select="" select="󰩭 "
window="" window=" "
screen="" screen=""
delay="" delay="󱑃 "
cancel="" cancel="󰜺 "
# Variable passed to rofi # Variable passed to rofi
options="$select\n$window\n$screen\n$delay\n$cancel" options="$select\n$window\n$screen\n$delay\n$cancel"

View file

@ -55,10 +55,11 @@ padding-left = 0
module-margin = 0 module-margin = 0
margin-bottom = 34 margin-bottom = 34
font-0 = "Iosevka Nerd Font,Iosevka NF:pixelsize=12;4" font-0 = "Iosevka Nerd Font,Iosevka NF:pixelsize=10;1" ; Icon Size
font-1 = "Iosevka Nerd Font,Iosevka NF:pixelsize=6;1" font-1 = "Iosevka Nerd Font,Iosevka NF:pixelsize=12;4" ; Large Text font
font-2 = "FiraCode Nerd Font:pixelsize=12;2" font-2 = "FiraCode Nerd Font:pixelsize=12;2"
font-3 = "Siji:pixelsize=8;2" font-3 = "Siji:pixelsize=10;2"
font-4 = "Iosevka Nerd Font,Iosevka NF:pixelsize=8;1" ; Small Icon Size
; Add module mpd for artist - title info ; Add module mpd for artist - title info
modules-left = bspwm sps volume modules-left = bspwm sps volume
@ -113,11 +114,11 @@ type = internal/bspwm
pin-workspaces = true pin-workspaces = true
enable-click = true enable-click = true
ws-icon-0 = 1;%{T1} %{T-} ws-icon-0 = 1;%{T2} %{T-}
ws-icon-1 = 2;%{T1} %{T-} ws-icon-1 = 2;%{T2} %{T-}
ws-icon-2 = 3;%{T1}󰵅 %{T-} ws-icon-2 = 3;%{T2}󰺻 %{T-}
ws-icon-3 = 4;%{T1} %{T-} ws-icon-3 = 4;%{T2} %{T-}
ws-icon-4 = 5;%{T1} %{T-} ws-icon-4 = 5;%{T2} %{T-}
ws-icon-default =  ws-icon-default = 
; fuzzy-match = true ; fuzzy-match = true
@ -154,14 +155,14 @@ interval = 1.0
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...} ; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %{T1} %{T-}%{T2} %d/%a%{T-} date = %{T2} %{T-}%{T1} %d/%a%{T-}
; Optional time format ; Optional time format
time = %{T2} %H:%M%{T-} time = %{T2} %H:%M%{T-}
; if `date-alt` or `time-alt` is defined, clicking ; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats ; the module will toggle between formats
date-alt = %{T1} %{T-} %{T2} %a, %d %b %y%{T-} date-alt = %{T2} %{T-} %{T1} %a, %d %b %y%{T-}
time-alt = %{T2} %H:%M:%S%{T-} time-alt = %{T2} %H:%M:%S%{T-}
label = %date%%time% label = %date%%time%
@ -177,6 +178,7 @@ label-connected-font = 2
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
label-connected-foreground = #82b414 label-connected-foreground = #82b414
format-disconnected = <label-disconnected> format-disconnected = <label-disconnected>
label-disconnected = "󰖪" label-disconnected = "󰖪"
label-disconnected-foreground = #f92672 label-disconnected-foreground = #f92672
@ -196,7 +198,7 @@ type = internal/cpu
; Default: 1 ; Default: 1
interval = 0.5 interval = 0.5
label = %{T1} %{T-}%{T2} %percentage:2%%%{T-} label = %{T2} %{T-}%{T1} %percentage:2%%%{T-}
label-foreground = ${colors.cyan} label-foreground = ${colors.cyan}
@ -226,7 +228,7 @@ format = <label>
; %gb_swap_free% ; %gb_swap_free%
; %gb_swap_used% ; %gb_swap_used%
label = %{T1}󰍛 %{T-}%{T2} %gb_used%%{T-} label = %{T2}󰍛 %{T-}%{T1} %gb_used%%{T-}
label-foreground = ${colors.cyan} label-foreground = ${colors.cyan}
@ -297,13 +299,13 @@ label-muted-foreground = ${colors.mauve}
bar-volume-width = 8 bar-volume-width = 8
bar-volume-gradient = false bar-volume-gradient = false
bar-volume-indicator = | bar-volume-indicator = |
bar-volume-indicator-font = 2 bar-volume-indicator-font = 6
bar-volume-indicator-foreground = ${colors.mauve} bar-volume-indicator-foreground = ${colors.mauve}
bar-volume-fill = ─ bar-volume-fill = ─
bar-volume-fill-font = 2 bar-volume-fill-font = 6
bar-volume-fill-foreground = ${colors.mauve} bar-volume-fill-foreground = ${colors.mauve}
bar-volume-empty = ─ bar-volume-empty = ─
bar-volume-empty-font = 2 bar-volume-empty-font = 6
bar-volume-empty-foreground = ${colors.fg-alt} bar-volume-empty-foreground = ${colors.fg-alt}
ramp-volume-0 = "  " ramp-volume-0 = "  "

View file

@ -2,7 +2,7 @@
@import "config.rasi" @import "config.rasi"
textbox-icon { textbox-icon {
str: " "; str: "󱎂 ";
} }
prompt { prompt {

View file

@ -635,7 +635,7 @@ in
} }
} }
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'sumneko_lua'} local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls'}
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig[lsp].setup { lspconfig[lsp].setup {
on_attach = function(client, bufnr) on_attach = function(client, bufnr)
@ -877,7 +877,7 @@ in
statix statix
nodePackages.typescript nodePackages.typescript
nodePackages.typescript-language-server nodePackages.typescript-language-server
sumneko-lua-language-server luajitPackages.lua-lsp
fennel-ls fennel-ls
]; ];

View file

@ -0,0 +1,10 @@
{
home.file.".ssh/config".text = ''
Host mossnet.lan
ForwardAgent Yes
Host sealight.xyz
ForwardAgent Yes
Host git.sealight.xyz
ForwardAgent Yes
'';
}

View file

@ -1,9 +1,9 @@
{ self, pkgs, lib, config, ... }: { self, pkgs, lib, config, ... }:
{ {
age.secrets.sealight-mod-password.file = "${self}/secrets/sealight-mod-password.age"; # age.secrets.sealight-mod-password.file = "${self}/secrets/sealight-mod-password.age";
age.secrets.sealight-mod-password.owner = "mjolnir"; # age.secrets.sealight-mod-password.owner = "mjolnir";
services.mjolnir = { services.mjolnir = {
enable = true; enable = false;
protectedRooms = [ protectedRooms = [
"https://matrix.to/#/#public:sealight.xyz" "https://matrix.to/#/#public:sealight.xyz"
"https://matrix.to/#/#theFeed:sealight.xyz" "https://matrix.to/#/#theFeed:sealight.xyz"

View file

@ -10,6 +10,10 @@
calibre-web = prev.calibre-web.overrideAttrs (prevAttrs: rec { calibre-web = prev.calibre-web.overrideAttrs (prevAttrs: rec {
propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff
}); });
mautrix-signal = prev.mautrix-signal.overrideAttrs (prevAttrs: rec {
buildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.aiosqlite ]; # We're using sqlite and upstream doesn't package this dependency
});
# Need to do server and agent too, maybe # Need to do server and agent too, maybe
# woodpecker-cli-next = # woodpecker-cli-next =
# let # let