Compare commits

...
Sign in to create a new pull request.

1333 commits
nix ... main

Author SHA1 Message Date
c519728530
Add localtime volume to Caddy 2025-06-07 23:51:44 -05:00
cdd232ab9e
Nvim: remove copilot 2025-06-07 23:51:34 -05:00
ac06fd90f5
Change searxng hostname in preparation of load balancer 2025-06-07 23:40:03 -05:00
246c755eac
Add evendim ssh conf 2025-06-07 23:20:29 -05:00
c0a307ef19
Fix root profile name casing 2025-06-07 21:41:19 -05:00
13d32f0da2
Add root configs for new server 2025-06-07 21:40:19 -05:00
b040d847f8
Add profile for Evendim 2025-06-07 21:34:55 -05:00
661c03efda
Add DISABLED markers for docker stacks to git 2025-06-07 18:12:32 -05:00
fe65265dff
Docker: fix time zones 2025-06-07 18:04:40 -05:00
1e1f1299d1
Add wud 2025-06-07 17:55:53 -05:00
168db20ffb
Change authentik name in Forgejo 2025-06-07 17:35:08 -05:00
e87bdf60a3
Forgejo runner: fix docker socket mount 2025-06-07 17:34:57 -05:00
9f2ed13fc9
Remove old Caddyfile 2025-06-07 17:06:51 -05:00
bc186e343d
Update forgejo runner 2025-06-07 01:11:25 -05:00
dac15275f4 Implement cloudflare tunnel 2025-06-07 00:20:49 -05:00
11b5a0347b Nvim: pin mason to older version
Have to figure out migrating the config later
2025-05-14 16:42:50 -05:00
460edb3593 ZSH: fix fzf initialization 2025-05-14 16:42:35 -05:00
7f07fb2d2b Nvim: remove java snippets, add javascript snippets 2025-05-14 16:41:50 -05:00
d6f271a09a Update some setting for new laptop 2025-04-30 16:20:59 -05:00
9e251961c9 Convert server to LAN only mode 2025-04-07 15:28:38 -05:00
d95766012d Remove obsolete files 2025-04-07 15:28:10 -05:00
3d99beff23 Home automation: Remove disabled services 2025-03-28 21:40:56 -05:00
2b647d527e Remove korhonen.social 2025-03-28 21:38:16 -05:00
e59444ae77 Add lappeenranta to gnome world clocks 2025-03-27 16:23:54 -05:00
81a21984d8 Change fonts to new Gnome fonts 2025-03-27 16:20:12 -05:00
a5336bac61 Add fontconfig to VentoyArch 2025-03-27 16:20:01 -05:00
9fe7f5895b Add VentoyArch 2025-03-27 16:14:54 -05:00
b78814d8a7 Update Shire configs after new Arch install 2025-03-27 14:48:43 -05:00
4c574a746d Update neovim plugins 2025-03-27 14:21:49 -05:00
ce475402bc Nvim: add json schema store
Allows automatically fetching schemas in json files without specifying
schema
2025-03-20 23:34:54 -05:00
a7d3c0a6ee Update nvim plugins 2025-03-20 23:34:42 -05:00
3aa4f18abf Fix hibernate resume 2025-02-13 12:19:36 -06:00
2dd4ec52b9 Remove unused scripts 2025-02-13 12:18:30 -06:00
aea4e45d2a Update neovim plugins 2025-02-10 16:13:53 -06:00
939be9f2f7 Fix shire hibernate 2025-02-10 16:09:02 -06:00
fe6564102e Update ntp settings 2025-02-10 16:08:34 -06:00
f715f906ff Update nvim plugins 2025-01-29 14:34:34 -06:00
e8dc63509a Update mirkwood resume offset 2025-01-29 14:22:47 -06:00
4c912987f8 Update mirkwood root UUID 2025-01-29 14:17:44 -06:00
c311737265 Paru: fetch pgp 2025-01-29 14:17:32 -06:00
55db339b67 Update nvim plugins 2025-01-29 14:17:16 -06:00
7987e3a48e Update neovim plugins 2024-12-30 09:07:22 +02:00
195c4651a3 Update nvim plugins 2024-12-02 16:14:30 +02:00
e66af1d7ce Git: Add dno alias 2024-12-02 16:14:15 +02:00
393ceb36a9 Format docker compose files 2024-11-04 10:29:08 +02:00
037967efd7 Convert compose files to yaml
toml conversion stopped working, don't want to fix it
2024-11-04 10:27:34 +02:00
9014f87dfd Fix ssh host names 2024-10-31 10:11:01 +02:00
e4c77d22d8 Update nvim plugins 2024-10-25 09:02:03 +03:00
c809231c67 Update comment 2024-10-25 09:01:54 +03:00
04fce77606 Neovim: Fix GBrowse keybind in visual mode 2024-10-17 10:24:12 +03:00
9c92e2305b Neovim: add more git keybinds 2024-10-17 10:04:51 +03:00
4f49666198 Disable thefuck alias 2024-10-17 09:29:51 +03:00
95ebca0aca Update neovim plugins 2024-10-17 09:29:49 +03:00
79046dbd5a Update forgejo runner 2024-10-07 11:38:07 +03:00
40c18bbdb9 Nvim: add nix tools 2024-09-19 10:37:00 +03:00
0c2d089da2 Update neovim plugins 2024-09-19 10:31:00 +03:00
f137e5e872 Restore dotdrop template on git config 2024-09-19 10:30:01 +03:00
1db002a9cb Nvim: add keybind for alternate file 2024-08-20 15:29:28 +03:00
f1b28a9b2d Update README 2024-08-20 15:15:23 +03:00
267e7c36d5 Neovim: update plugins 2024-08-20 12:40:38 +03:00
e5f677793d Neovim: add open project to dashboard 2024-08-20 12:40:33 +03:00
436526ffb9 Add git aliases 2024-08-15 09:11:45 +03:00
da9cd3f89a Nvim: some code prettifying 2024-08-08 11:47:17 +03:00
0d75a24278 Nvim: make cmp bordered, fix keymap 2024-08-08 11:47:00 +03:00
316dfa5137 Nvim: update plugins 2024-08-08 11:46:34 +03:00
1dc452b66d Nvim: add gitea plugin for fugitive 2024-08-08 11:45:57 +03:00
96a51205d3 Nvim: Update mason lockfile 2024-07-25 13:43:30 +03:00
4ec9a9ada6 ZSH: Don't update nvim lockfiles in update script 2024-07-25 13:40:20 +03:00
b8b3c2106b Neovim: lazy load telescope 2024-07-25 13:36:52 +03:00
8d2b06f27b Neovim: update plugins 2024-07-25 10:25:49 +03:00
caf00593bf Neovim: use flex layout for telescope 2024-07-25 10:25:06 +03:00
6006c9b81f Neovim: include extensions in telescope
Also refactored the keybinds to use functions instead of strings
2024-07-25 10:17:33 +03:00
d9b1dbf512 Neovim: Fix showing filetype etc in lualine_x, don't show mode there 2024-07-24 15:55:36 +03:00
7f1e3dcd34 Neovim: add macro notification to statusline 2024-07-23 14:41:08 +03:00
e4c0bed1a8 Update neovim plugins 2024-07-23 14:40:59 +03:00
fa99efa077 Neovim: fix gitsigns keybind 2024-07-23 14:40:45 +03:00
c530a0d099 Neovim: add keybinds for gitsigns 2024-07-18 11:34:11 +03:00
812423a3cd Update neovim plugins 2024-07-18 11:34:00 +03:00
ac19a47faf Fix jellyfin card 2024-07-17 09:13:17 +03:00
e34a84810a Update runner 2024-07-17 09:13:05 +03:00
f71985d621 Update nvim plugins 2024-07-16 09:33:39 +03:00
44345df4a9 Neovim: update which-key configuration to v3 2024-07-13 15:49:55 +03:00
165c1ee9ca Update neovim plugins 2024-07-13 14:11:04 +03:00
762e504a89 Remove unneeded kernel parameters from Mirkwood 2024-07-06 14:03:24 +03:00
b3ac1d5852 Add unl0kr for Shire, fix freezing problem 2024-07-06 14:00:39 +03:00
45373b57fa Update neovim plugins 2024-07-04 16:45:06 +03:00
930321bd3e Nvim: add keybind to close other buffers 2024-07-03 14:06:10 +03:00
29fc562c12 Nvim: use cond instead of enabled to disable confirm-quit 2024-07-03 09:23:43 +03:00
48910eb2c6 Update neovim plugins 2024-07-03 09:16:39 +03:00
b712091b1b ZSH: package remove alias: use local database for package info 2024-07-03 09:15:06 +03:00
f8329b1b78 Neovim: add extra parameter for java snippet 2024-07-03 09:13:01 +03:00
ff5fd33f7b Update nvim plugins 2024-07-01 09:14:42 +03:00
4d451a1007 Makepkg: use default flags 2024-06-30 10:56:50 +03:00
14920550cd fix shire cmdline 2024-06-29 13:43:24 +03:00
6409e97788 Switch away from cachyos repositories and build packages for non-native targets
This is because shire doesn't support newer x86 instruction sets
2024-06-29 12:29:42 +03:00
ec7f932e39 Update neovim plugins 2024-06-26 11:34:19 +03:00
08559475cf NeoVim: lualine: show selectioncount in visual mode 2024-06-26 11:34:00 +03:00
765cb0ce2b Fix pairdrop ipv6 2024-06-25 09:01:52 +03:00
32a7a42218 Neovim: Switch project plugin 2024-06-24 17:00:29 +03:00
b6af136f0b Fix luasnip error 2024-06-24 17:00:16 +03:00
e82459e2f8 Remove tmux 2024-06-24 14:25:27 +03:00
dc62164e19 Update neovim plugins 2024-06-24 11:13:59 +03:00
dc52aa3852 Add netbootxyz 2024-06-24 11:13:33 +03:00
53c84a3200 Add new computer, Shire (tablet) 2024-06-20 22:02:05 +03:00
65203b480b OpenTogetherTube: add configuration and fix redis container name 2024-06-18 18:24:56 +03:00
8de560c410 Add OpenTogetherTube 2024-06-18 17:56:59 +03:00
46cfc9deb1 Caddy: combine common site settings 2024-06-18 17:01:15 +03:00
a14104a3b9 Add umami analytics for index.korhonen.cc 2024-06-05 00:19:53 +03:00
fad25a8127 Update neovim plugins 2024-06-04 10:48:13 +03:00
4275c7705e Caddy: Remove old redirect for umami script 2024-05-27 22:05:38 +03:00
5f586411bc Update neovim plugins 2024-05-27 11:51:59 +03:00
52e3e5f37d Backup container: add restart policy 2024-05-26 13:21:38 +03:00
15c03997e0 Remove unneeded entry from authorized_keys 2024-05-26 13:20:48 +03:00
2c550dae67 Fix broken dotdrop install on termux 2024-05-25 18:38:43 +03:00
b52287e25a Update neovim plugins 2024-05-21 17:11:44 +03:00
e4b8977f6b Add neovide fork setting 2024-05-20 10:02:02 +03:00
aadfb243a0 Update neovim plugins 2024-05-20 09:31:58 +03:00
c195635235 Fix forgejo internal ssh port 2024-05-18 20:00:53 +03:00
8920dd7657 Change forgejo SSH port
New ISP seems to be blocking 22
2024-05-18 19:50:59 +03:00
66748571b8 Update neovim plugins 2024-05-16 09:05:16 +03:00
aaa9cc67b9 Add ipv6 and ipv4 test sites 2024-05-15 17:58:42 +03:00
8e1723e3e1 Add rivendell ssh host 2024-05-15 17:25:09 +03:00
39d9a34378 Fix GPU number again 2024-05-14 15:19:09 +03:00
9809d5cd32 Update neovim plugins 2024-05-13 10:45:07 +03:00
123104740e Jellyfin: fix card path 2024-05-12 22:13:17 +03:00
0c8284badc Add beleriand and esgaroth to ssh config 2024-05-12 21:55:02 +03:00
483cca5359 Caddy: improve error handling and start working on language redirect for homepage 2024-05-12 16:31:44 +03:00
3ba31fa6e7 Revert "Change order of zsh config"
This reverts commit 8963a40485.
2024-05-12 12:54:38 +03:00
f74ec7c4c4 Caddy: add NET_ADMIN as suggested in the documentation 2024-05-12 10:06:10 +03:00
5e6e8d5f54 Change caddy image 2024-05-12 10:05:44 +03:00
8963a40485 Change order of zsh config 2024-05-11 17:19:16 +03:00
3e698a0edf Update license
Converted to AsciiDoc
2024-05-10 21:28:53 +03:00
9165c47750 Update nvim plugins 2024-05-10 21:27:20 +03:00
598ed7b7b3 Update neovim plugins 2024-05-08 09:03:22 +03:00
659f4337c7 Firefish: add restart policy 2024-05-06 10:00:20 +03:00
4de757b465 Update neovim plugins 2024-05-06 09:59:44 +03:00
227624d097 Update forgejo runner 2024-04-30 12:46:19 +03:00
a4db9345c9 Update nvim plugins 2024-04-24 10:48:26 +03:00
6ff6de2dc4 Update nvim plugins 2024-04-21 19:41:55 +03:00
669365befd Fix jellyfin volume 2024-04-21 10:25:01 +03:00
152e05db11 Fix QR alias 2024-04-20 10:43:09 +03:00
3a059aff2f Update neovim plugins 2024-04-15 10:57:05 +03:00
b86c9ba8d0 Automatically redirect nextcloud login page to authentik 2024-04-04 19:39:02 +03:00
989fe4b507 Redirect forgejo login page to authentik 2024-04-01 16:30:51 +03:00
9e83832681 Update neovim plugins 2024-04-01 16:30:36 +03:00
9fd6ff013e Fix firefish 2024-04-01 15:28:01 +03:00
9e14c21524 Fix jellyfin gpu 2024-04-01 15:28:00 +03:00
d74947de33 Nvim: Redesign alpha dashboard 2024-03-19 21:49:21 +02:00
046fb6f7e8 Nvim: enable nvim-dap plugin for neodev 2024-03-19 21:19:31 +02:00
3b486b15d9 Nvim: add new dep for dapui, update plugins 2024-03-19 21:14:20 +02:00
03b262f714 Nvim: add packages to mason-lock 2024-03-17 11:02:57 +02:00
96cfeadd7d Remove unused config 2024-03-17 10:58:30 +02:00
e987265041 Nvim: update ufo config 2024-03-17 10:56:58 +02:00
6da6d02aa1 Home Assistant: add voice assist 2024-03-17 10:49:56 +02:00
a31b8a77b1 Nvim: update plugins 2024-03-17 10:49:28 +02:00
b682fe72aa Add cachyos repos and kernel 2024-03-17 10:49:08 +02:00
0102e10ef3 Remove unused dotfiles from config 2024-03-17 10:06:59 +02:00
90053ea7a4 nvim: update instead of restore 2024-03-17 09:54:32 +02:00
7ba056c462 nvim: read lockfiles directly from dotfile repo 2024-03-17 09:53:38 +02:00
f7fb8685dd nvim: add MasonUpdateAll and lockfile 2024-03-17 09:47:21 +02:00
ec9d9e373b Update neovim plugins 2024-03-08 16:19:33 +02:00
ae2bfbbe31 Nvim: Ignore unused import in tsserver 2024-03-08 16:13:18 +02:00
4ac7546202 Nvim: update tab settings 2024-03-08 16:13:15 +02:00
40a8b3b9f1 Add new locales 2024-03-06 17:36:08 +02:00
bcfc37b2db Migrate to new mkinitcpio microcode setting 2024-03-06 17:33:08 +02:00
5339a3f7ba Remove dotdrop completion 2024-03-06 17:28:44 +02:00
8d2612203f Use locally installed dotdrop instead of submodule 2024-03-03 09:53:37 +02:00
4f2f794072 Only launch zellij in SSH 2024-03-03 09:52:53 +02:00
fc27e459a2 Add adb service to moria 2024-03-01 17:33:33 +02:00
61b2e7aff2 Update nvim plugins 2024-03-01 16:00:21 +02:00
443da724f6 Nvim: Improve luasnip keymappings 2024-02-28 09:04:56 +02:00
5775a8a3ba Add custom snippets to LuaSnip 2024-02-26 18:26:59 +02:00
032a7614ee Update neovim plugins 2024-02-26 18:26:49 +02:00
f47ae0ddee Zellij disable session serialization 2024-02-26 14:35:51 +02:00
d76a6d292b Add docker volume backup service 2024-02-25 13:18:37 +02:00
6c86c4a87e Use bind mount for arch repo. Couldn't find another way past permission issues 2024-02-25 12:57:44 +02:00
2b6a1b6faf Move runner configuration to git repo 2024-02-25 11:24:18 +02:00
68ac24e29f Migrate from woodpecker to Forgejo Actions 2024-02-24 14:29:55 +02:00
eae8a1dfe1 Docker: migrate repo, index and website to docker volumes 2024-02-24 01:03:40 +02:00
37366f5652 Docker: migrate from bind mounts to named volumes 2024-02-24 00:39:27 +02:00
8b39e5912b Clean up postgres compose 2024-02-23 20:17:30 +02:00
b7f54f8dc0 Nvim: Disable tsserver duplicate diagnostics with ESLint 2024-02-22 11:15:26 +02:00
3b7133a997 Nvim: fix jdtls runtime configuration 2024-02-22 11:15:11 +02:00
41d821d086 Update neovim plugins 2024-02-19 14:53:12 +02:00
91b071865a Add timesyncd configuration to mko-laptop 2024-02-16 09:55:03 +02:00
3795a49109 Nvim: add java 21 runtime, small config cleanup 2024-02-16 09:49:22 +02:00
2cf82bbec9 Add nextcloud coturn ports 2024-02-15 21:22:57 +02:00
c8e751a775 Fix firefish image 2024-02-15 21:22:37 +02:00
9e11157642 Fix forgejo address 2024-02-15 20:53:26 +02:00
abed8becf4 Fix ntp server address 2024-02-15 20:53:25 +02:00
f935e4583d Update nvim plugins 2024-02-05 13:04:10 +02:00
86e1cacead Nvim: install latest versions of plugins instead of stable
The stable versions were causing a lot of issues
2024-02-05 13:02:04 +02:00
06b5e11bb5 Kanagawa theme is already included in zellij 2024-02-04 10:56:03 +02:00
ea273128c6 Fix zellij SSH attach 2024-02-04 10:27:08 +02:00
7136b447f9 Switch from tmux to zellij
Also remapped some nvim and zsh keybinds to not conflict with zellij
2024-02-04 10:17:25 +02:00
df45dea143 Add kanagawa colors for foot 2024-02-03 19:37:08 +02:00
63abd4e9cd Nvim: downgrade telescope 2024-01-30 14:06:13 +02:00
1d34f21288 Fix typo 2024-01-30 13:55:54 +02:00
3000d8bbfb Neovi: update plugins and fix neoformat version 2024-01-30 13:36:36 +02:00
126b72166f Nvim: don't use lazy lockfile directly from repo 2024-01-30 13:25:15 +02:00
91e2671ddd Fix dotdrop alias 2024-01-30 13:22:32 +02:00
4e4975039f Nvim: fix jdtls keybinds initialization 2024-01-30 12:47:24 +02:00
48d0871aca Reformat ssh config 2024-01-30 12:47:13 +02:00
e4a20edda9 Nvim: Downgrade packages to 90ff510799
Neoformat stopped working
2024-01-30 12:46:50 +02:00
90ff510799 Add d_systemd to be installed on moria 2024-01-28 19:14:24 +02:00
9e23c13bc4 Add caching to caddy 2024-01-28 19:14:22 +02:00
4aabd574ff Add xdg-open alias 2024-01-28 19:13:35 +02:00
24ac9700ea Fix gpg agent forwarding 2024-01-28 19:13:34 +02:00
1cac49f5aa Nvim: update plugins and restructure plugin configs a bit 2024-01-26 16:47:55 +02:00
48f8b06521 Nvim: add ability to switch between dark and light theme 2024-01-25 15:30:12 +02:00
f85a6425d1 Shorten diffview alias 2024-01-25 08:36:38 +02:00
26bcca97ba Remove git mergetool and difftool, use zsh diffview alias instead
This is because as a git tool, it wants to open each file separately.
Neovim and diffview plugin provide a handy UI to manage multiple files
in diff and merge
2024-01-24 22:51:17 +02:00
5654fd6bee Neovim: use stable versions of plugins if available 2024-01-24 22:20:34 +02:00
8912fed29c WIP remote nvim 2024-01-24 13:52:46 +02:00
bb75584fa2 Nvim: add diffview plugin 2024-01-24 13:52:09 +02:00
6997121c4e Add nvim headless systemd user service 2024-01-24 10:06:34 +02:00
bbfd741c95 Update neovim plugins 2024-01-24 09:59:52 +02:00
c8ff860c42 Nvim: only enable dropbar if has nvim 0.10 2024-01-24 09:59:37 +02:00
4994c68d83 Nvim: only enable confirm quit plugin in neovide 2024-01-23 09:21:25 +02:00
3c7ff8b7fb Update dotdrop 2024-01-22 10:52:45 +02:00
d36fd68030 Revert "Update nvim plugins"
This reverts commit fb152b40c8.
Caused completion selection with tab not to work
2024-01-12 12:00:52 +02:00
bbf9d29e21 Nvim: run jdtls with java 21 2024-01-12 11:51:01 +02:00
fb152b40c8 Update nvim plugins 2024-01-12 11:41:13 +02:00
a39971efe0 Update dotdrop 2024-01-11 10:09:10 +02:00
ed0abc6dbe Change neovide scale factor on work laptop 2024-01-05 14:06:52 +02:00
24a65922dd Update nvim plugins 2024-01-05 14:06:45 +02:00
81dcb8771b Home assistant: add port for emulated hue bridge 2023-12-29 19:30:24 +02:00
e67dfedbe5 Migrate from misskey to firefish 2023-12-29 19:30:23 +02:00
f8f8687fb5 Update neovim plugins 2023-12-27 14:50:20 +02:00
4f63196ec0 Nvim: enable text objects for functions and classes 2023-12-27 10:02:55 +02:00
29c8f2dbd4 Nvim: fix jdtls plugin path
Now it is not version specific anymore
2023-12-18 15:41:04 +02:00
2c96ee40eb Update nvim plugins 2023-12-17 20:21:40 +02:00
d23c84d2f7 Nvim: make copilot lower in the completions list 2023-12-17 20:20:20 +02:00
a3c027d3f1 Nvim: enable java debugging for jdtls 2023-12-04 12:59:09 +02:00
2185575293 Update all: update dotfiles first, use lazy restore instead of sync 2023-12-04 10:14:51 +02:00
91339aacf1 Nvim: add back lazy lockfile, update plugins 2023-12-04 10:12:33 +02:00
0e86371aa6 Neovide: disable hide mouse 2023-12-01 13:12:51 +02:00
01289bfca1 Allow mpd control by default 2023-11-29 21:41:07 +02:00
2da1aaa423 Nvim: add dap configurations for Java/JavaScript/TypeScript 2023-11-29 21:41:07 +02:00
7c9c49a223 Rework beets config for git version
Removed deprecated plugins etc
2023-11-29 21:41:06 +02:00
e746ffb686 nvim-project: only show git folders 2023-11-28 15:28:20 +02:00
a1f02beaab Add nvim-dap-ui 2023-11-25 21:25:23 +02:00
aa9160047e Add README to neovim config 2023-11-25 17:08:33 +02:00
e2cc5c3094 Switch from dashboard to alpha, add project.nvim telescope plugin 2023-11-25 15:58:35 +02:00
6afe158c36 Remove comment 2023-11-25 15:01:50 +02:00
d2f19f1cff Nvim: fix dashboard projects not working after lazy loading telescope 2023-11-25 14:58:52 +02:00
efcdb566b8 Add type annotations to plugin specs 2023-11-25 14:37:36 +02:00
7bd4c6e93e Rename dap config 2023-11-25 14:17:43 +02:00
fac0494df8 Move plugin keymaps to lazy keys option 2023-11-25 14:13:26 +02:00
aedf897255 Move neodev to be mason's dependency
This resolves neodev sometimes not working
2023-11-25 13:53:48 +02:00
527ee2093f Nvim: Remap type definition 2023-11-25 13:45:57 +02:00
a88e6d2a8a Nvim: mason config cleanup 2023-11-25 13:32:42 +02:00
448a565752 Remove unused plugin 2023-11-25 13:31:24 +02:00
6d53b13851 Add LSP file operations plugin 2023-11-25 13:24:48 +02:00
abf58e5fbb Nvim-tree: disable netrw as recommended and rework keymap 2023-11-25 13:24:17 +02:00
81f95c7231 nvim-tree: follow opened files 2023-11-25 12:22:04 +02:00
c41260c675 Change neovide scale keybind to match terminal, CTRL+ and CTRL- 2023-11-24 21:52:58 +02:00
5a6cdb43d6 Nvim: add treesitter text objects 2023-11-23 20:15:16 +02:00
825b49ad06 Nvim: confirm quit 2023-11-22 16:18:01 +02:00
7b4f647d0a Don't install lazy-lock file 2023-11-22 08:20:38 +02:00
7f30c278c6 Nvim: add signcol plugin, change gitsigns keybinds 2023-11-21 22:32:32 +02:00
d89cc0c053 Refine neodev config 2023-11-21 22:31:07 +02:00
03ffc98988 Nvim: switch navic to dropbar 2023-11-21 22:30:13 +02:00
b5498c671d Nvim: add type annotations to plugin opts 2023-11-21 22:28:54 +02:00
26d0dae2fc Nvim: enable ufo 2023-11-21 07:52:05 +02:00
2a0d701746 Nvim: some docs to config, minor tweaks 2023-11-20 22:08:46 +02:00
6fbba8bf3d Nvim: small tweaks and organizing config 2023-11-20 21:16:06 +02:00
53a52fb737 Disable non-working beets plugins 2023-11-20 16:15:59 +02:00
f5e3385291 Nvim: jdtls disable autobuild 2023-11-20 15:20:25 +02:00
bbce000bcd Nvim: change telescope layout to vertical 2023-11-18 23:23:39 +02:00
5ef4529512 Add mini.files 2023-11-18 23:11:45 +02:00
36a9af78dc Switch from commentstring to mini.comment 2023-11-18 23:08:00 +02:00
0207ba1064 Change from vim-surround to mini.surround 2023-11-18 23:04:55 +02:00
2277d4d170 Nvim: small tweaks 2023-11-18 22:44:34 +02:00
43d1cf31d8 Add diagnostics to bufferline 2023-11-18 22:31:29 +02:00
0df316b4fb Fix lua_ls setup, add some documentation 2023-11-18 22:31:15 +02:00
ad580cc29f Nvim: fix some keybinds, organize code 2023-11-18 21:41:50 +02:00
b1461d75e0 Fix jdtls 2023-11-18 10:09:47 +02:00
e810234430 Make plugin specs more uniform 2023-11-18 02:54:35 +02:00
f44e0b3274 Refactor neovim config file structure
All plugins are now in their own files with their lazy specifications
and configurations. Also moved lazy initialization to init.lua because
it is very compact now
2023-11-18 02:27:14 +02:00
94244ca95c Fix bufferline theming 2023-11-18 00:21:28 +02:00
c6391d5557 Nvim: enable cursorline 2023-11-17 23:28:48 +02:00
69174838ad Nvim: limit some plugins to only load on specific filetypes 2023-11-17 22:03:39 +02:00
e18faebc50 Rename mason module to lsp, packages/init.lua to lazy.lua
Better describes their usage
2023-11-17 16:53:58 +02:00
e7829af03c Nvim: jdtl: use on_attach from mason module 2023-11-17 16:48:28 +02:00
0a9d36d111 Neovim: move navic to statusbar 2023-11-17 16:48:09 +02:00
8d2e52ec5e Update neovim plugins 2023-11-17 08:09:40 +02:00
8336ec5048 Tweak neovim config
- Add noice, navic
- Tweak theme configuration
- Tweak cder configuration
- Update .ignore file
2023-11-17 08:04:37 +02:00
aa1af14bfd Remove esphome 2023-11-16 09:44:52 +02:00
42c81d20dd Update neovim plugins 2023-11-16 09:44:07 +02:00
5326fe37b3 Remove unneeded comment character 2023-11-14 19:04:46 +02:00
b740475b58 Format config.toml with taplo 2023-11-14 18:03:48 +02:00
016f11b42d Move npmrc to terminal profile 2023-11-14 18:03:11 +02:00
690deb51c0 Configure npm global packages to path 2023-11-14 18:02:33 +02:00
39ff6b0eb6 Don't format lazy-lock.json 2023-11-11 15:17:00 +02:00
a13b7829ea Revert more termux stuff related to previous commit 2023-11-11 10:51:56 +02:00
ed43d0f48f Revert pacman on termux
Caused too many issues to solve, using apt instead
2023-11-11 10:40:27 +02:00
2bf1f47b2f Git: enable submodule check on push 2023-11-07 14:16:03 +02:00
48a1f9901f Git: enable automatic update of submodules 2023-11-07 14:07:52 +02:00
f387868de1 Nvim: remove xboot option from jdtls
This is not needed and causes options on recent java versions
2023-11-02 11:52:40 +02:00
858a3cd154 Nvim: small tweaks to jdtls arguments 2023-11-01 16:35:55 +02:00
5c65dd9cb9 Fix sudo not expanding aliases 2023-11-01 16:35:23 +02:00
8a7c780bf3 Nvim: enable lombok 2023-10-31 13:49:38 +02:00
4b6f9b19d9 Fix debian fzf zsh plugin 2023-10-30 23:09:55 +02:00
3a3869dd77 Add debian to zsh aliases 2023-10-30 23:03:13 +02:00
91eca4d282 Add root dotfiles to Tirion 2023-10-30 22:53:42 +02:00
718070963a Add tirion 2023-10-30 22:44:36 +02:00
88bb9f6412 Remove obsolete sway profile, add fonts.conf to Moria 2023-10-18 21:04:51 +03:00
be766e97bc Format fonts.conf 2023-10-18 21:01:19 +03:00
12535c2ae0 Update nextcloud on moria with update script 2023-10-18 09:16:26 +03:00
82e23cd6b2 Update dotdrop 2023-10-13 13:02:03 +03:00
557fba419b Nvim: fix markdown preview plugin update 2023-10-11 10:44:36 +03:00
bbb67058e7 Gnome: volume step 1 for media keys 2023-10-09 10:05:44 +03:00
67d4a408e2 Nvim: cmp: rank snippets higher 2023-10-09 09:13:32 +03:00
aef2e0a750 Nvim: fix luasnip keymappings 2023-10-04 13:17:43 +03:00
5d9708d535 Fix pairs with copilot 2023-10-04 11:04:29 +03:00
976b2d04fb Nvim: setup cmp for copilot 2023-10-04 11:01:08 +03:00
7d07bbfaa6 Update script: don't verify on arch 2023-10-04 10:29:05 +03:00
0997a179d4 Nvim: switch to copilot.lua 2023-10-04 10:27:17 +03:00
33258e3bf3 Update pip and cargo on ubuntu and termux 2023-10-03 10:40:06 +03:00
97bbcfd517 Nvim: use telescope for lsp definitions 2023-09-29 09:03:17 +03:00
b170d0182a Nvim: migrate indent-blankline to v3 2023-09-29 09:03:03 +03:00
68ca9c6ab6 Neovim: add copilot 2023-09-27 15:06:50 +03:00
9b4a1e1598 Neovim: add function to run java code 2023-09-27 10:16:46 +03:00
44b04cd35b Zsh: lazy load generator plugin 2023-09-27 10:16:35 +03:00
b8f62fd19b Update cargo packages on termux 2023-09-22 20:20:32 +03:00
67f4a173d9 Update pip packages on termux 2023-09-22 20:17:42 +03:00
488b3e5bf4 Nvim: add keybind to show document symbols 2023-09-22 09:37:58 +03:00
aa42d6ab39 Add zsh-completion-generator plugin 2023-09-21 15:39:25 +03:00
82eab3ff94 Nvim treesitter: add missing configuration parameters 2023-09-21 15:39:04 +03:00
8a924d17c5 Fix custom umami tracker script name 2023-09-20 21:07:52 +03:00
58736a27d4 Add correct header for wkd 2023-09-20 20:59:05 +03:00
dd2e8c1db2 Fix trusted proxy 2023-09-20 20:59:05 +03:00
72a86c007a Nvim: change telescope keybind
ctrl-t is used by default with tagstack
2023-09-20 16:52:06 +03:00
7330cf920b Nvim: add ufo fold plugin 2023-09-20 16:23:52 +03:00
7895e73ce6 Add mkcd alias 2023-09-20 16:23:27 +03:00
c255a9ea7f Nvim: use default path in telescope 2023-09-18 16:48:04 +03:00
949319f1a9 Nvim: use telescope pickers for more lsp stuff 2023-09-18 16:47:46 +03:00
78bff95587 Nvim: disable show line in telescope lsp_references 2023-09-18 13:01:41 +03:00
370ae38846 Nvim: turn on smart path for telescope 2023-09-18 12:54:49 +03:00
27e7e2458e Update dotdrop 2023-09-15 09:54:36 +03:00
4f3234d98a Update alias: return error if unknown option provided 2023-09-11 15:37:11 +03:00
ae5fd10a44 Add completions for ZSH update alias 2023-09-11 15:33:01 +03:00
be68ab02c1 Fix update dotfiles alias 2023-09-11 15:22:48 +03:00
a8eed9e985 Add update dotfiles alias 2023-09-11 15:19:57 +03:00
c06876a990 Fix repository URL in package.json 2023-09-11 15:19:15 +03:00
b1da4472cd Switch from exa to eza (active fork) and enable git,icons 2023-09-09 12:16:14 +03:00
a6e95a4719 Nvim: fixes to jdtls setup
Added runtimes and fixed lsp signature plugin
2023-09-05 10:22:09 +03:00
09b1a3a47a Git: add recommit alias 2023-08-21 16:58:18 +03:00
b8818d5439 Nvim: add keybinds to move to next/prev hunk 2023-08-21 15:26:33 +03:00
525031bd0a Fix jellyfin hw transcoding 2023-08-21 13:20:31 +03:00
2df8cd8148 Change from snapdrop to pairdrop 2023-08-21 13:20:16 +03:00
fd625a1d8f Nvim: update jdtls version 2023-08-14 14:17:22 +03:00
33ce1106e7 Add snapdrop 2023-07-12 13:48:11 +03:00
28b9999f39 Add caddy handler for korhonen.social 2023-07-12 13:46:51 +03:00
4d5a0b8f6e Add chext zsh function 2023-07-11 14:23:13 +03:00
c56c2473a6 Update dotdrop 2023-07-11 10:39:32 +03:00
37b5dd3bd5 Nvim: Update jdtls version 2023-07-05 09:35:10 +03:00
4b3fde70d7 Remove asciidoc test 2023-06-27 12:50:11 +03:00
e141efbbe4 Nvim: Move some keybinds to which-key 2023-06-27 12:40:02 +03:00
89d4ea3737 Include file from URI instead 2023-06-17 14:49:08 +03:00
c0f87b2b42 Fix path 2023-06-17 14:44:52 +03:00
764f2ea7f0 Testing rouge highlighting in forgejo 2023-06-17 14:44:09 +03:00
3e1d80c56c Separate neovide settings to it's own file in nvim config 2023-06-17 14:35:24 +03:00
718ecfa54e Revert "Switch from tmux to zellij"
This reverts commit f197eccac3.
2023-06-09 09:06:55 +03:00
a7eb1024e1 Disable misskey elasticsearch 2023-05-25 22:08:02 +03:00
96db564b83 Git: Remove all whitespace at the beginning of lines
The whitespace is not needed and makes the file more TOML like (more readable)
2023-05-25 08:44:50 +03:00
80b724faf9 Git: Switch back to nvim for diff and mergetool 2023-05-25 08:42:00 +03:00
fae5908673 Update dotdrop 2023-05-24 09:16:29 +03:00
aac4c7b266 Git: remove unneeded configuration for meld diff/mergetools 2023-05-23 22:20:27 +03:00
747a44d61e Add meld as git (merge|diff)tool 2023-05-23 22:04:32 +03:00
d5973ea4e3 Nvim: Add git to disabled filetypes of indent-blankline 2023-05-23 22:04:02 +03:00
677b16789c Revert "Switch from pacserve to flexo"
This reverts commit 7c2e4a67a7.
2023-05-23 21:38:07 +03:00
788e3b6e40 Pacman: remove community 2023-05-22 08:57:16 +03:00
639a58a437 Supress okc-agent output on shell start 2023-05-15 15:11:22 +03:00
310f8aa45c Disable atuff that doesn't work in termux 2023-05-09 08:58:21 +03:00
955020d9f4 Add flexo configuration 2023-05-08 18:06:57 +03:00
0a21e02625 Update dotdrop 2023-05-08 18:00:04 +03:00
7c2e4a67a7 Switch from pacserve to flexo 2023-05-08 17:59:56 +03:00
83996be539 Improve cpu usage of clock alias with sleep 2023-05-08 11:26:52 +03:00
9d7f734d50 ZSH: Add clock alias 2023-05-08 11:22:05 +03:00
6c65550c69 Nvim: don't auto setup jdtls 2023-05-05 10:17:55 +03:00
d747f64d63 Nvim: Use Java 19 with jdtls 2023-05-05 10:17:44 +03:00
afe64f98bc nvim: add dashboard to indent-blankline ignore filetype 2023-05-02 09:24:46 +03:00
ac221a9f9f Update dotdrop 2023-04-27 16:02:27 +03:00
d19e5a8b6a Neovim: switch lsp to use mason automatic setup 2023-04-26 21:41:28 +03:00
b151067a21 Remove linux-cachyos and zen presets, add lts 2023-04-25 17:46:32 +03:00
0e1ae7608a Remove cachyos repos 2023-04-25 17:42:03 +03:00
ed15c8fcb7 Remove tty6 autologin from Moria
Kodi will be used on a separate box from now on
2023-04-21 18:08:48 +03:00
c15ec5ec3e SSH: disable ControlMaster 2023-04-17 11:47:11 +03:00
e147459f1e Remove TZ env variable from nextcloud
Seems to cause the server time to be set as UTC
2023-04-16 12:50:05 +03:00
348ab63f99 Update nvim dashboard icons 2023-04-14 00:14:27 +03:00
70bf63b61a Neovim: add dashboard 2023-04-14 00:02:58 +03:00
a9c8c5c775 Remove nginx conf 2023-04-12 09:05:46 +03:00
9730ee75c2 Open jellyfin port 2023-04-12 09:05:45 +03:00
1702543f0f Editorconfig is built-in to vim now 2023-04-12 09:03:28 +03:00
45c13be6b0 Add grafana 2023-04-08 13:07:03 +03:00
feeb513f21 Switch from plymouth-encrypt hook to encrypt
Plymouth functionality is apparently merged to the regular encrypt hook
2023-04-08 13:06:26 +03:00
e101ea9de6 Caddy: enable compression on all sites 2023-04-04 16:31:31 +03:00
73f430bea2 Remove unneeded security headers (these are set by default in caddy) 2023-04-04 01:28:00 +03:00
1df1c2c970 Add collabora to caddy 2023-04-04 01:15:18 +03:00
7290ecac2e Add tvheadend to caddy 2023-04-04 01:12:13 +03:00
f4a2f1bb36 Add redirect from www.korhonen.cc to korhonen.cc 2023-04-04 01:03:39 +03:00
acc7aa6848 Add some common security headers for all sites 2023-04-04 01:00:48 +03:00
3b1dcf4709 Add nextcloud to caddy 2023-04-04 00:44:54 +03:00
f469555599 Remove unneeded labels and containers after moving to traefik 2023-04-03 23:29:30 +03:00
aa00c1d36e Fix path to index.korhonen.cc 2023-04-03 23:24:39 +03:00
ae2ea3f9a6 Switch from traefik to caddy 2023-04-03 23:20:36 +03:00
c0da6c96f4 ZSH: disable vim exit aliases 2023-04-03 14:10:24 +03:00
20e48f14d1 Add Mason tool installer 2023-03-30 09:01:39 +03:00
87ff7ed523 Rename authentik redis container back
Authentik was having problems finding the container
2023-03-25 22:10:12 +02:00
785990b755 Unify redis container names 2023-03-25 20:23:08 +02:00
98846fc48b Remove dedicated redis and give searx it's own redis 2023-03-25 20:21:00 +02:00
9169ee5b8c Fix zellij autostart 2023-03-25 12:30:32 +02:00
a500dd37b7 Update mirkwood kernel cmdline 2023-03-25 12:27:32 +02:00
f197eccac3 Switch from tmux to zellij 2023-03-25 12:27:31 +02:00
395e18df52 Fix nextcloud redirects 2023-03-23 11:26:43 +02:00
848186de59 Fix nextcloud redirects 2023-03-23 11:16:28 +02:00
f3aff4c4e8 Add X-Robots header to nextcloud 2023-03-23 11:08:41 +02:00
bed90cc635 Update gnome keybinds 2023-03-22 23:03:02 +02:00
0f6382bfc8 Nvim: Add ASCIIDoc preview plugin 2023-03-22 21:18:29 +02:00
690743f6d0 Enable pacserve on cachyos community 2023-03-17 08:50:12 +02:00
432328a8b4 Add cachyos community repo 2023-03-17 08:48:37 +02:00
64f63eb156 Move korhonen_aur to be the last repo
This allows to upgrade packages that have been moved to community etc
2023-03-16 18:59:41 +02:00
9256c0352c Add cachyos repos and kernel 2023-03-16 18:32:07 +02:00
1529ae20c7 Change plymouth theme 2023-03-16 18:31:07 +02:00
8bb500ac4b Beets: add mpv and mpd options 2023-03-15 19:11:41 +02:00
94b70310e4 Mpv: add shuffle keybind 2023-03-15 19:11:26 +02:00
8065b2dab0 Beets: disable follow plugin
Causes errors and does not seem to be maintained anymore
2023-03-15 18:37:21 +02:00
3da0c39014 Add plymouth to Mirkwood 2023-03-15 18:37:19 +02:00
9ec2a8eb9b Nvim: order completion sources for better priority 2023-03-15 13:26:22 +02:00
702fdec584 Moria: don't logout after kodi exits 2023-03-11 18:30:47 +02:00
c47a85b539 Fix repo add alias 2023-03-10 13:22:34 +02:00
40612774c0 Merge branch 'main' of https://git.korhonen.cc/FunctionalHacker/dotfiles 2023-03-09 10:28:48 +02:00
fc0493d99e Add headscale 2023-03-09 10:28:00 +02:00
e653ee7d18 Add kodi autostart on tty6 for moria 2023-03-09 10:27:45 +02:00
5a11d0c79e Neovim: add eslint lsp 2023-03-08 16:35:53 +02:00
b75bbba493 Add alias to add packages to repo with fzf
Also removed useless echos
2023-03-06 21:47:51 +02:00
81e7d2631d Add ddns service 2023-03-05 12:58:36 +02:00
e642a294c5 Nvim: add rust_analyzer 2023-03-01 22:24:07 +02:00
6a7cf99da8 Paru: disable bat because it causes unreadable PKGBUILD in neovim 2023-03-01 21:55:20 +02:00
6e466cae8d Fix whitespace in sshd_config 2023-03-01 09:30:05 +02:00
5e04976aba Update moria cmdline (new root disk) 2023-03-01 09:29:51 +02:00
ced2b22fb4 Nvim: remove swayconfig plugin 2023-02-23 09:15:32 +02:00
49d5c6c92b Neovim: Clean up configuration 2023-02-22 18:29:01 +02:00
13c59cab47 Fix issues after migrating to lazy package manager 2023-02-22 17:58:05 +02:00
f0750a1ad8 Nvim: add dap 2023-02-22 17:54:39 +02:00
12564939a7 Nvim: change package manager from packer to lazy 2023-02-22 14:45:30 +02:00
a8211ed1d8 Neovim: add schema for luarc 2023-02-21 11:33:35 +02:00
8f74a04d5d Add neovim config luarc 2023-02-21 11:31:20 +02:00
13ad1b7e88 Neovim: add cmp-spell source 2023-02-20 16:10:32 +02:00
47233b088f Neovim: change sumneko to lua_ls 2023-02-19 20:03:22 +02:00
08bb0e0296 Nvim: Use relative line numbers 2023-01-31 22:43:39 +02:00
b8d84d1e4b Remove wayland clipboard workaround 2023-01-31 22:38:14 +02:00
80c970ae7c Fix forgejo log path for fail2ban 2023-01-31 12:34:26 +02:00
8ec669e136 Disable yubikey auto lock on mirkwood 2023-01-27 20:57:02 +02:00
31cb691feb Change gitea host name to forgejo in ssh config 2023-01-27 20:41:23 +02:00
a1542cd5e2 Remove plymouth from mirkwood 2023-01-27 20:40:27 +02:00
7c8aba1a06 nvim: add cmp cmdline and firenvim settings 2023-01-09 09:10:16 +02:00
924c957472 Update mkinitcpio setting name 2022-12-23 09:31:16 +02:00
3a0e431457 Fix wkd nginx conf and add root redirect to my keyoxide profile 2022-12-19 22:45:00 +02:00
6a7afb20d2 Add root directive to wkd 2022-12-19 22:25:13 +02:00
cd4096e3c0 Add wkd service 2022-12-19 22:22:12 +02:00
23ede601ef Use lower version of elasticsearch form misskey to fix ssl errors 2022-12-18 18:55:10 +02:00
5f0fd57cb3 Add elasticsearch to misskey 2022-12-18 18:28:15 +02:00
d4796ef581 Switch from Mastodon to Misskey 2022-12-18 16:47:20 +02:00
8f739a907c Mastodon: add OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true 2022-12-18 01:16:20 +02:00
7f54f26daa Mastodon: enable OIDC and disable elasticsearch (doesn't work for now) 2022-12-18 01:14:59 +02:00
565b730bf1 Add mastodon 2022-12-18 00:21:21 +02:00
5c622bed80 Add default network for woodpecker 2022-12-17 22:15:41 +02:00
41cf3a5735 Add docker pass helper configuration 2022-12-17 15:42:00 +02:00
dba9554069 Remove traefik configuration from woodpecker-agent 2022-12-17 15:38:48 +02:00
c1c1b425ec Switch forgejo to asciidoc image 2022-12-17 15:05:22 +02:00
305666192f Switch from Gitea to Forgejo 2022-12-17 14:46:53 +02:00
0ecf1e8479 Switch from Drone CI to Woodpecker CI 2022-12-17 13:17:15 +02:00
717c562eec Fix title in README 2022-12-16 23:43:38 +02:00
35a2a782f0 Disable plymouth and enable remove luks decrypt on Moria 2022-12-09 13:42:10 +02:00
46400e2801 Add linux-zen mkinitcpio preset and disable fallback initramfs
generation
2022-12-09 13:42:09 +02:00
9cfc894c86 Use yt-dlp with mpv 2022-12-09 13:40:49 +02:00
147731f693 Add restart policy for ofelia 2022-12-01 21:57:06 +02:00
19a35842ce Add checkupdates script 2022-12-01 21:56:56 +02:00
ee1f973c41 Ofelia: enable error mail notifications for nextcloud 2022-11-18 22:20:46 +02:00
ed2b649164 Docker: add ofelia scheduler for nextcloud 2022-11-18 21:47:09 +02:00
842e6b1c9f Docker: remove all latest tags (it is the default tag when none
specified)
2022-11-18 20:37:42 +02:00
41751154a9 Remove proxy auth from Home Assistant 2022-11-18 20:32:11 +02:00
6fea7df990 Neovim: fix clipboard on wayland 2022-11-17 09:18:56 +02:00
429010d85a Add -l to FZF alt-c preview command 2022-11-16 16:31:43 +02:00
6182b1b2b8 Add exa (ls) preview for FZF alt-c command 2022-11-16 16:30:23 +02:00
491577d1a1 Refactor traefik.toml 2022-11-16 08:51:22 +02:00
93ce353b00 Remove unneeded key from traefik configuration 2022-11-16 08:38:58 +02:00
d332eaa6f5 Pass ADMIN_EMAIL to traefik 2022-11-16 00:11:52 +02:00
40e2908af4 Add traefik configuration under version control 2022-11-16 00:10:27 +02:00
7c9c9f0f22 Use wildcard cert with traefik 2022-11-15 23:49:30 +02:00
1d8142dae2 Refactor authentik setup and enable it on more services 2022-11-15 22:06:06 +02:00
82227b7dee Docker: Add watchtower 2022-11-11 18:29:50 +02:00
775ea90211 Upgrade postgres to 15 2022-11-11 18:29:49 +02:00
4b4707a84e Dconf enable secondary click 2022-11-11 18:29:47 +02:00
aaec8e6067 Add dconf to mko-laptop 2022-11-09 15:52:53 +02:00
72ab88d55d Nvim: add highlight on yank 2022-11-09 09:01:45 +02:00
4c9593bcb6 Fix gnome clocks dconf path 2022-11-06 17:52:02 +02:00
dcc4b2b06d Add dconf configurations for gnome clock and weather 2022-11-06 17:49:52 +02:00
14ea0031d6 Add dconf settings and remove distro test file 2022-11-06 17:37:16 +02:00
6d092a001a Remove deprecated settings from MPD and switch to PipeWire output 2022-11-06 17:37:00 +02:00
204c4542b4 Add scaling for plymouth in Moria 2022-11-06 13:25:25 +02:00
fa37e929ea Misc changes 2022-11-06 09:46:48 +02:00
ca12d94a3e Add dslr webcam alias 2022-11-06 09:46:41 +02:00
393c619e2b Nvim: switch from gitgutter to gitsigns plugin 2022-11-04 13:43:07 +02:00
0ad3a4eb1e Git: change order of windows in neovim mergetool 2022-11-04 13:39:43 +02:00
Marko Korhonen
1206df05cc Git: enable rerere and diff3 mode 2022-11-04 12:49:31 +02:00
5430b88cad Add mkinitcpio.d to moria 2022-11-02 16:38:53 +02:00
4bdff7d07c Fix mkinitcpio.conf template syntax 2022-11-02 16:34:04 +02:00
a1c475da50 Add plymouth to moria 2022-11-02 16:33:05 +02:00
b04b5665e2 Fix plymouth path 2022-11-02 16:15:43 +02:00
b73c8f07a6 Fix plymouth conf name 2022-11-02 16:15:09 +02:00
9498a29f0a Refactor config-root.toml, add plymouth conf 2022-11-02 16:13:16 +02:00
5c952d7c8c Reformat config.toml, remove unused dotfiles 2022-11-02 16:13:01 +02:00
b1bd55f0a6 Update config.toml 2022-11-02 16:07:49 +02:00
c5437fcfbd Add neovide settings to neovim 2022-11-02 16:07:48 +02:00
50399dfd64 Add neovide keybind to sway 2022-11-02 16:07:47 +02:00
8f2acf184f Use gnome pinentry for gpg 2022-11-02 16:07:45 +02:00
cc3e47611a Configure gdm and plymouth 2022-11-02 16:07:33 +02:00
2856c8f1ce Disable intel hd graphics video output on moria 2022-11-01 11:00:36 +02:00
6c72a36773 Add Moria cmdline to dotfiles 2022-10-31 09:28:41 +02:00
12c6ce7ef0 Update umami image name 2022-10-31 09:28:22 +02:00
Marko Korhonen
e6aa45333b Fixes to precommit hook and reformat some zsh files 2022-10-26 14:13:15 +03:00
Marko Korhonen
b114f1851e Reformat precommit hook with shfmt 2022-10-26 14:09:50 +03:00
Marko Korhonen
16e59402c7 Reformat all neovim configuration files with stylua 2022-10-26 14:08:20 +03:00
Marko Korhonen
2fb9297281 Change precommit hook lua formatter to stylua 2022-10-26 13:49:04 +03:00
Marko Korhonen
58eb844306 Add mason installed binaries to path 2022-10-26 13:46:43 +03:00
Marko Korhonen
4093651f86 Neovim: disable luasnip mappings again
Will inspect later
2022-10-24 16:04:25 +03:00
Marko Korhonen
1acfbf40ca Neovim: fix luasnip mappings 2022-10-24 15:40:53 +03:00
Marko Korhonen
c9c0f55d31 Nvim: comment out which-key configuration which causes error
Will inspect later
2022-10-24 13:23:10 +03:00
Marko Korhonen
0aa8b5dd46 Nvim: remove unneeded patch from which-key 2022-10-24 13:19:48 +03:00
Marko Korhonen
a5e1613b07 Add settings for nvim gui and install telescope cder plugin 2022-10-20 11:24:54 +03:00
7e6a410b86 Disable d_systemd for mirkwood 2022-10-19 10:27:35 +03:00
ef4d6d4650 Neovim: update capabilities setup for cmp 2022-10-17 14:39:10 +03:00
ceb50baf83 Skip confirmation in termux upgrade 2022-10-12 20:35:19 +03:00
923a1c7340 Fix termux update 2022-10-12 20:32:50 +03:00
Marko Korhonen
23d23a27c9 Only update tmux on Moria 2022-10-10 11:29:25 +03:00
Marko Korhonen
2388de891f Set tmux default shell 2022-10-10 11:28:39 +03:00
Marko Korhonen
ccdd60a353 Setup doas for ubuntu 2022-10-10 11:25:20 +03:00
447c7e1119 Add doas.conf for gondor 2022-10-09 11:45:58 +03:00
5e9d4d65e6 Use doas with paru 2022-10-09 11:43:40 +03:00
4faffcaa73 Add doas config 2022-10-07 18:01:43 +03:00
e83a031b1b Add sudo config for pacman without password 2022-10-07 17:46:04 +03:00
Marko Korhonen
b3283de502 Unify quotes to single quote in neovim plugin configuration 2022-10-05 14:05:43 +03:00
Marko Korhonen
62558887c1 Remove authentic geoipupdate container 2022-10-03 10:52:21 +03:00
Marko Korhonen
f3da5785d6 Remove unneeded template 2022-09-26 10:41:50 +03:00
Marko Korhonen
dc18277b4d Add missing endif to template 2022-09-26 10:40:37 +03:00
Marko Korhonen
79656e86ef Fix TF on termux 2022-09-26 10:39:26 +03:00
7a4bf336e8 Fix collabora domain 2022-09-24 22:46:45 +03:00
6afdc9564c Remove unneeded escape character (collabora) 2022-09-24 22:40:32 +03:00
498a63aef4 Small fix for collabora 2022-09-24 22:31:03 +03:00
4c5b190584 Set collabora container name 2022-09-24 22:08:07 +03:00
1f8221ff5b Remove unneeded environment variable from collabora 2022-09-24 22:07:23 +03:00
60303b0049 Add collabora for nextcloud 2022-09-24 22:04:41 +03:00
1635e9fc36 Add jellyfin mount for Music 2022-09-24 18:10:59 +03:00
caa7848cb3 Remove music mount from Nextcloud 2022-09-23 17:04:54 +03:00
f24dfb6f2d Remove syncthing from nextcloud 2022-09-23 17:01:18 +03:00
Marko Korhonen
a6db0941d3 Librewolf: enable WebGL 2022-09-23 13:14:33 +03:00
381e0af92d Remove obsolete files from config-root 2022-09-22 18:16:49 +03:00
f390a33dd8 Pacserve: enable avahi 2022-09-22 18:15:46 +03:00
d3f661c579 FZF/fd: use --strip-cwd-prefix only on ctrl+t command 2022-09-22 18:07:59 +03:00
Marko Korhonen
f3f2931d57 FZF: only use fd --strip-cwd-prefix for files 2022-09-21 10:05:39 +03:00
59adfdd89e Add missing endif to template 2022-09-21 00:24:02 +03:00
7954897152 Add fzf zsh plugins for termux 2022-09-21 00:23:08 +03:00
5b847d75ee Remove unneeded file 2022-09-21 00:18:52 +03:00
0f468a7af8 Debugging 2022-09-21 00:18:06 +03:00
d9e491c382 Fixes for termux 2022-09-21 00:13:42 +03:00
185260c0b8 Fix $PATH 2022-09-21 00:04:09 +03:00
cd5e783ccf Use ~/.local/bin instead of ~/.bin as local bin directory 2022-09-20 23:56:18 +03:00
2743c68c72 ZSH: Strip newline in pi/pr alias in apt too 2022-09-20 23:49:40 +03:00
6cc2fa1152 ZSH: Strip newline in pi/pr alias 2022-09-20 23:47:47 +03:00
14da0fcf23 ZSH: Add apt support for pr alias 2022-09-20 23:37:20 +03:00
d11e82217c Stop apt complaining 2022-09-20 23:34:44 +03:00
2c7dd4af6f ZSH: Add support for pi alias
No gpg signature this time, yubikey is refusing to work
2022-09-20 23:32:21 +03:00
729a914fbd Zsh: move thefuck to plugins.zsh and fix sourcing fzf on ubuntu 2022-09-20 23:03:42 +03:00
9fd82c7fbf FZF: fd strip cwd prefix 2022-09-20 23:00:09 +03:00
527dace26c ZSH: Enable thefuck 2022-09-20 22:55:09 +03:00
49593b02b0 Use docker compose API instead of docker-compose in dct alias 2022-09-20 19:45:07 +03:00
b77d2e2a67 Nvim: fix colorscheme 2022-09-20 19:29:13 +03:00
0105b275ed Nvim: change colorscheme to kanagawa 2022-09-20 19:25:08 +03:00
b2ee402d04 Zsh: Add ~/.cargo/bin to path 2022-09-20 19:20:11 +03:00
eee41cbbcd Update templates from os to distro_id 2022-09-20 18:04:16 +03:00
31e61e3689 Fix template 2022-09-20 18:01:26 +03:00
15ade99b4a Add file for testing dotdrop distro_id 2022-09-20 18:00:46 +03:00
5c2f6821f9 Switch to using dotdrop's automatic distro_id variable 2022-09-20 17:56:55 +03:00
1911c40427 Update dotdrop 2022-09-20 17:54:30 +03:00
1105f2fab0 Fix viirujateippi profile 2022-09-20 17:41:56 +03:00
48a51d9756 Add os information to viirujateippi 2022-09-20 17:38:40 +03:00
bb4d469162 Update dotdrop 2022-09-20 09:26:57 +03:00
085523998b Remove systemd-boot configuration 2022-09-16 20:37:39 +03:00
20421fa466 Fix adoc 2022-09-16 20:36:54 +03:00
f18dba6fa6 Remove more unneeded and old files 2022-09-16 20:35:58 +03:00
8d6ee01d96 Add .ignore file for the root of the repo to ignore the dotdrop
submodule in fd, rg etc
2022-09-16 20:18:56 +03:00
973fe13743 Fix sway-run.sh reference in zprofile 2022-09-16 20:14:04 +03:00
0bedb49cf6 Ignore deleted files in pre-commit hook 2022-09-16 20:12:25 +03:00
72fd110834 Remove umpv, rename sway-run to sway-run.sh 2022-09-16 20:12:04 +03:00
12f36722c4 Re-enable shfmt in pre-commit hook 2022-09-16 20:08:42 +03:00
4d323544d7 Removed some old/unneeded shell scripts and formatted the rest 2022-09-16 20:08:03 +03:00
e45086afae Format all files with prettier, remove udiskie config 2022-09-16 20:01:31 +03:00
cc06f5743d Add support for shfmt in git pre-commit hook 2022-09-16 19:45:32 +03:00
97b3866db2 Add pre-commit hook to format files 2022-09-16 19:21:54 +03:00
018b96f03a Update dotdrop 2022-09-16 16:53:43 +03:00
e0e8c5ccaf Add markdown preview plugin 2022-09-16 16:53:31 +03:00
8ab864c383 Umami: drop .js from tracker script name 2022-09-15 19:39:53 +03:00
a97f68aeb5 Change umami tracker script name to circumvent ublock 2022-09-15 19:37:16 +03:00
ba28bba03a Update dotdrop 2022-09-15 17:58:54 +03:00
1398574bb2 Add umami 2022-09-15 17:54:55 +03:00
573236400f Traefik: remove unneeded lines from docker-compose 2022-09-15 17:54:23 +03:00
b436745bf1 Use specific java version for jdtls 2022-09-15 14:54:23 +03:00
1e54c2dd73 Fix config.toml 2022-09-15 14:54:13 +03:00
3f487ee0f3 Update dotdrop 2022-09-12 12:52:15 +03:00
968ce1b170 Remove bibliogram because it has been discontinued 2022-09-12 12:51:08 +03:00
489e8dcfe2 Update dotdrop 2022-09-11 12:50:14 +03:00
33b9d9930f Make rofi font bigger 2022-09-11 12:50:09 +03:00
116621e4cc Fix gpg-agent.conf template 2022-09-11 12:50:08 +03:00
3f2c889985 Use pywal in sway 2022-09-11 12:50:07 +03:00
b29bf53fa1 Add librewolf overrides 2022-09-09 13:34:58 +03:00
68b3fefc67 Update dotdrop 2022-09-09 11:05:36 +03:00
b853a89635 Add d_wal to terminal profile, format config.toml 2022-09-08 23:16:53 +03:00
b7051903a2 Add pywal colors to foot 2022-09-08 23:13:20 +03:00
1a54986d53 Neovim: change to pywal colorscheme 2022-09-08 23:12:49 +03:00
c47d4ea4da Use rofi pinentry on Mirkwood 2022-09-08 20:26:55 +03:00
40ba366403 Nvim: add rofi config (.rasi) treesitter grammar 2022-09-08 20:25:28 +03:00
f2251e87da Sway: change from wofi to rofi 2022-09-08 20:24:32 +03:00
7ae2f50149 Add pywal config 2022-09-08 20:24:21 +03:00
389c24e939 Update rofi config 2022-09-08 20:23:51 +03:00
17032b95d0 Nvim: add colorizer plugin 2022-09-08 20:22:33 +03:00
3cd3b232a1 Switch to librewolf 2022-09-06 20:51:34 +03:00
939c0c14da Revert "Enable SSH agent forwarding for termux"
This reverts commit 0deb2e37e0.
2022-09-06 20:10:49 +03:00
0deb2e37e0 Enable SSH agent forwarding for termux 2022-09-06 20:03:48 +03:00
ac829e286a Fix ssh agent forwarding for Moria 2022-09-06 20:00:11 +03:00
6eee824bdd Remove unneeded options from ssh config and gpg-agent config 2022-09-06 19:00:07 +03:00
a96a438dda Fix for zprofile 2022-09-06 16:58:43 +03:00
19fbc933df Neovim: set cmdheight = 1 2022-09-06 16:37:50 +03:00
5c6d81c7ff Add git credential helpers 2022-09-06 11:38:00 +03:00
ca2412143f Add pass-git-helper configuration 2022-09-06 11:31:10 +03:00
fe679061ba Update dotdrop 2022-09-05 15:56:08 +03:00
2d7890154e Fix tmux startup 2022-09-04 13:00:01 +03:00
8b9aa920a6 Nvim: remove packer after options, they seem to break everything 2022-09-03 16:21:02 +03:00
1151b87fad Fix variable scope in mason configuration 2022-09-03 16:19:47 +03:00
f3953befe3 Fix formatting in nvim init.lua 2022-09-03 16:19:22 +03:00
fe2ee02bad Split Mason config to own file 2022-09-03 15:51:09 +03:00
65f2fd46a2 Nvim: separate cmp and luasnip configs 2022-09-03 15:42:34 +03:00
884c678e43 Fix snippet navigation mappings (hopefully) 2022-09-03 15:07:54 +03:00
08c6d7694f Neovim: make cursor vertical in insert mode 2022-09-03 14:41:13 +03:00
cc98aec0f7 Zsh: fix reference to aliases configuration file 2022-09-03 14:15:05 +03:00
71a0d125cc Update dotdrop 2022-09-03 14:11:53 +03:00
1ae2219d8a Zsh: move tmux lauch to it's own configuration file and make it the
first one executed
2022-09-03 14:11:34 +03:00
c134cdce6c Update dotdrop 2022-09-03 14:05:40 +03:00
1b394b23f7 Nvim: add bashls 2022-09-03 14:05:34 +03:00
ffba40b027 Fix tmux autostart 2022-09-03 12:31:38 +03:00
76b50dbe6f Use exec to replace current shell with tmux instead of forking 2022-09-03 12:24:59 +03:00
f781e4b0c9 Update dotdrop 2022-09-03 00:56:46 +03:00
ac0cdcf839 Neovim: add mappings for snippet navigation 2022-09-03 00:56:38 +03:00
09bdc5b94b Nvim: Added intentation settings 2022-09-03 00:56:37 +03:00
ebed5b1f99 Neovim: format plugins/init.lua 2022-09-03 00:56:37 +03:00
9ded153861 Neovim: remove unneeded comments from settings.lua 2022-09-03 00:56:36 +03:00
3d64f03d95 Change mirkwood default cpu governor 2022-09-03 00:56:35 +03:00
3d74bd9a2a Reduce footerm padding 2022-09-03 00:56:35 +03:00
78c8196daa Nvim: Change colorscheme to kanagawa and some other minor tweaks 2022-09-03 00:56:34 +03:00
38c985ebfa Add patch for which-key and cmdheight=0 problem 2022-09-03 00:56:34 +03:00
2d5fb0d4dc Refactor settings.lua
- Remove all options that matched the defaults in NeoVim
- Remove clipboard=unnamedplus and learded to use registers :)
- set some modern NeoVim settings, f.ex laststatus=3 and cmdheight=0
2022-09-03 00:56:33 +03:00
dab1d82be2 Remove some redundant keymappings
F.ex <C-j> to original keymapping <C-w>j to switch to left window
2022-09-03 00:56:31 +03:00
db2ef6e434 Update dotdrop 2022-09-02 08:58:00 +03:00
a313835509 Update dotdrop 2022-09-01 18:04:00 +03:00
2aeb6e5bc0 Update dotdrop 2022-08-31 10:09:50 +03:00
46cc7da21b Fix fzf completion with relative paths 2022-08-31 10:09:34 +03:00
0ed3009e7a Use gpg-agent setup from the manpage 2022-08-29 20:45:07 +03:00
e6bd26af9c Update dotdrop 2022-08-29 20:34:19 +03:00
929e4a0bfc Setup SSH MasterSocker and other small improvements 2022-08-29 20:33:59 +03:00
e3f197456b Add StreamLocalBindUnLink option to ssh config 2022-08-29 12:06:07 +03:00
95bb42aa72 Fix SSH/GPG forwarding 2022-08-29 11:59:49 +03:00
d9f852bed8 Fix gondor ssh setup 2022-08-29 11:57:49 +03:00
6bf637f964 Nvim: Add GPG plugin 2022-08-29 09:55:51 +03:00
fcf8969b01 Fix alias and okc ssh agent setup 2022-08-29 00:10:06 +03:00
ae89052aef Termux: alias okc-gpg to gpg 2022-08-29 00:03:04 +03:00
c473cb5d9a Add okc-ssh-agent for termux 2022-08-28 23:58:31 +03:00
1d22f518da Updated dotdrop 2022-08-28 23:49:27 +03:00
a0fd25e200 Update SSH key to new GPG key 2022-08-28 19:34:43 +03:00
7bc1240454 Update git config to new GPG key 2022-08-28 19:28:16 +03:00
5d8b849ee2 Fix nvim config path 2022-08-26 13:23:27 +03:00
3e8a76600d Revert "Fix plugin load order with LSP plugins"
This reverts commit a21f410dcd.
2022-08-26 13:21:42 +03:00
20bc67ba4f Add taplo LSP 2022-08-26 13:10:03 +03:00
a21f410dcd Fix plugin load order with LSP plugins 2022-08-26 13:09:51 +03:00
9897f2c331 Dotdrop: Use single directory for neovim config 2022-08-25 21:37:02 +03:00
797755d323 Nvim: improve packer setup 2022-08-25 10:42:06 +03:00
302d6ba920 Fix jdtls map_keys call 2022-08-24 12:09:59 +03:00
96d05236ed Add nvim dashboard 2022-08-24 12:09:50 +03:00
bb0aab93ba Format beets config 2022-08-24 12:09:31 +03:00
8d9d84eb7f Add nvimtree configuration 2022-08-24 12:07:21 +03:00
09e109164a Refine some more keybinds to new format and rework Telescope config 2022-08-24 00:38:10 +03:00
493660374d Nvim: convert keymaps to vim.keymap.set and/or which-key.register 2022-08-24 00:01:06 +03:00
c2d846dd29 Remove leftover files 2022-08-23 22:38:49 +03:00
322128cc83 Nvim: use space as leader 2022-08-23 22:18:57 +03:00
a3fab5a6bb Fix git difftool 2022-08-23 22:15:18 +03:00
315f2a817f Ran luaformat on all neovim files, removed unneeded files 2022-08-23 22:12:01 +03:00
df03e639b7 Remove leftover file 2022-08-23 19:36:35 +03:00
9c69c01f36 Sensify neovim output on init 2022-08-23 19:35:56 +03:00
1f5ebafcb3 Use global for lspconfig servers 2022-08-23 19:22:35 +03:00
4ff89f6825 Remove leftover file 2022-08-23 19:21:38 +03:00
f4036b818d Fix scope issues in lspconfig 2022-08-23 19:14:09 +03:00
f4216ae0ba Refactor packer config to use packer config parameter instead of
separate requires
2022-08-23 17:56:24 +03:00
413a8fb1fb Add which-key.nvim 2022-08-23 12:17:21 +03:00
b945ce338e Enable nvim autopairs and some new completion sources 2022-08-23 11:45:28 +03:00
58b1563a8b Add markdown lsp server 2022-08-23 10:14:44 +03:00
d366574989 Fix jdtls setup 2022-08-23 09:41:00 +03:00
64d984edb8 Refine packer update commands 2022-08-23 09:28:07 +03:00
6e52e8a4fb Nvim: Use default Java for LSP 2022-08-23 09:27:43 +03:00
9e5df50795 Fix dotsync alias 2022-08-22 15:01:18 +03:00
1b277bf887 Refactor nvim packer configuration 2022-08-22 14:57:24 +03:00
3138316af8 Nvim: switch from nvim-lsp-installer to masonry.nvim 2022-08-22 14:34:30 +03:00
23d573ea6d Add Treesitter update to update alias 2022-08-18 13:09:26 +03:00
fa625e50c9 Enable pacman fzf functions only on arch 2022-08-18 10:01:59 +03:00
0e39efb2cf Enable ubuntu command not found handler 2022-08-17 22:02:56 +03:00
95af231210 Use pkgfile command not found handler for arch 2022-08-17 21:57:49 +03:00
d4a8a624e8 Fix template elif 2022-08-17 21:46:24 +03:00
481f32d82e Add print for termux command not found handler 2022-08-17 21:45:14 +03:00
8daff27305 Add command not found handler for termux 2022-08-17 21:44:39 +03:00
31ab7306c0 Fix typo in profile name 2022-08-17 21:41:14 +03:00
d4b172e203 Fix missing space in alias 2022-08-17 21:39:27 +03:00
6523521f48 Add wayland variables and fix termux dotdrop profile 2022-08-17 21:37:52 +03:00
914df5f436 Fix env key 2022-08-17 14:41:50 +03:00
eb93f02f66 Add email to cryptissue 2022-08-17 14:36:26 +03:00
13a6ab2293 Refactor config profiles 2022-08-17 14:28:28 +03:00
0a14b90d3d Use stable image of busybox for redis 2022-08-17 14:28:02 +03:00
27fb6f64a3 Add udev rule to lock screen when yubikey is unplugged 2022-08-16 20:43:44 +03:00
2a6196c2f7 Add working redis for searx 2022-08-15 13:52:10 +03:00
e89683ff77 Neovim: remove filetype.nvim 2022-08-14 20:38:38 +03:00
c578871998 Neovim: add signature help plugin + make use of quotes consistent 2022-08-14 20:36:32 +03:00
dcd00e7b98 SearX: Restart unless-stopped and change domain name 2022-08-14 19:41:22 +03:00
8163931183 Add searx 2022-08-14 00:36:32 +03:00
0d1d7dc09d Small fixes for nextcloud 2022-08-13 23:53:18 +03:00
cac76497fe Fix update alias apt function 2022-08-08 14:32:07 +03:00
a15643e686 Start kodi when moria boots 2022-08-06 12:20:18 +03:00
b5e3c80975 Remove some unused aliases and files 2022-08-06 12:18:43 +03:00
5e277ce560 Fix filetype in git pager 2022-08-05 09:38:30 +03:00
2a0b4dd306 Refine neovim updates 2022-08-05 09:37:38 +03:00
8fe76f19c0 Refine update alias 2022-08-03 09:47:44 +03:00
60375ed18a Include work laptop configuration in update alias 2022-08-03 09:41:20 +03:00
c0d8b72f0e Move git config to standard xdg path out of home directory 2022-08-02 17:12:18 +03:00
69cabe05e5 Run docker prune every time docker updates 2022-08-01 11:15:30 +03:00
99adba52d3 Use filetype.nvim for now instead of filetype.lua for now since it
stopped working
2022-07-25 16:23:26 +03:00
0dd8c5c44d Neovim: Migrate catppuccin config according to instructions 2022-07-25 15:07:50 +03:00
b8a89ed59e korhonen.cc: add finnish 404 page 2022-07-25 14:57:05 +03:00
053f4bb39a Delete some old unneeded files, minor fixes to other files 2022-07-18 22:37:56 +03:00
9264b9c3ef Remove node-red 2022-07-18 22:37:35 +03:00
4275764c80 Update alias: remove all unused images, not just dangling ones 2022-06-30 19:19:21 +03:00
12215b5c0f Use $EDITOR instead of $PAGER for $AUR_PAGER (fixes some issues) 2022-06-22 09:07:26 +03:00
7e8e8d4a4d Switch back to stable jellyfin image 2022-06-17 10:03:37 +03:00
a1bbcd7da1 Zathura: remove deprecated option smooth-scroll 2022-06-15 18:27:37 +03:00
a8a86778c4 Git: change init default branch name to main 2022-06-11 23:33:21 +03:00
dc353672e4 Update information about mirrors 2022-06-11 19:58:15 +03:00
b42171c2c2 Revert "Testing mirror"
This reverts commit e548bde25ba24d348c3bf3157ea7078359ad4c8d.
2022-06-11 19:14:35 +03:00
772b9510cc Testing mirror 2022-06-11 19:13:05 +03:00
a9ae559115 Use gitea-asciidoc image 2022-06-09 20:17:56 +03:00
9cdd87fbd3 Git: add sync alias 2022-06-09 10:29:43 +03:00
4f67d03bee Small changes to nextcloud setup 2022-06-07 22:34:46 +03:00
3b6c015a0d Migrate dotdrop from yaml config to toml 2022-06-07 22:34:06 +03:00
06cb90d613 Update dotdrop 2022-06-07 22:25:44 +03:00
2fa242c8b1 Nvim: Disable folding 2022-06-07 15:55:45 +03:00
fb9bb347da mpv: fix playing yle areena with plugin, update mimeo association 2022-05-31 17:08:07 +03:00
ca56b6d9a1 Convert nextcloud to nginx/fpm and fix cron 2022-05-31 17:04:21 +03:00
875f1cae6a Update mimeo associations 2022-05-29 10:39:22 +03:00
b8460b5ae4 Update beets config 2022-05-29 09:57:46 +03:00
fcbeb8b7cf Update jellyfin 2022-05-17 15:20:01 +03:00
df65e0b783 Nvim: simplify treesitter folding. Function name is displayed now 2022-05-06 13:32:32 +03:00
785ab635d0 Git: add upstream alias 2022-04-26 13:45:16 +03:00
ff359ffee9 Nvim: add treesitter ensure_installed 2022-04-25 19:30:41 +03:00
bf0c005444 Nvim: add treesitter folding 2022-04-22 09:50:18 +03:00
bcbd819cdb Rename grc alias for forgit since it collides with grc colorizer 2022-04-22 09:49:47 +03:00
ca059fcb8c Tweak update alias 2022-04-21 09:09:43 +03:00
77c5a93d60 Mount config for bibliogram 2022-04-21 09:09:26 +03:00
bcbda7ec98 Update jellyfin 2022-04-18 15:27:05 +03:00
cf60df7ddd Switch to different bibliogram image 2022-04-18 15:26:48 +03:00
756041b63f Nvim treesitter: remove ensure_installed 2022-04-17 23:26:36 +03:00
f629ee960f Nvim: Fix treesitter and bufferline 2022-04-17 23:24:11 +03:00
c96240e269 Use less as SYSTEMD_PAGER 2022-04-14 10:57:51 +03:00
294032a79a Fix docker update print output 2022-04-11 15:52:25 +03:00
af64a8b08d Add templating to zprofile 2022-04-10 14:23:59 +03:00
f9798c3dae Add moria gamescope/steam autostart zprofile 2022-04-10 14:21:26 +03:00
175d906fe1 Add functionality to disable docker stacks with zsh update function 2022-04-10 13:28:26 +03:00
65f8f5f1dc Sway: Change cursor theme 2022-04-10 13:17:20 +03:00
b6c3651c8c Nvim: add asciidoctor plugin 2022-04-10 13:17:11 +03:00
55ca4721fb Add systemd-editor to env.zsh 2022-04-10 13:15:40 +03:00
db0c4ac401 Add host connection to home automation docker stack 2022-04-10 13:15:17 +03:00
e87aabba1d Add restart param to drone 2022-03-29 23:05:30 +03:00
af41ce5fc9 Fix yubikey alias 2022-03-29 23:02:07 +03:00
c141a867a9 Add alias to switch between yubikeys 2022-03-29 23:01:07 +03:00
d7bb322417 Update jellyfin 2022-03-28 15:42:00 +03:00
fc3ca78d89 Add drone 2022-03-25 18:09:30 +02:00
9bc5c5c70f Add cache header for main website static resources 2022-03-24 22:14:12 +02:00
59399c376e Enable gzip compression for all sites 2022-03-24 21:03:57 +02:00
bd6baa9813 Make README headings one size bigger 2022-03-24 15:35:11 +02:00
d9201743d9 Fix list again 2022-03-24 15:33:30 +02:00
cf6f338737 Fix list in README 2022-03-24 15:32:02 +02:00
d5d5aeb846 Fix image display (hopefully) 2022-03-24 15:30:24 +02:00
cfc9ac3abe Convert README to asciidoc 2022-03-24 15:29:33 +02:00
2229cf8cf2 Add www to non-www redirect for korhonen.cc 2022-03-24 12:19:29 +02:00
d79a88870a Add HSTS headers for all pages 2022-03-24 10:26:23 +02:00
687199810c Add asciidoc renderer to gitea 2022-03-23 23:08:30 +02:00
b8e593b466 Add nginx for main website 2022-03-23 18:44:59 +02:00
2e58dde610 Update mirkwood mkinitcpio hooks 2022-03-18 08:26:29 +02:00
befa0180f9 Add timesyncd.conf 2022-03-18 08:24:15 +02:00
b00c5cb725 Clean up bluetooth conf 2022-03-18 08:24:01 +02:00
3f6dfe393d Add timesyncd.conf 2022-03-18 08:23:53 +02:00
6e1b1e6e1b Add ssh host for unlocking the server cryptroot 2022-03-17 22:25:37 +02:00
0929a5d356 Update dotdrop 2022-03-17 22:25:23 +02:00
662491e11a Update authentik 2022-03-17 18:40:44 +02:00
c19fab21b3 Format zsh files 2022-03-11 18:14:21 +02:00
b3841fec56 Update dotdrop 2022-03-11 18:14:02 +02:00
ea1a4a130a Update postgres 2022-03-11 18:13:34 +02:00
c7ea081db8 Switch from firefox-nightly to stable 2022-03-05 08:38:19 +02:00
8f10c4cf0c Fix reference to lsp_map_keys 2022-03-02 23:16:43 +02:00
687e994266 nvim-jdtls: fix export/import 2022-03-02 23:15:00 +02:00
05fb156293 WIP: Not working yet 2022-03-02 20:19:11 +02:00
894ee7c2dd Nvim: add path source to cmp 2022-03-02 19:54:45 +02:00
277f6c0120 Nvim: update some deprecated lsp keybinds 2022-03-02 19:23:18 +02:00
5795589416 Nvim: add telescope-ui-select 2022-03-02 18:01:26 +02:00
7b13a37d2b Nvim: add telescope 2022-03-02 17:50:32 +02:00
901bccab0d Remove gotify 2022-03-02 17:37:46 +02:00
034580ebda Fix nvim git pager 2022-03-02 17:31:05 +02:00
1745422371 Make update alias use new dct function 2022-02-26 14:00:39 +02:00
853dbf724a Remove nvimpager from dotdrop config 2022-02-26 13:51:51 +02:00
d793734621 Convert rest of docker-compose files to TOML 2022-02-26 13:25:54 +02:00
8aaa911e19 Add docker-compose TOML function 2022-02-26 13:18:03 +02:00
e93b6a99fd Convert home automation docker-compose config to toml 2022-02-26 12:16:04 +02:00
7ad76e5ba7 Update dotdrop 2022-02-26 11:31:38 +02:00
c8c3cf3949 Remove nvimpager since I'm not using it anymore 2022-02-26 11:30:35 +02:00
347b6c1f50 Re-enable sway autostart 2022-02-24 18:10:37 +02:00
9e0399fbed Nvim: add jdtls 🚀 2022-02-24 18:08:59 +02:00
d695658146 Nvim: Setup LSP with additional capabilities supported by nvim-cmp 2022-02-24 17:27:49 +02:00
c14bf488c4 Disable automatically started sway 2022-02-24 17:27:30 +02:00
de518419ce Nvim: enable filetype.lua 2022-02-17 17:14:42 +02:00
4f2c3b5e7e Neovim: add friendly-snippets 2022-02-16 11:24:53 +02:00
efbc653977 Update catppuccin for foot, add for mako and zathura 2022-02-15 22:12:49 +02:00
ee401aacb9 Update update alias 2022-02-11 10:12:39 +02:00
848d3899d9 Alacritty: remove deprecated options 2022-02-05 19:57:09 +02:00
64de63a92a Update dotdrop 2022-02-05 19:56:33 +02:00
de043c126a Jellyfin: Pass through new AMD card for hw acceleration, upgrade to
10.8.0
2022-02-05 19:55:29 +02:00
ca071c11d1 Fix FZF 2022-02-03 11:26:12 +02:00
0e97eb8fbd Neovim: fix nvimtree keybind 2022-02-03 11:12:23 +02:00
495f8dd919 Update dotdrop 2022-02-01 16:43:13 +02:00
8b0bc829a2 Add ESPhome 2022-02-01 16:43:01 +02:00
b1007062be Neovim: add Neoformat keybind 2022-01-31 14:38:02 +02:00
fe04b45973 Update dotdrop 2022-01-31 14:37:56 +02:00
6b79ec86f8 Nvim: add fzf keybind 2022-01-15 12:32:39 +02:00
02f546deb5 Traefik: move to toml configuration and common middlewares
Also fixed nextcloud DAV resolution
2022-01-15 12:31:34 +02:00
8427208a2a Nvim: switch from telescope to fzf (I like the search algorithm better) 2022-01-06 12:53:18 +02:00
34e9c50de8 Update some paths 2022-01-06 12:47:07 +02:00
5411c2f5e7 Change colorscheme 2021-12-18 00:19:58 +02:00
0052ea28f8 Update dotdrop 2021-12-18 00:13:32 +02:00
c7bdd8a740 Remove bat 2021-12-18 00:12:45 +02:00
2b20c0e4f7 Tmux: enable mouse support 2021-12-18 00:12:24 +02:00
71582b9bdf Update systemd-boot config 2021-12-05 16:43:56 +02:00
eead44d29e Switch from efistub to systemd-boot and mkinitcpio efistub generation 2021-12-05 16:38:50 +02:00
432ee57180 Nvim: improve pager mode and other fixes 2021-12-04 11:43:26 +02:00
4aeaf540b7 Nvim: enable nvim-tree 2021-12-03 20:13:12 +02:00
f0b03ebd13 Neovim indent-blankline disable space and eol characters 2021-12-03 09:32:42 +02:00
bf1c9234e2 Neovim: Enable indent-blankline 2021-12-03 09:30:27 +02:00
6573316fba Disable dotdrop autoupdate 2021-11-30 17:38:54 +02:00
67610fa7e8 Update dotdrop 2021-11-30 17:37:43 +02:00
f6c715be63 Add remotely 2021-11-30 17:36:47 +02:00
0931c0b2e4 Update dotdrop 2021-11-30 17:36:46 +02:00
1b669c06fc Disable hass header auth 2021-11-30 17:36:44 +02:00
62e3e6d858 Git: don't keep backup when using mergetool 2021-11-30 16:56:15 +02:00
c2ff13e6f7 Neovim: Fix LSP server startup 2021-11-29 16:19:53 +02:00
8b7a8f13e9 Update dotdrop 2021-11-27 17:37:31 +02:00
70c2f68318 Add thunderbird to sway exec 2021-11-27 17:37:16 +02:00
f44300cb33 Delete wireguard docker. Will use on host instead 2021-11-27 17:36:31 +02:00
453efbd4ec Update dotdrop 2021-11-27 10:27:32 +02:00
68393225ee Neovim add lsp keybindings 2021-11-27 10:25:59 +02:00
91b671057e Neovim: switch from lspinstall to nvim-lsp-installer, coq_nvim to
nvim-cmp
2021-11-26 18:19:36 +02:00
65c6c66dc8 Update dotdrop 2021-11-26 17:19:23 +02:00
5f84ac78a3 Updates for authentik config 2021-11-26 17:18:40 +02:00
3702e12986 Updated dotdrop 2021-11-21 19:49:27 +02:00
308b43adcd Switch from openldap to authentik 2021-11-20 18:43:09 +02:00
e5ae761829 Update all compose files to use the new compose spec (removing version
statement)
2021-11-20 17:09:32 +02:00
8a92f7da5f Add openldap 2021-11-20 15:33:33 +02:00
82aff6d99c Revert "Move from ZHA to Deconz"
This reverts commit 00b29949ea47a4109dd01ef96710a690e5faee59.
2021-11-20 15:32:02 +02:00
f1719ac87a Move from ZHA to Deconz 2021-11-20 12:14:14 +02:00
32a7755325 Neovim: add firenvim 2021-11-20 12:13:39 +02:00
bb12b93d09 Update kernel cmd 2021-11-20 12:13:30 +02:00
1a8fbdccf7 Sway: remove gammastep (high CPU usage) 2021-11-20 12:12:58 +02:00
855b95e542 Updated dotdrop 2021-11-19 19:23:25 +02:00
662e63dfb3 Switch back to FZF from skim 2021-11-13 13:07:50 +02:00
69b09d2604 Remove unndeede options from gotify traefik config 2021-11-13 12:55:32 +02:00
c2f4868930 Don't install media profile on Moria 2021-11-13 12:43:52 +02:00
81a21eab77 Fix alias completion, cleaner setup for grc and clean up some old zsh stuff 2021-11-13 12:40:42 +02:00
574807279a Update dotdrop 2021-11-13 12:39:58 +02:00
42abc35be5 Remove missing /dev/dri from docker-compose confs 2021-11-02 10:26:21 +02:00
8782924ac5 Enable vulkan backend for sway 2021-11-02 10:25:27 +02:00
143a3c0e85 Update mergetest git alias 2021-11-02 10:21:31 +02:00
3b085c6187 Use zdharma forks of deleted psprint repos 2021-11-02 10:21:30 +02:00
945c76548a Sway: disable gaps 2021-10-16 10:59:23 +03:00
cad211b2f8 Fixes for gpg, refactor dotdrop config 2021-10-06 21:37:23 +03:00
36d7871256 Fixes for gpg-agent 2021-10-06 21:26:24 +03:00
77c42375ca Fix gpg pinentry on ssh 2021-10-06 20:55:50 +03:00
027049aced Neovim: switch completion plugin to coq.nvim 2021-10-06 19:08:38 +03:00
cff0adb487 Update dotdrop 2021-10-06 18:48:07 +03:00
fe6dbaaa60 Nvim: allow changing buffers with unsaved changes 2021-10-06 18:48:06 +03:00
fcc5cc64de Use exa completions for aliased ls 2021-10-06 18:48:05 +03:00
c6639a9491 Add pull to docker update 2021-09-29 18:19:54 +03:00
85b6500c19 Update to new docker-compose v2 syntax 2021-09-29 18:04:08 +03:00
00df564e77 Deleted telegram desktop custom launcher 2021-09-19 13:22:19 +03:00
33460617b7 Remove thefuck alias from zsh 2021-09-19 13:22:04 +03:00
f8b538e275 Enable wayland for plasma 2021-09-03 15:45:13 +03:00
d7ce6319b4 Change gitea outward facing port 2021-09-03 15:16:18 +03:00
d2e54b7ef5 Fix mko-laptop mpv 2021-08-31 16:42:49 +03:00
d0d51f9ea6 Nightfox: set() has been deprecated in favor of load() 2021-08-31 16:42:48 +03:00
e94a2ed26b Remove leftover traefik config 2021-08-30 16:10:01 +03:00
1afe0f59cf Enable http3 for all services, use central certResolver config 2021-08-30 16:08:38 +03:00
bb848dc70f Add tftp server 2021-08-30 16:08:27 +03:00
6b2755f1ae Add home assitant to fail2ban 2021-08-22 19:50:35 +03:00
c67776feb9 Rename some volumes 2021-08-22 19:23:07 +03:00
f750d718fa Fix fail2ban timezone 2021-08-22 19:16:06 +03:00
21a89943de Add fail2ban jails for gitea and nextcloud 2021-08-22 19:11:05 +03:00
859e9b6698 Remove portainer 2021-08-22 19:10:14 +03:00
d1b217a506 Fix nvim plugin update 2021-08-22 11:36:58 +03:00
0370e045b9 Rename docker-compose.yml -> docker-compose.yaml to be more consistent 2021-08-22 11:34:40 +03:00
e32190aa30 Add more configuration for indent-blankline 2021-08-22 11:33:15 +03:00
34ec627172 Change foot colors to nightfox 2021-08-22 11:32:40 +03:00
e18f384d41 Nvim: improvements to syntax highlighting and add a couple of plugins 2021-08-18 21:20:20 +03:00
cd62b162b8 Nvim: add fugitive 2021-08-18 14:17:19 +03:00
58a7a64346 Disable bat spacing in cat mode 2021-08-18 09:31:32 +03:00
bdf01fdae1 Alias ls and cat to exa and bat 2021-08-18 09:30:21 +03:00
21c0c53c95 Change git diff tool configuration 2021-08-18 09:30:09 +03:00
80fb138fc1 Nvim: add git gutter and line numbers 2021-08-18 09:29:44 +03:00
c3dd70706c Add diff settings for neovim 2021-08-17 22:36:48 +03:00
a824b29e71 Fixes to PAGER 2021-08-17 21:26:05 +03:00
b6b878e461 Only enable pacman command not found handler for archlinux hosts 2021-08-17 21:02:58 +03:00
da9abb7282 Activate zsh rehash with pacman hook 2021-08-17 20:54:45 +03:00
0250876649 Some fixes for skim 2021-08-17 20:32:46 +03:00
0f653f785f Add ~/.bin to path 2021-08-17 19:36:11 +03:00
270a580e8e ZSH improvements:
- Move from FZF to skim (seems to be a bit faster and smooth)
- Improve history
    * Add new options to not save duplicate entries etc
    * pi/pr aliases expand the paru command to history now
2021-08-17 19:17:38 +03:00
9d3972a54a Switch from nvimpager to just nvim as pager 2021-08-17 17:43:30 +03:00
e5d07324a5 Sway: fix unfocused text color 2021-08-17 17:41:52 +03:00
b301ede52a Remove unused docker-compose stack 2021-08-16 23:05:32 +03:00
b55b6468d1 Disable java lsp for now 2021-08-16 22:33:24 +03:00
f6cf8443e4 Add gammastep for sway 2021-08-16 22:33:11 +03:00
ff7e505a60 Enable corectl 2021-08-16 22:32:37 +03:00
cb3ef36515 Enable wayland for electron and clutter 2021-08-16 22:30:50 +03:00
3ea614cc21 Add push to git mergetest alias 2021-08-12 09:37:45 +03:00
bbad1c4253 Add mergetest git alias 2021-08-10 11:31:19 +03:00
55187f9675 Fix zprofile sway start 2021-08-08 15:41:23 +03:00
95a99aa1bf Refactor neovim config (#2)
Changes include:

- [x] Use init.lua instead of init.vim
   - Some keybindings are still to be converted
- [x] Use packer as a package manager instead of vim-plug
- [ ] Use built-in lsp instead of coc.nvim
   - [x] Set up language servers
   - [x] Completion
   - [x] Formatting (previously coc-prettier, now neoformat)
   - [ ] Snippets
- [ ] Replace fzf with telescope.nvim
- [x] Implement treesitter syntax highlighting
   - More info: https://github.com/nvim-treesitter/nvim-treesitter

Note that this requires neovim nightly until 0.5 is released

Reviewed-on: #2
Co-authored-by: Marko Korhonen <marko@korhonen.cc>
Co-committed-by: Marko Korhonen <marko@korhonen.cc>
2021-08-08 15:33:23 +03:00
b4f2b57060 Add MOZ_DBUS_REMOTE env variable 2021-08-08 15:25:20 +03:00
9d4cea56a4 Update dotdrop 2021-08-08 15:22:54 +03:00
9cdd992f20 Add coturn to nextcloud 2021-08-08 15:22:24 +03:00
924cc4f807 Use fd instead of ripgrep in zsh fzf plugin 2021-08-03 12:03:39 +03:00
ec490c0d32 Remove docker-compose zsh completion since it's provided by default
nowadays
2021-07-29 22:41:28 +03:00
24f4d3fc42 Remove spotifeed 2021-07-27 10:28:21 +03:00
3bd0ce5af7 Add emulated hue 2021-07-27 10:28:11 +03:00
18074cde8b Add cpupower conf to mko-laptop 2021-07-27 09:18:40 +03:00
5764bcc6cb Enable parallel downloads for pacman 2021-07-23 12:11:27 +03:00
80728aa90f Only add vulkan and wayland stuff for mirkwood mpv 2021-07-16 11:29:24 +03:00
881c8afadc Update dotdrop 2021-07-16 11:29:14 +03:00
6d1ed94046 Dynamic git config for work laptop 2021-07-16 11:28:57 +03:00
e67f95431e Add an include file for Rossum hosts 2021-07-16 11:28:34 +03:00
aa7280dac2 Remove deprecated option from alacritty 2021-07-08 13:11:43 +03:00
f404f5c758 Update dotdrop 2021-07-08 13:11:43 +03:00
08e1e09111 Add gpg conf 2021-06-23 13:05:17 +03:00
e778278a72 Update dotdrop 2021-06-23 13:04:58 +03:00
a64d1345ee Aliases don't need $@ 2021-06-11 10:55:55 +03:00
64fc8d9c0d Change grc functions to aliases. Fixes some syntax errors (?) 2021-06-11 10:53:35 +03:00
af2950badc Remove deprecated option from pacman.conf 2021-06-10 10:14:42 +03:00
2befb18c64 Merge branch 'master' of gitea:FunctionalHacker/dotfiles 2021-05-18 09:03:56 +03:00
d3c14c0ef7 Add media profile to mko-laptop 2021-05-18 09:03:34 +03:00
19c7cb93ca Add rebase merges to gitconfig 2021-05-18 09:03:12 +03:00
570435b227 Update dotdrop 2021-05-08 12:06:36 +03:00
5d13d202c0 Add packager information to makepkg 2021-04-22 18:35:03 +03:00
a2b19f120a Enable optimized build for rust and x86-v3 2021-04-22 18:00:22 +03:00
2f1317359c Fix gpg-agent 2021-04-21 17:46:54 +03:00
30a2ef11ff Add dbus-update-activation-environment to sway exec, fixes
pinentry-gnome3
2021-04-21 17:15:30 +03:00
8fd0c78fe0 Update dotdrop 2021-04-19 20:22:23 +03:00
240f18b25a Add viiru ja teippu ssh 2021-04-19 20:21:19 +03:00
57f60ce7e2 Update dotdrop 2021-04-19 20:20:55 +03:00
30ffb809cd Update dotdrop 2021-04-19 20:20:21 +03:00
326941dcf8 Begin setting up openldap etc 2021-04-19 20:19:41 +03:00
87d442cf26 Misc changes 2021-04-19 20:19:14 +03:00
02afcbc241 Rework træfik config 2021-04-19 20:17:45 +03:00
a7fd9883e3 Update facebook video regex's 2021-04-11 10:42:33 +03:00
afa761e3df Update dotdrop, add viirujateippi profile 2021-04-09 21:02:47 +03:00
f00b0d9a37 Update dotdrop 2021-03-25 12:50:41 +02:00
9e0adbc3c5 Add nvidia passthrough for jellyfin 2021-03-25 12:50:10 +02:00
87fd6fed1a Fix beets music library path 2021-03-24 18:43:52 +02:00
7cc75c912d Fix spotifeed 2021-03-03 20:47:47 +02:00
c0044a88e3 Remove gnome-keyring 2021-02-27 12:28:19 +02:00
798d849e6e Fix output name 2021-02-27 11:53:19 +02:00
9b68f61d88 Disable laptop screen output when closing lid 2021-02-27 11:49:59 +02:00
828b889625 Update dotdrop 2021-02-27 11:49:51 +02:00
b32eb40b73 Use zstd compression for initrd 2021-02-18 19:06:19 +02:00
233c316019 Remove custom encrypt initcpio hook 2021-02-18 19:05:53 +02:00
f96ce754bc Add initrd to efistub configs 2021-02-18 18:57:15 +02:00
49ad3bb40c Add customized encrypt hook 2021-02-18 18:54:50 +02:00
bc3e555074 Update systemd-boot config for future reference 2021-02-18 18:54:26 +02:00
1c345857bf Update dotdrop and fix root config 2021-02-18 18:29:40 +02:00
c31598ccb0 Switch to busybox init hooks from systemd 2021-02-18 18:18:36 +02:00
2775d41830 Switch from systemd-boot to efistub 2021-02-18 17:47:10 +02:00
24dd62e0aa Don't load mpris plugin in config
Fixes #4. Apparently the AUR package has been updated to load the plugin
automatically
2021-02-15 17:06:27 +02:00
6fe89e1016 Use mpv input-ipc instead of input-file on mpvqueue script
Fixes #3
2021-02-12 19:06:35 +02:00
13f7c3dd4d Update dotdrop 2021-02-12 19:06:24 +02:00
977bf2de1d Update dotdrop 2021-02-11 17:25:18 +02:00
0632f9e75e Open tvheadend port again 2021-02-11 17:24:26 +02:00
776945ac70 Update dotdrop 2021-02-10 17:59:26 +02:00
1ea8ff0cdd Mount picons to tvheadend 2021-02-03 22:05:52 +02:00
7bd5b0b9e7 Update mko-laptop files 2021-01-30 12:18:54 +02:00
26e0976453 Add wordpress 2021-01-30 11:46:02 +02:00
c9674bc9ad Add coc-flutter to nvim 2021-01-30 11:23:00 +02:00
6f64e8296c Remove deprecated ncmpcpp options 2021-01-30 11:22:45 +02:00
fdadd3671f Make update repo function update firefox too 2021-01-19 18:40:44 +02:00
aa3ab82769 Mount bibliogram config 2021-01-16 14:58:54 +02:00
b055113c39 Publish bibliogram on the proxy 2021-01-16 14:51:15 +02:00
8978b8c328 Add bibliogram 2021-01-16 14:47:10 +02:00
0107d1c4de Add image name for spotifeed and open ports 2021-01-16 14:32:34 +02:00
2254c618c4 Use master version of spotifeed 2021-01-16 14:30:24 +02:00
479c072fc5 Make freshrss depend on spotifeed 2021-01-16 14:26:46 +02:00
a1cf3d8943 Add spotifeed 2021-01-16 14:24:45 +02:00
dfd5b5082c Update firefox with all target 2021-01-16 12:14:40 +02:00
31edb64dbb Fix firefox update function 2021-01-16 12:13:33 +02:00
c1762007fc Fix firefox update function 2021-01-16 12:10:24 +02:00
e7bdd28ffe Merge branch 'master' of gitea:/FunctionalHacker/dotfiles 2021-01-16 12:09:04 +02:00
4ca00a8068 Fix firefox nightly update function 2021-01-16 12:08:56 +02:00
60188ea0d3 Fix firefox nightly update function 2021-01-16 12:07:38 +02:00
10aff5d999 Move homeautomation for postgresql 2021-01-09 13:41:25 +02:00
8268daeb9b Move gitea to postgresql 2021-01-09 13:40:57 +02:00
78d5eddfc1 Change freshrss to postgresql 2021-01-09 12:14:05 +02:00
5a04ce912a Move nextcloud to postgresql 2021-01-09 11:47:26 +02:00
8500294bf7 Add postgresql 2021-01-09 11:47:08 +02:00
5148815f42 Add proxy network for tvh 2021-01-06 22:14:56 +02:00
8754b128db Add tvh to traefik 2021-01-06 22:10:35 +02:00
48c865b706 Add tvheadend 2021-01-03 21:34:03 +02:00
a7b48d6b9c Fix cachedir on repo 2021-01-01 14:03:30 +02:00
52d85bc160 Update dotdrop, remove ubooquity 2021-01-01 13:51:59 +02:00
f8252e4401 Add remote forward 2021-01-01 13:47:13 +02:00
e8fddc9938 Add pacman config for gondor 2020-12-30 10:58:25 +02:00
b7e1f224d3 Add ubooquity 2020-12-25 14:39:12 +02:00
cf1359f6ba AnittaPC -> Edoras 2020-12-25 11:49:03 +02:00
f7fe7f9240 Add Edoras and use pacserve for korhonen_aur 2020-12-25 11:46:44 +02:00
9cf2640706 Small fix 2020-12-25 11:11:53 +02:00
6cba0b727d Update firefox nightly every time repo updates 2020-12-25 11:05:49 +02:00
3a451f7538 Small fixes 2020-12-25 10:59:03 +02:00
996436c1cd Add repo maintenance alias and AUR_PAGER in env 2020-12-20 15:34:07 +02:00
f0a539efab Move aur repo path 2020-12-20 12:05:48 +02:00
9fef0b7ded Only set SSH_AUTH_SOCK if not logging in over SSH 2020-12-17 00:08:23 +02:00
9115ab83d5 Fix gpg env setup 2020-12-17 00:03:06 +02:00
b29400e519 Add index.korhonen.cc and aur repository 2020-12-16 21:32:24 +02:00
0a138f5c61 Update keybinds to use foot 2020-12-16 18:06:56 +02:00
62fb238425 Switch sway terminal emulator to foot 2020-12-16 17:07:24 +02:00
23365905c8 Add restart parameter for tts services 2020-12-14 19:00:08 +02:00
36ba768944 Update dotdrop 2020-12-14 16:56:06 +02:00
576e6a255b Update work laptop config 2020-12-14 16:55:23 +02:00
0c11135ed9 Update ssh config 2020-12-06 14:48:53 +02:00
266bb5e575 Move from deconz to ZHA 2020-12-06 12:52:08 +02:00
8b3c279ee2 Remove resolved.conf 2020-12-06 12:49:29 +02:00
d5b3c28e8d Simplified network config and removed old service files 2020-12-06 12:43:17 +02:00
5749b6bc59 Update root config 2020-12-06 11:44:07 +02:00
e25601f71e Small fixes 2020-12-06 11:39:02 +02:00
a850facbe2 Merge branch 'master' of gitea:/FunctionalHacker/dotfiles 2020-12-06 11:38:27 +02:00
da8bc2153f Update dotdrop 2020-12-06 11:37:14 +02:00
6fe85ac768 Change domains and other things 2020-12-06 11:36:01 +02:00
c06e1f1550 Merge branch 'master' of gitea:FunctionalHacker/dotfiles 2020-12-04 10:41:21 +02:00
784ee8526e Improve vim ripgrep 2020-12-04 10:41:08 +02:00
cf6d03573b Rework network config 2020-12-02 20:33:43 +02:00
106d651980 Removed a workaround that is not needed anymore 2020-12-01 18:03:30 +02:00
979861cd6b Change git config to use new mail address 2020-11-25 10:19:18 +02:00
bf10ef8645 Working on neomutt setup and some other small fixes 2020-11-25 10:06:19 +02:00
91836193e7 Update README 2020-11-24 19:48:51 +02:00
cdcdad9e33 Configure msmtp and misc changes 2020-11-21 17:41:44 +02:00
34f56ecda5 Add dotdrop deps 2020-11-21 15:59:54 +02:00
fc01fdc583 Small fix 2020-11-21 15:57:41 +02:00
4bdd1ca610 Working on migrating to neomutt 2020-11-21 15:37:58 +02:00
4f1b4b54d3 Update dotdrop 2020-11-21 15:36:57 +02:00
a636b35727 Update deploy.sh 2020-11-21 15:36:35 +02:00
d78c648118 Switch to paru 2020-11-21 14:55:13 +02:00
6df6755198 Updated dotdrop 2020-11-21 14:52:26 +02:00
c8afa83400 Update secrets 2020-11-21 13:23:01 +02:00
f81ffb4480 Update secrets 2020-11-21 13:02:03 +02:00
9f44d02ed6 Moved to paru 2020-11-20 00:23:02 +02:00
7bf992b409 Added firenvim 2020-11-18 18:34:29 +02:00
a48f147dae Small fixes 2020-11-16 11:50:40 +02:00
cfc0dfdfbd Update gitea domain in ssh conf 2020-11-07 17:43:18 +02:00
6c7a10e1f0 Removed docker configs for stuff I don't use anymore 2020-10-25 14:07:26 +02:00
8381065d02 Moved wordpress to gondor 2020-10-25 14:05:58 +02:00
5dee3fd36b Disallow root login over ssh 2020-10-25 13:01:43 +02:00
18bb002436 Remove pacman config from Gondor 2020-10-25 12:30:01 +02:00
ce2bfc821d Remove rivendell 2020-10-25 12:27:52 +02:00
377e745ca7 Add root config for gondor 2020-10-25 12:27:35 +02:00
954c08f2d0 Added new VPS 2020-10-24 23:03:43 +03:00
14968517ce Add wireguard 2020-10-19 17:21:24 +03:00
6da8cff4ca Added wordpress 2020-10-17 12:31:03 +03:00
5ad2dff065 Fixes for nextcloud and added rhasspy 2020-10-17 11:53:27 +03:00
d7cc370c5b Accumulated changes while server was down 2020-10-06 20:38:15 +03:00
1108939904 Updated FZF stuff, some other minor tweaks 2020-09-18 23:28:06 +03:00
bf52dbe408 Fixed swap 2020-09-18 23:27:31 +03:00
8ab3e18ac6 Switched to fd 2020-09-18 23:26:58 +03:00
b2f5ca123c Small fixes 2020-08-08 00:56:21 +03:00
1249e2731f Add coc-java 2020-07-20 16:08:30 +03:00
52a3ff6fda Remove unneeded port 2020-07-12 14:04:53 +03:00
eafb70c69e Remove hostname 2020-07-12 14:03:41 +03:00
1abd2a40a3 Add hostname for pihole 2020-07-12 13:45:12 +03:00
eb0505c848 Fix traefik port on pihole 2020-07-12 13:32:27 +03:00
0666124f40 Remove unneeded network 2020-07-12 13:28:02 +03:00
b2afc34ea3 Add networks 2020-07-12 13:27:17 +03:00
bfa7a1b99b Add pihole to traefik 2020-07-12 13:23:18 +03:00
d14f802f39 Change port 2020-07-12 12:03:24 +03:00
ee5b40ac9d Rename pi-hole -> pihole 2020-07-12 12:01:46 +03:00
b9517b4c02 Add pi-hole 2020-07-12 11:59:30 +03:00
3a8dc03148 Fix node-red traefik label 2020-07-12 11:29:58 +03:00
8ebf1663e3 Restart containers unless stopped 2020-07-11 14:24:47 +03:00
1a1a829ddf Add server mariadb access alias 2020-07-11 14:15:50 +03:00
7fe16d3365 Move freshrss to standalone mariadb 2020-07-11 14:00:27 +03:00
908cce8a3a Remove depends 2020-07-11 13:52:37 +03:00
f348349405 Change nextcloud to standalone mariadb 2020-07-11 13:45:05 +03:00
6bde663d03 Small fix 2020-07-11 13:36:40 +03:00
82fa54bbed Change hass mariadb to standalone container 2020-07-11 13:00:48 +03:00
8109d3f9ea Change network name 2020-07-11 12:34:04 +03:00
b7cd414a41 Fix syntax 2020-07-11 12:33:26 +03:00
466cf7f15d Fix syntax 2020-07-11 12:32:00 +03:00
24b192907e Change network name 2020-07-11 12:30:49 +03:00
6d4f737314 Added common gitignore for env 2020-07-11 12:27:16 +03:00
543bf3be0c Remove init script 2020-07-11 12:24:17 +03:00
4a65305b00 Merge branch 'master' of gitea:ReekyMarko/dotfiles 2020-07-11 12:21:46 +03:00
731ce88fa6 Added mariadb standalone container 2020-07-11 12:21:32 +03:00
486cc4a975 Merge branch 'master' of git.reekynet.com:ReekyMarko/dotfiles 2020-07-09 11:18:40 +03:00
c0981d5781 Remove prettier formatonsave 2020-07-09 11:18:16 +03:00
8daae1002f Update GID 2020-07-05 12:17:03 +03:00
7a27b957fa Change port 2020-07-05 12:15:18 +03:00
f3ee112016 Change db password 2020-07-05 12:14:15 +03:00
8816d19522 Add network stuff and db 2020-07-05 12:13:51 +03:00
94bfc8da66 Switch to freshrss 2020-07-05 12:02:51 +03:00
00ef02f104 Remove unneeded directory 2020-07-05 11:23:53 +03:00
4821ee8e01 Switch to newsblur 2020-07-05 11:21:34 +03:00
e55e17b669 Remove nvidia hwaccel 2020-06-28 15:28:40 +03:00
794250db3b Added nvidia HW acceleration 2020-06-28 15:06:09 +03:00
c7de6ce5c5 Fix depends 2020-06-27 11:34:42 +03:00
acd7873899 Fix container names 2020-06-27 11:32:36 +03:00
9d74f42f96 Small fixes 2020-06-27 11:26:25 +03:00
27a940264b Renamed db volume 2020-06-27 11:21:20 +03:00
2fe179099f Add container names 2020-06-27 11:12:45 +03:00
a761409cef Added new rebase option 2020-06-27 11:07:51 +03:00
bf870de435 Add networks 2020-06-27 11:04:29 +03:00
af93bdf660 Fix GID 2020-06-27 11:02:01 +03:00
6dd6d660df Small changes 2020-06-27 10:59:24 +03:00
283b7539aa Small fixes 2020-06-27 10:51:02 +03:00
564af1ac5d Small changes 2020-06-27 10:48:03 +03:00
1666275218 Added gitignore 2020-06-27 10:38:40 +03:00
c7eb1ecf76 Added tt-rss 2020-06-27 10:37:48 +03:00
038b834738 Tweak update function 2020-05-31 13:12:44 +03:00
5077ff09c6 Fix pacserve order 2020-05-31 09:24:48 +03:00
9915958ccc Add pacserve 2020-05-31 09:18:17 +03:00
d266fd979e Add pacserve 2020-05-31 09:15:18 +03:00
b5de5b73f6 Change matterbridge version to stable 2020-05-31 09:07:02 +03:00
1dd24e6dde Add container name to matterbridge 2020-05-31 09:01:34 +03:00
10a961dfe6 Add matterbridge 2020-05-31 08:47:01 +03:00
285a1512cc Small fixes 2020-05-21 16:30:34 +03:00
5d58b35f67 Revert network mode host 2020-05-18 20:18:52 +03:00
a4edad2a04 Small fixes 2020-05-18 20:15:52 +03:00
139da63a82 Lots of changes 2020-05-06 09:47:03 +03:00
fea318ad89 I use it btw 2020-04-27 13:22:08 +03:00
1dd15d1484 Make cat alias use regular cat if output not term 2020-04-27 12:16:02 +03:00
99b5d215c2 Make nvimpager cat alias ncat instead 2020-04-27 12:08:35 +03:00
59a80c8b2f Small tweaks to sway 2020-04-26 14:30:43 +03:00
5b1c6c49f5 Change mpv osd font 2020-04-26 14:29:35 +03:00
d04e13e6dd Add locale configs to localhost 2020-04-26 14:29:22 +03:00
58708c1e83 Pacman tweaks 2020-04-26 14:24:34 +03:00
3318d7504e Add localhost 2020-04-26 14:20:47 +03:00
880145c186 Add profile for localhost 2020-04-26 13:13:12 +03:00
3958470ab9 Small tweak for update function 2020-04-20 21:51:00 +03:00
d107cf44ec Shouldn't copy paste stuff blindly 2020-04-19 11:54:48 +03:00
8310e6943c Fixed mixed up keybinds in gaps mode 2020-04-18 13:41:09 +03:00
f402f21cd2 Add journalctl aliases 2020-04-18 13:41:00 +03:00
3b418809dd Add XDG_CURRENT_DESKTOP 2020-04-18 13:40:46 +03:00
b15d213ff5 Fix ipmi script paths 2020-04-17 10:45:33 +03:00
02642f9dc6 Cleaned up scripts folder and moved some stuff 2020-04-17 10:36:41 +03:00
d003263cb6 Change docker update function name 2020-04-15 13:09:11 +03:00
ab5f5f7899 Change gtk theme 2020-04-14 23:28:13 +03:00
cf1128622f Revert "Fix docker update function name"
This reverts commit 93e9f035ef61553fb492121919dc1f8178cc3a21.
2020-04-14 22:43:59 +03:00
c62b2c98bc Fix docker update function name 2020-04-14 22:41:49 +03:00
76cad1cb1c Switch to stable gitea image 2020-04-14 22:34:56 +03:00
0e80996300 Exclude docker from others than Moria 2020-04-14 15:05:05 +03:00
3d6aaee81d Made firefox-nightly update only for Mirkwood 2020-04-14 14:44:16 +03:00
93b7a41cc6 Made a new update function 2020-04-14 14:38:51 +03:00
cfd8e0e933 Forgot endif 2020-04-14 14:04:22 +03:00
13d5c54012 Revise update aliases 2020-04-14 14:03:21 +03:00
d0264df887 chmod +x 2020-04-14 13:37:25 +03:00
2f33384046 Add update scripts for docker 2020-04-14 13:36:42 +03:00
aa9dfd0998 Remove docker-prune alias (docker system prune -a) 2020-04-14 12:40:57 +03:00
e7656b50bd Small changes 2020-04-14 12:37:19 +03:00
cf48709744 Added docker-prune alias 2020-04-14 12:36:52 +03:00
ecd25a0d44 Made update alias print news 2020-04-14 10:27:39 +03:00
6db33545c3 Update config-root 2020-04-13 13:24:46 +03:00
d83921a29b Remove unused containers 2020-04-13 13:24:37 +03:00
9a1e2a35de Make power management more automatic 2020-04-13 13:24:20 +03:00
5e35d9e8f4 Fix mimeo keybind 2020-04-13 13:23:39 +03:00
a5ae6ab883 Move environment vars to sway start script 2020-04-12 13:44:15 +03:00
5586cbc9ef Moved environment to home 2020-04-12 13:04:36 +03:00
f089b14ec6 Remove pacserve 2020-04-09 16:24:20 +03:00
9f5b20897c Refactor update function 2020-04-09 16:24:05 +03:00
29a4de93dc Fix typo 2020-04-09 16:23:51 +03:00
fdfb45921f These don't work 2020-04-07 13:29:53 +03:00
8b06f68da7 Added new mediaplayer script for waybar 2020-04-07 13:29:13 +03:00
2b15ddf18e Cleaned up input.conf 2020-04-07 13:28:12 +03:00
77952b0622 Maintenance 2020-04-04 11:39:08 +03:00
404a25c690 Remove deprecated keys 2020-04-04 11:39:00 +03:00
ed38479bef Change icon theme and misc stuff 2020-04-04 11:38:39 +03:00
124ac1dce8 Chmod wireguard stuff 2020-04-04 11:33:25 +03:00
be4be91cd4 Back up network stuff 2020-04-04 11:31:11 +03:00
6d81ef9d8b Moved wireguard to systemd-networkd 2020-04-04 11:30:43 +03:00
afd34f8411 Added wofi 2020-04-04 11:30:12 +03:00
d95f12900f Map audio-delay 2020-03-30 18:21:34 +03:00
05b9ccfaa2 Add system.conf modifications 2020-03-30 18:21:16 +03:00
d222003be7 Add reboot to kodi option 2020-03-30 18:21:00 +03:00
1df6812cf1 Some config cleanup.
Also fixed an issue with the touchpad not working on external
monitors. Touchpad should not be mapped to output (D'oh)
2020-03-30 18:19:55 +03:00
cb16407646 Remove bootloader config 2020-03-24 10:44:34 +02:00
a2a9b9d1f9 Run keyring and polkit 2020-03-24 10:44:05 +02:00
c914156534 Remove redundant icon from bluetooth audio 2020-03-24 10:43:40 +02:00
34ad966e12 Add recursive parameter to autoremove alias 2020-03-24 10:43:19 +02:00
3dabf533df Add wob to waybar 2020-03-12 18:46:18 +02:00
b7ff6de76e Switch from ls_extended to exa 2020-03-12 18:45:52 +02:00
1d60c6cc55 Remove systemd stuff from dotdrop actions 2020-03-12 18:45:32 +02:00
223205856d Fix screen rotate keybind 2020-03-12 18:45:02 +02:00
4b5494821b Fix path 2020-03-10 11:59:47 +02:00
12ec0215b7 Trying out organizr 2020-03-10 11:49:38 +02:00
c7e86884ae Remove ydotoold service. Using supplied one 2020-03-10 11:48:35 +02:00
57bd8a6636 Small fixes 2020-03-10 11:48:16 +02:00
65a60d5cae Some tweaks for latex 2020-03-05 21:28:10 +02:00
5de85b9174 Add clipman 2020-03-05 14:04:13 +02:00
09dd181a01 Fix typo 2020-03-03 17:47:06 +02:00
05cc525b97 Added wofi mode 2020-03-03 17:46:20 +02:00
0fca4f1342 Switch to wofi 2020-03-03 17:43:40 +02:00
35fa6f4d9c Trying out a lower static speed 2020-03-03 16:54:47 +02:00
b93f052019 Added archiso download alias 2020-03-03 16:54:32 +02:00
cb91717837 Make mpdris depend on mpv 2020-03-03 16:54:13 +02:00
e1eb5a38d1 Move env to /etc 2020-03-03 13:51:13 +02:00
253cea2418 Small fix 2020-03-03 13:30:19 +02:00
a2cc1c585e Make volume step 1 2020-03-03 13:30:03 +02:00
fde871f410 Fix wob 2020-03-03 13:29:23 +02:00
26069003d8 Added music volume 2020-03-02 21:49:14 +02:00
5d031ac249 Small changes 2020-03-02 21:48:34 +02:00
a275c099b6 Add zprofile back to mirkwood 2020-03-02 21:43:38 +02:00
6e324e4c6b Redo mpvqueue script 2020-03-02 21:38:33 +02:00
f88680995d Add syncthing volume 2020-03-02 21:38:10 +02:00
ed3ef91c56 Move some sway stuff away from systemd 2020-03-02 21:37:48 +02:00
a453cf5948 I'll install mc from aur instead 2020-02-29 13:46:37 +02:00
e72e2e45df Fix typo 2020-02-29 13:44:39 +02:00
86fb836bb2 Change image 2020-02-29 13:43:18 +02:00
9eb2379017 Add tag 2020-02-29 13:20:29 +02:00
db06e4e081 Small fix 2020-02-29 13:17:33 +02:00
917911cf77 Fix name 2020-02-29 13:10:49 +02:00
8a0f94f8cc Add minecraft server 2020-02-29 13:09:51 +02:00
5e247a343a Change network_mode to host 2020-02-29 12:42:31 +02:00
a3de0e2713 Fix uid/gid 2020-02-27 19:44:55 +02:00
3b09dda0a5 Fix domain 2020-02-27 18:27:47 +02:00
4df82f90c2 Expose port 2020-02-27 18:17:54 +02:00
5a219b0949 Fix cron volume 2020-02-27 18:14:13 +02:00
cd57e22c98 Add nextcloud 2020-02-27 18:13:02 +02:00
4990dd9645 Small fix 2020-02-26 16:26:15 +02:00
eccaabea57 Add network 2020-02-25 13:31:57 +02:00
07c7f7ce7c Fix log path 2020-02-25 13:31:00 +02:00
44c060ed43 Add pihole 2020-02-25 13:30:13 +02:00
bc80c516a9 Fix wob 2020-02-25 13:29:54 +02:00
476a684319 Remove redundant line 2020-02-19 22:32:28 +02:00
c78f77e290 Remove redundant line 2020-02-19 22:31:51 +02:00
90fc7f56ec Add full speed fan script 2020-02-19 20:33:15 +02:00
1d7b00931c Move ipmi scripts to mqtt 2020-02-18 15:44:17 +02:00
fa6fa78418 Add mosquitto to HA network 2020-02-18 15:29:49 +02:00
cab85033bb Forward mqtt ports 2020-02-18 15:28:18 +02:00
6d6fd98060 Remove ipmi files 2020-02-18 15:26:15 +02:00
07efd74874 Add mosquitto dependency for HA 2020-02-18 15:24:40 +02:00
5ee48f1ecb Add mosquitto back 2020-02-18 15:23:24 +02:00
7e2ada839d Fix script path 2020-02-18 15:16:41 +02:00
6c11af2f2c Fix script path 2020-02-18 00:01:55 +02:00
0b27ec5d29 Make moria and rivendell use lan addresses 2020-02-17 23:52:40 +02:00
76fe9f2e6b Make fan speed a bit higher 2020-02-17 23:45:16 +02:00
0965d9a259 Add second authorized_key 2020-02-17 23:43:57 +02:00
20e5f252fa Move ipmi stuff to server profile 2020-02-17 15:20:46 +02:00
5ebe2facce Forgot these 2020-02-17 15:19:53 +02:00
90dcc0b6ee Add fan service 2020-02-17 15:12:40 +02:00
1ef8f794ea Move ipmi services to own directory 2020-02-17 15:10:24 +02:00
6649ff205c Add more ipmi stuff 2020-02-17 15:09:09 +02:00
eed7aabf01 Move some files around 2020-02-17 13:52:25 +02:00
ecaf14ecb8 Mount idrac temp in hass 2020-02-17 13:38:52 +02:00
a27e4a1fc9 Revert "Mount idrac temp file in hass"
This reverts commit 81b62e181090763d63e3f0169daec4f9f0d9d21b.
2020-02-17 13:27:33 +02:00
dae594005d Mount idrac temp file in hass 2020-02-17 13:24:50 +02:00
2da55dc5bd Echo ipmi temp to /tmp for use in home assistant 2020-02-17 13:22:21 +02:00
4014bd7671 Change network mode back to host and disable upnp 2020-02-16 22:15:54 +02:00
e2977cea92 Add port 2020-02-16 22:11:32 +02:00
5d876bce72 Add dependency to mariadb 2020-02-16 22:09:02 +02:00
ee39c7da31 Remove leftover file 2020-02-16 22:03:42 +02:00
52666e5248 Close down deconz 2020-02-16 22:03:07 +02:00
9e03c1989f Remove mosquitto 2020-02-16 18:22:28 +02:00
cfd6385c7a Add ikea firmware volume 2020-02-16 18:21:38 +02:00
efd7a318fb Revert "Move from deconz to zha"
This reverts commit 2fb5a214f161e22671ff3c377699516b9c4abbd8.
2020-02-16 17:27:55 +02:00
f6bba18a8b Oops wrong commit reverted
This reverts commit 37ead768836247870e8a4adb91cc2489b4f7ba82.
2020-02-16 17:25:29 +02:00
37e2aad2cb Move back to deconz
This reverts commit 03ff7a70fdc52c70a7abf8b8374e3a6aa5d167f0.
2020-02-16 17:23:15 +02:00
cc44e0654a Small fix 2020-02-16 15:20:11 +02:00
57ceac9dbc Move from deconz to zha 2020-02-16 14:44:37 +02:00
cf0a4ca9c9 Add ip forwarding for Moria 2020-02-14 02:29:28 +02:00
83f1de447d Add static fanspeed script 2020-02-14 01:32:04 +02:00
60c7b48c59 Make executable 2020-02-14 01:28:41 +02:00
3d2a507daa Fix typo 2020-02-14 01:27:47 +02:00
ae226bca73 Fix name 2020-02-14 01:26:50 +02:00
2afba83f04 Add ipmi-temp service and timer 2020-02-14 01:26:00 +02:00
78dc41b64a Added ipmi control scripts 2020-02-14 01:11:23 +02:00
1627d59a24 Does it work now? 2020-02-14 00:44:51 +02:00
2d843fa429 Fix users and groups 2020-02-14 00:42:37 +02:00
16ad69644e Update user 2020-02-14 00:32:56 +02:00
7fb89281ee Change jellyfin user 2020-02-13 23:57:30 +02:00
029eceb92e Move to traefik proxy 2020-02-13 21:24:50 +02:00
a19656cb59 Remove timesyncd from rivendell 2020-02-13 20:22:05 +02:00
2ffe5b1cdc Small fixes 2020-02-13 20:18:20 +02:00
5b31eff960 Add Moria to ssh config 2020-02-13 20:15:16 +02:00
49b8c9df07 Add sshd conf for Moria 2020-02-13 19:45:25 +02:00
85b6ae7093 Add root dotfiles for new server 2020-02-13 19:35:16 +02:00
345af1bd4a Add new server profile 2020-02-13 19:15:07 +02:00
7c1efbd74c Small fixes 2020-02-10 11:40:46 +02:00
fb4d4b2ab9 Change UID and GID 2020-02-10 00:55:58 +02:00
a1c04bbb78 Update permission env vars 2020-02-10 00:49:20 +02:00
fa36bb058c Forgot to change image name etc 2020-02-10 00:32:53 +02:00
9954836be0 Update timezone stuff 2020-02-10 00:31:05 +02:00
fbdb0b7a11 Add mumble to docker 2020-02-10 00:20:41 +02:00
124325abbf Remove freepbx 2020-02-08 17:27:58 +02:00
6a086f709e Change portainer volume path 2020-02-04 17:25:37 +02:00
0e08dea809 Move portainer to it's own stack 2020-02-04 17:25:15 +02:00
3b374a70d5 Fix timezones 2020-02-04 17:23:04 +02:00
5273fd2432 Small fixes 2020-02-04 17:21:43 +02:00
25813f6680 Change rivendell ssh port 2020-02-04 17:21:26 +02:00
9de39fde97 Move tvheadend and gitea to docker 2020-02-04 17:21:11 +02:00
c3c0a1c4db Add replaygain to mpv 2020-02-04 15:12:48 +02:00
99a23c459e Small fix 2020-02-02 21:36:32 +02:00
d6d7e528a6 Revert "Close hass mariadb ports"
This reverts commit 5d440f2da26469b3379729d0d99201838b99ffb5.
2020-02-02 21:30:46 +02:00
316 changed files with 6907 additions and 5280 deletions

9
.editorconfig Normal file
View file

@ -0,0 +1,9 @@
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
node_modules/

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "dotdrop"]
path = dotdrop
url = https://github.com/deadc0de6/dotdrop.git

50
.husky/pre-commit Executable file
View file

@ -0,0 +1,50 @@
#!/bin/sh
# Source husky
# shellcheck disable=SC1091
. "$(dirname -- "$0")/_/husky.sh"
echo "FunctionalHacker's dotfile pre-commit hook start"
printf "Using shell: %s \n" "$(readlink /proc/$$/exe)"
# All staged files
staged_files=$(git diff --name-only --cached --diff-filter=d)
# Run taplo on staged TOML files
staged_toml=$(echo "$staged_files" | grep '.toml$' || true)
num_staged_toml=$(echo "$staged_toml" | grep -vce '^$' || true)
if [ "$num_staged_toml" -gt 0 ]; then
printf '\nFormatting %s staged TOML files with taplo\n' "$num_staged_toml"
taplo format "$staged_toml"
printf "Re-staging\n"
git add $staged_toml
fi
# Run lua-format on staged Lua files
staged_lua=$(echo "$staged_files" | grep '.lua$' || true)
num_staged_lua=$(echo "$staged_lua" | grep -vce '^$' || true)
if [ "$num_staged_lua" -gt 0 ]; then
printf '\nFormatting %s staged Lua files with stylua\n' "$num_staged_lua"
for file in $staged_lua; do
stylua "$file"
done
printf "Re-staging\n\n"
git add $staged_lua
fi
# Run shfmt on staged shell scripts
staged_sh=$(echo "$staged_files" | grep -E '(.sh$|pre-commit)' || true)
num_staged_sh=$(echo "$staged_sh" | grep -vce '^$' || true)
if [ "$num_staged_sh" -gt 0 ]; then
printf '\nFormatting %s staged shell scripts with shfmt\n' "$num_staged_sh"
shfmt -w $staged_sh
printf "Re-staging\n\n"
git add $staged_sh
fi
# Run prettier on all other staged files
# that are supported
printf "\nRunning prettier on all supported files\n"
npx pretty-quick --staged

1
.ignore Normal file
View file

@ -0,0 +1 @@
dotdrop/

3
.prettierignore Normal file
View file

@ -0,0 +1,3 @@
package-lock.json
lazy-lock.json
dotdrop/

4
.prettierrc.toml Normal file
View file

@ -0,0 +1,4 @@
"$schema" = "https://json.schemastore.org/prettierrc.json"
trailingComma = "es5"
singleQuote = true
tabWidth = 2

21
LICENSE
View file

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2019 Marko Korhonen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

14
LICENSE.adoc Normal file
View file

@ -0,0 +1,14 @@
== The MIT License (MIT)
Copyright (c) {localyear} Marko Korhonen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”),
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

23
README.adoc Normal file
View file

@ -0,0 +1,23 @@
= FunctionalHacker's dotfiles
image:https://i.imgur.com/lz1Q4Zz.png?raw=true%22[screenshot of my
setup]
My personal dotfiles for my workstations, mostly for easy access for
myself but feel free to steal them for yourself!
Im using https://github.com/deadc0de6/dotdrop[dotdrop] to manage and
ease deployment of my dotfiles.
== Mirrors
This repository lives at https://git.korhonen.cc/FunctionalHacker/dotfiles[my git server],
but it is also mirrored to:
* https://gitlab.com/FunctionalHacker/dotfiles[GitLab]
* https://github.com/FunctionalHacker/dotfiles[GitHub]
* https://bitbucket.org/FunctionalHacker/dotfiles[Bitbucket]
* https://codeberg.org/FunctionalHacker/dotfiles[codeberg]
If you have any ideas for improvements, questions or anything of this
sort, you can open an issue or a pull request at any of the mirrors.

View file

@ -1,16 +0,0 @@
# ReekyMarko's dotfiles
![screenshot of my setup](https://i.imgur.com/lz1Q4Zz.png?raw=true")
My personal dotfiles for my workstations, mostly for easy access for myself
but feel free to steal them for yourself!
I'm using [dotdrop](https://github.com/deadc0de6/dotdrop) to manage and ease deployment of my dotfiles.
## Mirrors
This repository lives at [ReekyNET Git](https://git.reekynet.com/ReekyMarko/dotfiles), but it is also mirrored to:
- [GitLab](https://gitlab.com/ReekyMarko/dotfiles)
- [GitHub](https://github.com/ReekyMarko/dotfiles)
- [Bitbucket](https://bitbucket.org/ReekyMarko/dotfiles)
- [codeberg](https://codeberg.org/ReekyMarko/dotfiles)
If you have any ideas for improvements, questions or anything of this sort, you can open an issue or a pull request in either ReekyNET Git (registrations open for anyone), or any of the mirrors.

View file

@ -1,248 +0,0 @@
actions:
vim-plug: nvim +PlugInstall +qall
zplug: zplug install
waybar: systemctl --user restart waybar
mako: systemctl --user restart mako
config:
backup: true
banner: true
create: true
dotpath: home
ignoreempty: false
keepdot: true
link_dotfile_default: nolink
link_on_import: nolink
longkey: false
showdiff: false
workdir: ~/.config/dotdrop
dotfiles:
d_systemd:
dst: ~/.config/systemd/user
src: .config/systemd/user
d_mpv:
dst: ~/.config/mpv
src: .config/mpv
d_nvim_config:
actions:
- vim-plug
dst: ~/.config/nvim/conf.d
src: .config/nvim/conf.d
d_scripts:
dst: ~/Scripts
src: Scripts
d_sway:
dst: ~/.config/sway
src: .config/sway
d_ticons:
dst: ~/.local/share/TelegramDesktop/tdata/ticons
src: .local/share/TelegramDesktop/tdata/ticons
d_waybar:
actions:
- waybar
dst: ~/.config/waybar
src: .config/waybar
f_abcde.conf:
dst: ~/.abcde.conf
src: .abcde.conf
f_alacritty.yml:
dst: ~/.config/alacritty/alacritty.yml
src: .config/alacritty/alacritty.yml
f_authorized_keys:
dst: ~/.ssh/authorized_keys
src: .ssh/authorized_keys
f_beets_config:
dst: ~/.config/beets/config.yaml
src: .config/beets/config.yaml
f_beets_whitelist:
dst: ~/.config/beets/whitelist
src: .config/beets/whitelist
f_bspwmrc:
dst: ~/.config/bspwm/bspwmrc
src: .config/bspwm/bspwmrc
f_coc-settings.json:
dst: ~/.config/nvim/coc-settings.json
src: .config/nvim/coc-settings.json
f_gitconfig:
dst: ~/.gitconfig
src: .gitconfig
f_init.vim:
dst: ~/.config/nvim/init.vim
src: .config/nvim/init.vim
f_libra_config:
dst: ~/.config/libra/config.toml
src: .config/libra/config.toml
f_mailcap:
dst: ~/.mailcap
src: .mailcap
f_makepkg.conf:
dst: ~/.config/pacman/makepkg.conf
src: .config/pacman/makepkg.conf
f_mako_config:
dst: ~/.config/mako/config
src: .config/mako/config
actions:
- mako
f_mimeo_associations.txt:
dst: ~/.config/mimeo/associations.txt
src: .config/mimeo/associations.txt
f_mpd.conf:
dst: ~/.config/mpd/mpd.conf
src: .config/mpd/mpd.conf
f_mpdris2.conf:
dst: ~/.config/mpDris2/mpDris2.conf
src: .config/mpDris2/mpDris2.conf
f_mpdscribble.conf:
dst: ~/.mpdscribble/mpdscribble.conf
src: .mpdscribble/mpdscribble.conf
f_ncmpcpp_bindings:
dst: ~/.config/ncmpcpp/bindings
src: .config/ncmpcpp/bindings
f_ranger.conf:
dst: ~/.config/ranger/rc.conf
src: .config/ranger/rc.conf
f_ranger_commands.py:
dst: ~/.config/ranger/commands.py
src: .config/ranger/commands.py
f_redshift.conf:
dst: ~/.config/redshift/redshift.conf
src: .config/redshift/redshift.conf
f_rofi-pass.conf:
dst: ~/.config/rofi-pass/config
src: .config/rofi-pass/config
f_rtv.cfg:
dst: ~/.config/rtv/rtv.cfg
src: .config/rtv/rtv.cfg
f_ssh.conf:
dst: ~/.ssh/config
src: .ssh/config
f_steam-native.desktop:
dst: ~/.local/share/applications/steam-native.desktop
src: .local/share/applications/steam-native.desktop
f_tdesktop_lang.strings:
dst: ~/.config/telegram-desktop/lang.strings
src: .config/telegram-desktop/lang.strings
f_tmux.conf:
dst: ~/.tmux.conf
src: .tmux.conf
f_yay_config.json:
dst: ~/.config/yay/config.json
src: .config/yay/config.json
f_youtube-dl_config:
dst: ~/.config/youtube-dl/config
src: .config/youtube-dl/config
f_youtube-viewer.conf:
dst: ~/.config/youtube-viewer/youtube-viewer.conf
src: .config/youtube-viewer/youtube-viewer.conf
f_zathurarc:
dst: ~/.config/zathura/zathurarc
src: .config/zathura/zathurarc
f_zprofile:
dst: ~/.zprofile
src: .zprofile
f_zshrc:
dst: ~/.zshrc
src: .zshrc
d_rofi:
src: .config/rofi
dst: ~/.config/rofi
d_zsh:
src: .config/zsh
dst: ~/.config/zsh
f_fonts.conf:
src: .config/fontconfig/fonts.conf
dst: ~/.config/fontconfig/fonts.conf
f_ignore:
src: .ignore
dst: ~/.ignore
f_nvimpager_init.vim:
src: .config/nvimpager/init.vim
dst: ~/.config/nvimpager/init.vim
f_ncmpcpp.conf:
src: .config/ncmpcpp/config
dst: ~/.config/ncmpcpp/config
d_efistub:
src: .EFISTUB
dst: ~/.EFISTUB
f_hushlogin:
src: .hushlogin
dst: ~/.hushlogin
profiles:
Base:
dotfiles:
- d_systemd
Media:
dotfiles:
- f_beets_config
- f_beets_whitelist
- f_abcde.conf
- d_mpv
- f_youtube-dl_config
- f_mpd.conf
- f_ncmpcpp_bindings
- f_ncmpcpp.conf
- f_libra_config
- f_mpdscribble.conf
- f_mpdris2.conf
- f_youtube-viewer.conf
Sway:
dotfiles:
- d_sway
- d_waybar
- d_rofi
- f_mako_config
- f_redshift.conf
- f_rofi-pass.conf
- f_zathurarc
- f_mimeo_associations.txt
- f_tdesktop_lang.strings
- f_fonts.conf
Pacman:
dotfiles:
- f_yay_config.json
- f_makepkg.conf
Mirkwood:
dotfiles:
- d_efistub
include:
- Base
- Terminal
- Media
- Sway
- Pacman
ReekyRaspberry:
include:
- Terminal
Rivendell:
include:
- Terminal
- Media
- Pacman
Terminal:
dotfiles:
- f_nvimpager_init.vim
- f_hushlogin
- f_ignore
- f_ranger_commands.py
- f_rtv.cfg
- f_mailcap
- d_zsh
- f_zshrc
- f_tmux.conf
- f_gitconfig
- f_ranger.conf
- f_ssh.conf
- f_authorized_keys
- d_scripts
- d_nvim_config
- f_init.vim
- f_coc-settings.json
- f_gitconfig
- f_alacritty.yml
AnittaPC:
include:
- Terminal
- Pacman
TakamakiPC:
include:
- Terminal
- Pacman

282
config-root.toml Normal file
View file

@ -0,0 +1,282 @@
[actions]
mkinitcpio = "mkinitcpio -P"
[config]
backup = true
banner = true
create = true
dotpath = "root"
ignoreempty = false
keepdot = true
link_dotfile_default = "nolink"
link_on_import = "nolink"
longkey = false
showdiff = false
workdir = "~/.config/sdotdrop"
[dotfiles."f_60-uinput-permissions.rules"]
dst = "/etc/udev/rules.d/60-uinput-permissions.rules"
src = "etc/udev/rules.d/60-uinput-permissions.rules"
[dotfiles."f_yubikey_udev.rules"]
dst = "/etc/udev/rules.d/20-yubikey.rules"
src = "etc/udev/rules.d/20-yubikey.rules"
[dotfiles.d_bin]
dst = "/usr/local/bin"
src = "usr/local/bin"
[dotfiles.d_network]
src = "etc/systemd/network"
dst = "/etc/systemd/network"
[dotfiles."f_networkd.conf"]
src = "etc/systemd/networkd.conf"
dst = "/etc/systemd/networkd.conf"
[dotfiles."f_99-sysctl.conf"]
dst = "/etc/sysctl.d/99-sysctl.conf"
src = "etc/sysctl.d/99-sysctl.conf"
[dotfiles."f_adb.service"]
dst = "/etc/systemd/system/adb.service"
src = "etc/systemd/system/adb.service"
[dotfiles."f_clamd.conf"]
dst = "/etc/clamav/clamd.conf"
src = "etc/clamav/clamd.conf"
[dotfiles.f_cryptissue]
dst = "/etc/cryptissue"
src = "etc/cryptissue"
[dotfiles."f_detected.sh"]
dst = "/etc/clamav/detected.sh"
src = "etc/clamav/detected.sh"
[dotfiles."f_freetype2.sh"]
dst = "/etc/profile.d/freetype2.sh"
src = "etc/profile.d/freetype2.sh"
[dotfiles."f_fonts.conf"]
dst = "/etc/fonts/local.conf"
src = "etc/fonts/local.conf"
[dotfiles."f_locale.conf"]
dst = "/etc/locale.conf"
src = "etc/locale.conf"
[dotfiles."f_locale.gen"]
dst = "/etc/locale.gen"
src = "etc/locale.gen"
[dotfiles."f_logind.conf"]
dst = "/etc/systemd/logind.conf"
src = "etc/systemd/logind.conf"
[dotfiles."f_bluetooth.conf"]
dst = "/etc/bluetooth/main.conf"
src = "etc/bluetooth/main.conf"
[dotfiles."f_pacman.conf"]
dst = "/etc/pacman.conf"
src = "etc/pacman.conf"
[dotfiles.f_pacman_zsh_hook]
dst = "/etc/pacman.d/hooks/zsh.hook"
src = "etc/pacman.d/hooks/zsh.hook"
[dotfiles."f_plymouthd.conf"]
src = "etc/plymouth/plymouthd.conf"
dst = "/etc/plymouth/plymouthd.conf"
[dotfiles.f_sshd_config]
dst = "/etc/ssh/sshd_config"
src = "etc/ssh/sshd_config"
[dotfiles."f_welcomemessage.conf"]
dst = "/etc/welcomemessage.conf"
src = "etc/welcomemessage.conf"
[dotfiles."f_99-conbee-usb-serial.rules"]
src = "etc/udev/rules.d/99-conbee-usb-serial.rules"
dst = "/etc/udev/rules.d/99-conbee-usb-serial.rules"
[dotfiles."f_99-lowbat.rules"]
src = "etc/udev/rules.d/99-lowbat.rules"
dst = "/etc/udev/rules.d/99-lowbat.rules"
[dotfiles."f_sleep.conf"]
src = "etc/systemd/sleep.conf"
dst = "/etc/systemd/sleep.conf"
[dotfiles.f_fstab]
src = "etc/fstab"
dst = "/etc/fstab"
[dotfiles.f_ignore]
src = ".ignore"
dst = "/.ignore"
[dotfiles."f_mkinitcpio.conf"]
src = "etc/mkinitcpio.conf"
dst = "/etc/mkinitcpio.conf"
actions = ["mkinitcpio"]
[dotfiles."f_vconsole.conf"]
src = "etc/vconsole.conf"
dst = "/etc/vconsole.conf"
[dotfiles."f_20-quiet-printk.conf"]
src = "etc/sysctl.d/20-quiet-printk.conf"
dst = "/etc/sysctl.d/20-quiet-printk.conf"
[dotfiles."f_system.conf"]
src = "etc/systemd/system.conf"
dst = "/etc/systemd/system.conf"
[dotfiles.f_cpupower]
src = "etc/default/cpupower"
dst = "/etc/default/cpupower"
[dotfiles."f_pacserve.service.conf"]
src = "etc/pacserve/pacserve.service.conf"
dst = "/etc/pacserve/pacserve.service.conf"
[dotfiles."f_mkinitcpio_linux.preset"]
src = "etc/mkinitcpio.d/linux.preset"
dst = "/etc/mkinitcpio.d/linux.preset"
[dotfiles.f_cmdline]
src = "etc/kernel/cmdline"
dst = "/etc/kernel/cmdline"
actions = ["mkinitcpio"]
[dotfiles."f_timesyncd.conf"]
src = "etc/systemd/timesyncd.conf"
dst = "/etc/systemd/timesyncd.conf"
[dotfiles.f_sudoers_pacman]
src = "etc/sudoers.d/pacman"
dst = "/etc/sudoers.d/pacman"
[dotfiles."f_doas.conf"]
src = "etc/doas.conf"
dst = "/etc/doas.conf"
[dotfiles."f_flexo.toml"]
src = "etc/flexo/flexo.toml"
dst = "/etc/flexo/flexo.toml"
[profiles.locale]
dotfiles = ["f_locale.conf", "f_locale.gen"]
[profiles.pacman]
dotfiles = [
"f_pacman.conf",
"f_pacman_zsh_hook",
"f_pacserve.service.conf",
"f_sudoers_pacman",
]
[profiles.Mirkwood]
dotfiles = [
"d_bin",
"f_20-quiet-printk.conf",
"f_60-uinput-permissions.rules",
"f_99-lowbat.rules",
"f_adb.service",
"f_bluetooth.conf",
"f_cmdline",
"f_cpupower",
"f_cryptissue",
"f_doas.conf",
"f_fonts.conf",
"f_freetype2.sh",
"f_ignore",
"f_logind.conf",
"f_mkinitcpio.conf",
"f_mkinitcpio_linux.preset",
"f_plymouthd.conf",
"f_sshd_config",
"f_system.conf",
"f_timesyncd.conf",
"f_welcomemessage.conf",
"f_flexo.toml",
]
include = ["locale", "pacman"]
[profiles.VentoyArch]
dotfiles = [
"d_bin",
"f_cmdline",
"f_doas.conf",
"f_fonts.conf",
"f_freetype2.sh",
"f_ignore",
"f_logind.conf",
"f_mkinitcpio.conf",
"f_mkinitcpio_linux.preset",
"f_plymouthd.conf",
"f_system.conf",
"f_timesyncd.conf",
]
include = ["locale", "pacman"]
[profiles.Shire]
dotfiles = [
"d_bin",
"f_20-quiet-printk.conf",
"f_60-uinput-permissions.rules",
"f_99-lowbat.rules",
"f_adb.service",
"f_bluetooth.conf",
"f_cmdline",
"f_cpupower",
"f_doas.conf",
"f_fonts.conf",
"f_freetype2.sh",
"f_ignore",
"f_logind.conf",
"f_mkinitcpio.conf",
"f_mkinitcpio_linux.preset",
"f_plymouthd.conf",
"f_sshd_config",
"f_system.conf",
]
include = ["locale", "pacman"]
[profiles.Moria]
include = ["locale", "pacman"]
dotfiles = [
"f_99-sysctl.conf",
"f_cmdline",
"f_cpupower",
"f_doas.conf",
"f_adb.service",
"f_mkinitcpio.conf",
"f_mkinitcpio_linux.preset",
"f_plymouthd.conf",
"f_sshd_config",
"f_flexo.toml",
]
[profiles.Tirion]
dotfiles = ["f_doas.conf", "f_ignore", "f_sshd_config"]
[profiles.Gondor]
include = ["locale", "pacman"]
dotfiles = ["f_doas.conf", "f_sshd_config"]
[profiles.localhost]
include = ["locale"]
[profiles.Edoras]
include = ["pacman"]
[profiles.mko-laptop]
dotfiles = ["f_cpupower", "f_doas.conf", "f_timesyncd.conf"]
[profiles.Evendim]
include = ["locale", "pacman"]
dotfiles = ["f_doas.conf", "f_sshd_config"]

View file

@ -1,170 +0,0 @@
config:
backup: true
banner: true
create: true
dotpath: root
ignoreempty: false
keepdot: true
link_dotfile_default: nolink
link_on_import: nolink
longkey: false
showdiff: false
workdir: ~/.config/sdotdrop
dotfiles:
f_60-uinput-permissions.rules:
dst: /etc/udev/rules.d/60-uinput-permissions.rules
src: etc/udev/rules.d/60-uinput-permissions.rules
d_bin:
dst: /usr/local/bin
src: usr/local/bin
f_99-sysctl.conf:
dst: /etc/sysctl.d/99-sysctl.conf
src: etc/sysctl.d/99-sysctl.conf
f_adb.service:
dst: /etc/systemd/system/adb.service
src: etc/systemd/system/adb.service
f_clamd.conf:
dst: /etc/clamav/clamd.conf
src: etc/clamav/clamd.conf
f_cryptissue:
dst: /etc/cryptissue
src: etc/cryptissue
f_detected.sh:
dst: /etc/clamav/detected.sh
src: etc/clamav/detected.sh
f_environment:
dst: /etc/environment
src: etc/environment
f_freetype2.sh:
dst: /etc/profile.d/freetype2.sh
src: etc/profile.d/freetype2.sh
f_iwd@.service:
dst: /etc/systemd/system/iwd@.service
src: etc/systemd/system/iwd@.service
f_loader.conf:
dst: /boot/loader/loader.conf
src: boot/loader/loader.conf
f_fonts.conf:
dst: /etc/fonts/local.conf
src: etc/fonts/local.conf
f_locale.conf:
dst: /etc/locale.conf
src: etc/locale.conf
f_locale.gen:
dst: /etc/locale.gen
src: etc/locale.gen
f_logind.conf:
dst: /etc/systemd/logind.conf
src: etc/systemd/logind.conf
f_bluetooth.conf:
dst: /etc/bluetooth/main.conf
src: etc/bluetooth/main.conf
f_pacman.conf:
dst: /etc/pacman.conf
src: etc/pacman.conf
f_pacserve.service.conf:
dst: /etc/pacserve/pacserve.service.conf
src: etc/pacserve/pacserve.service.conf
f_sshd_config:
dst: /etc/ssh/sshd_config
src: etc/ssh/sshd_config
f_timesyncd.conf:
dst: /etc/systemd/timesyncd.conf
src: etc/systemd/timesyncd.conf
f_welcomemessage.conf:
dst: /etc/welcomemessage.conf
src: etc/welcomemessage.conf
f_getty.conf:
src: etc/systemd/system/getty@tty1.service.d/override.conf
dst: /etc/systemd/system/getty@tty1.service.d/override.conf
f_99-conbee-usb-serial.rules:
src: etc/udev/rules.d/99-conbee-usb-serial.rules
dst: /etc/udev/rules.d/99-conbee-usb-serial.rules
f_99-lowbat.rules:
src: etc/udev/rules.d/99-lowbat.rules
dst: /etc/udev/rules.d/99-lowbat.rules
f_sleep.conf:
src: etc/systemd/sleep.conf
dst: /etc/systemd/sleep.conf
f_fstab:
src: etc/fstab
dst: /etc/fstab
f_ignore:
src: .ignore
dst: /.ignore
f_pacman-dl.service:
src: etc/systemd/system/pacman-dl.service
dst: /etc/systemd/system/pacman-dl.service
f_pacman-dl.timer:
src: etc/systemd/system/pacman-dl.timer
dst: /etc/systemd/system/pacman-dl.timer
f_zsh.hook:
src: etc/pacman.d/hooks/zsh.hook
dst: /etc/pacman.d/hooks/zsh.hook
f_nightly-reboot.service:
src: etc/systemd/system/nightly-reboot.service
dst: /etc/systemd/system/nightly-reboot.service
f_nightly-reboot.timer:
src: etc/systemd/system/nightly-reboot.timer
dst: /etc/systemd/system/nightly-reboot.timer
f_mkinitcpio.conf:
src: etc/mkinitcpio.conf
dst: /etc/mkinitcpio.conf
f_vconsole.conf:
src: etc/vconsole.conf
dst: /etc/vconsole.conf
f_20-quiet-printk.conf:
src: etc/sysctl.d/20-quiet-printk.conf
dst: /etc/sysctl.d/20-quiet-printk.conf
profiles:
Locale:
dotfiles:
- f_locale.conf
- f_locale.gen
Pacman:
dotfiles:
- f_pacman.conf
- f_pacserve.service.conf
- f_pacman-dl.service
- f_pacman-dl.timer
Mirkwood:
dotfiles:
- f_getty.conf
- f_environment
- f_cryptissue
- f_welcomemessage.conf
- d_bin
- f_adb.service
- f_bluetooth.conf
- f_iwd@.service
- f_loader.conf
- f_sshd_config
- f_logind.conf
- f_60-uinput-permissions.rules
- f_freetype2.sh
- f_fonts.conf
- f_timesyncd.conf
- f_99-sysctl.conf
- f_99-lowbat.rules
- f_ignore
- f_zsh.hook
- f_mkinitcpio.conf
- f_vconsole.conf
- f_20-quiet-printk.conf
include:
- Locale
- Pacman
Rivendell:
include:
- Locale
- Pacman
dotfiles:
- f_getty.conf
- f_vconsole.conf
- f_mkinitcpio.conf
- f_bluetooth.conf
- f_60-uinput-permissions.rules
- f_timesyncd.conf
- f_sshd_config
- f_nightly-reboot.service
- f_nightly-reboot.timer

285
config.toml Normal file
View file

@ -0,0 +1,285 @@
#:schema ../../dotdrop-config-schema.json
[actions]
dconf-load = "dconf load / < ~/.config/dconf.ini"
kanagawa-compile = "vim +KanagawaCompile +qa"
[config]
backup = true
banner = true
create = true
dotpath = "home"
ignoreempty = false
keepdot = true
link_dotfile_default = "nolink"
link_on_import = "nolink"
longkey = false
showdiff = false
workdir = "~/.config/dotdrop"
[dotfiles.d_systemd]
dst = "~/.config/systemd/user"
src = ".config/systemd/user"
[dotfiles.d_mpv]
dst = "~/.config/mpv"
src = ".config/mpv"
[dotfiles.d_nvim]
dst = "~/.config/nvim"
src = ".config/nvim"
actions = ["kanagawa-compile"]
instignore = ["*-lock.json"]
[dotfiles."f_abcde.conf"]
dst = "~/.abcde.conf"
src = ".abcde.conf"
[dotfiles.d_ssh]
dst = "~/.ssh"
src = ".ssh"
[dotfiles.f_beets_config]
dst = "~/.config/beets/config.yaml"
src = ".config/beets/config.yaml"
[dotfiles.f_beets_whitelist]
dst = "~/.config/beets/whitelist"
src = ".config/beets/whitelist"
[dotfiles.f_gitconfig]
dst = "~/.config/git/config"
src = ".config/git/config"
[dotfiles.f_librewolf_overrides]
dst = "~/.librewolf/librewolf.overrides.cfg"
src = ".librewolf/librewolf.overrides.cfg"
[dotfiles."f_makepkg.conf"]
dst = "~/.config/pacman/makepkg.conf"
src = ".config/pacman/makepkg.conf"
[dotfiles."f_mpd.conf"]
dst = "~/.config/mpd/mpd.conf"
src = ".config/mpd/mpd.conf"
[dotfiles."f_mpdris2.conf"]
dst = "~/.config/mpDris2/mpDris2.conf"
src = ".config/mpDris2/mpDris2.conf"
[dotfiles.f_ncmpcpp_bindings]
dst = "~/.config/ncmpcpp/bindings"
src = ".config/ncmpcpp/bindings"
[dotfiles."f_ranger.conf"]
dst = "~/.config/ranger/rc.conf"
src = ".config/ranger/rc.conf"
[dotfiles."f_ranger_commands.py"]
dst = "~/.config/ranger/commands.py"
src = ".config/ranger/commands.py"
[dotfiles."f_ssh.conf"]
dst = "~/.ssh/config"
src = ".ssh/config"
[dotfiles.f_zprofile]
dst = "~/.zprofile"
src = ".zprofile"
[dotfiles.f_zshrc]
dst = "~/.zshrc"
src = ".zshrc"
[dotfiles.d_zsh]
src = ".config/zsh"
dst = "~/.config/zsh"
[dotfiles."f_fonts.conf"]
src = ".config/fontconfig/fonts.conf"
dst = "~/.config/fontconfig/fonts.conf"
[dotfiles.f_ignore]
src = ".ignore"
dst = "~/.ignore"
[dotfiles."f_ncmpcpp.conf"]
src = ".config/ncmpcpp/config"
dst = "~/.config/ncmpcpp/config"
[dotfiles.f_hushlogin]
src = ".hushlogin"
dst = "~/.hushlogin"
[dotfiles."f_paru.conf"]
src = ".config/paru/paru.conf"
dst = "~/.config/paru/paru.conf"
[dotfiles."f_foot.ini"]
src = ".config/foot/foot.ini"
dst = "~/.config/foot/foot.ini"
[dotfiles."f_gpg-agent.conf"]
src = ".gnupg/gpg-agent.conf"
dst = "~/.gnupg/gpg-agent.conf"
chmod = "600"
[dotfiles."f_gpg.conf"]
src = ".gnupg/gpg.conf"
dst = "~/.gnupg/gpg.conf"
[dotfiles."f_gpg_scdaemon.conf"]
src = ".gnupg/scdaemon.conf"
dst = "~/.gnupg/scdaemon.conf"
[dotfiles."f_electron-flags.conf"]
src = ".config/electron-flags.conf"
dst = "~/.config/electron-flags.conf"
[dotfiles."f_electron12-flags.conf"]
src = ".config/electron12-flags.conf"
dst = "~/.config/electron12-flags.conf"
[dotfiles.f_pam_environment]
src = ".pam_environment"
dst = "~/.pam_environment"
[dotfiles."f_dconf.ini"]
src = ".config/dconf.ini"
dst = "~/.config/dconf.ini"
actions = ["dconf-load"]
[dotfiles."f_docker-config.json"]
src = ".docker/config.json"
dst = "~/.docker/config.json"
chmod = "600"
[dotfiles.f_npmrc]
src = ".npmrc"
dst = "~/.npmrc"
chmod = "600"
[dotfiles.f_zellij]
src = ".config/zellij/config.kdl"
dst = "~/.config/zellij/config.kdl"
[profiles.pacman]
dotfiles = ["f_makepkg.conf", "f_paru.conf"]
[profiles.terminal]
dotfiles = [
"d_nvim",
"d_ssh",
"d_zsh",
"f_gitconfig",
"f_hushlogin",
"f_ignore",
"f_ranger.conf",
"f_ranger_commands.py",
"f_zellij",
"f_zshrc",
"f_npmrc",
]
[profiles.media]
dotfiles = [
"d_mpv",
"f_abcde.conf",
"f_beets_config",
"f_beets_whitelist",
"f_mpd.conf",
"f_mpdris2.conf",
"f_ncmpcpp.conf",
"f_ncmpcpp_bindings",
]
[profiles.gpg]
dotfiles = [
"f_gpg-agent.conf",
"f_gpg.conf",
"f_gpg_scdaemon.conf",
"f_pam_environment",
]
[profiles.Mirkwood]
include = ["pacman", "terminal", "media", "gpg"]
dotfiles = [
"f_librewolf_overrides",
"f_dconf.ini",
"f_docker-config.json",
"f_fonts.conf",
"f_foot.ini",
]
[profiles.Mirkwood.variables]
wayland = true
[profiles.VentoyArch]
include = ["pacman", "terminal", "media", "gpg"]
dotfiles = [
"f_dconf.ini",
"f_fonts.conf",
]
[profiles.VentoyArch.variables]
wayland = true
[profiles.Shire]
include = ["pacman", "terminal", "media", "gpg"]
dotfiles = [
"f_dconf.ini",
"f_fonts.conf",
]
[profiles.Shire.variables]
wayland = true
[profiles.Moria]
include = ["pacman", "terminal", "media", "gpg"]
dotfiles = [
"f_librewolf_overrides",
"f_dconf.ini",
"f_zprofile",
"f_fonts.conf",
"d_systemd",
]
[profiles.Moria.variables]
wayland = true
[profiles.Tirion]
include = ["terminal", "gpg"]
[profiles.Gondor]
include = ["pacman", "terminal"]
[profiles.mko-laptop]
include = ["terminal", "gpg"]
dotfiles = ["f_librewolf_overrides", "f_dconf.ini", "d_systemd"]
[profiles.mko-laptop.variables]
wayland = true
[profiles.Isengard]
include = ["terminal"]
[profiles.Isengard.variables]
distro_id = "termux"
[profiles.Edoras]
include = ["terminal"]
[profiles.TakamakiPC]
include = ["terminal"]
[profiles.TakamakiPC.variables]
wayland = false
[profiles.localhost]
include = ["terminal"]
[profiles.ViiruJaTeippi]
include = ["terminal"]
[profiles.Evendim]
include = ["terminal", "pacman"]

View file

@ -1,52 +0,0 @@
#!/bin/bash
# to run this, execute
# bash <(curl -sL git.reekynet.com/ReekyMarko/dotfiles/raw/branch/master/deploy.sh)
# Run this to install my dotfiles on a fresh Arch Linux installation.
# This should work on any Arch Linux install with an internet connection
# and sudo rights
# When asked a hostname, make sure it's already in the dotrop config,
# otherwise dotdrop won't install anything
export DOTREPO="$HOME/Git/dotfiles"
export HOSTNAME="$(hostnamectl | head -n 1 | sed 's/ //g' | cut -d':' -f2-)"
export DISTRO="$(lsb_release -ds | sed 's/"//g')"
if [ "$DISTRO" -ne "Arch Linux" ]; then
print "Not running on Arch Linux"
print "Other distros not supported, exiting..."
exit 1
fi
read -p "Hostname [$HOSTNAME]: " -i $HOSTNAME NEWHOSTNAME
if [ "$HOSTNAME -ne $NEWHOSTNAME" ]; then
sudo hostnamectl set-hostname $NEWHOSTNAME
fi
HOSTNAME=$NEWHOSTNAME
# install yay
if ! [ -x "$(command -v yay)" ]; then
read -p "Install yay? [Y/n] " -i "y" IYAY
if [ "$(tr '[:upper:]' ':lower:' $IYAY)" -eq "y" ]; then
print "Installing yay"
fi
sudo pacman -Syu --needed --noconfirm git wget base-devel
cd
wget https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz
tar xfv yay.tar.gz
cd yay
makepkg -si --noconfirm
cd ..
rm -r yay*
fi
mkdir ~/Git
git clone https://git.reekynet.com/ReekyMarko/dotfiles.git $DOTREPO
cd ~/Git/dotfiles
git submodule init
git submodule update
$DOTREPO/dotdrop.sh --cfg=$DOTREPO/config-home.yaml install
chsh -s /bin/zsh
zsh -c "source ~/.zshrc; sdotdrop install"

1
docker/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*/.env

View file

@ -0,0 +1,75 @@
volumes:
redis: {}
media: {}
custom_templates: {}
geoip: {}
backups: {}
services:
redis:
image: redis:alpine
container_name: authentik-redis
networks:
- authentik
restart: unless-stopped
volumes:
- redis:/data
healthcheck:
test:
- CMD-SHELL
- redis-cli ping | grep PONG
start_period: 20s
interval: 30s
retries: 5
timeout: 3s
server:
image: ghcr.io/goauthentik/server
container_name: authentik
restart: unless-stopped
command: server
volumes:
- media:/media
- custom_templates:/templates
- geoip:/geoip
env_file:
- .env
networks:
- authentik
- postgres
- proxy
worker:
image: ghcr.io/goauthentik/server
container_name: authentik-worker
restart: unless-stopped
command: worker
user: root
volumes:
- backups:/backups
- custom_templates:/templates
- geoip:/geoip
- media:/media
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- .env
networks:
- authentik
- postgres
geoipupdate:
image: maxmindinc/geoipupdate
container_name: authentik-geoipupdate
restart: unless-stopped
networks:
- authentik
volumes:
- geoip:/usr/share/GeoIP
env_file:
- .env
environment:
GEOIPUPDATE_EDITION_IDS: GeoLite2-City
GEOIPUPDATE_FREQUENCY: '8'
networks:
authentik:
external: true
postgres:
external: true
proxy:
external: true

0
docker/backup/DISABLED Normal file
View file

View file

@ -0,0 +1,33 @@
volumes:
caddy_data:
external: true
caddy_config:
external: true
caddy_wkd:
external: true
homeautomation_hass:
external: true
services:
backup:
image: offen/docker-volume-backup:v2
container_name: volume-backup
restart: unless-stopped
environment:
- AWS_ENDPOINT
- AWS_S3_BUCKET_NAME
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- GPG_PASSPHRASE
- EMAIL_SMTP_HOST
- EMAIL_SMTP_PASSWORD
- EMAIL_SMTP_USERNAME
- EMAIL_SMTP_PORT
- BACKUP_COMPRESSION=zst
- BACKUP_RETENTION_DAYS=7
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/localtime:/etc/localtime:ro
- caddy_data:/backup/caddy_data:ro
- caddy_config:/backup/caddy_config:ro
- caddy_wkd:/backup/caddy_wkd:ro
- homeautomation_hass:/backup/homeautomation_hass:ro

177
docker/caddy/Caddyfile Normal file
View file

@ -0,0 +1,177 @@
{
order umami first
}
korhonen.cc, *.korhonen.cc {
encode zstd gzip
tls {
dns cloudflare {$CF_API_TOKEN}
resolvers 1.1.1.1
}
header {
Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
}
@static {
file
path *.ico *.css *.js *.gif *.webp *.avif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.pdf *.webmanifest
}
@homepage-www-redir host www.korhonen.cc
handle @homepage-www-redir {
redir https://korhonen.cc
}
@homepage host korhonen.cc
handle @homepage {
# Redirect finnish WIP
# @redirFinnish {
# header Accept-Language *fi-FI*
# not path *.js *.css *.png *.jpg *.jpeg *.svg
# not path /en* /fi*
# }
# redir @redirFinnish /fi{uri}
#
# uri strip_prefix /en
header @static Cache-Control max-age=5184000
root * /var/www/korhonen.cc
file_server
}
@wkd host openpgpkey.korhonen.cc
handle @wkd {
root * /var/www/wkd
file_server browse
header Access-Control-Allow-Origin "*"
}
@index host index.korhonen.cc
handle @index {
umami {
event_endpoint "https://umami.korhonen.cc/api/send"
website_uuid "9fe4f5c0-8e63-4479-a58d-d399cdbc0a3a"
client_ip_header X-Real-IP
device_detection
allowed_extensions "" .tar.zst .json .html
}
root * /var/www/index.korhonen.cc
file_server browse
}
@home-assistant host home.korhonen.cc
handle @home-assistant {
reverse_proxy home-assistant:8123
}
@authentik host sso.korhonen.cc
handle @authentik {
reverse_proxy authentik:9000
}
@forgejo host git.korhonen.cc
handle @forgejo {
rewrite /user/login /user/oauth2/Korhonen%20SSO
reverse_proxy forgejo:3000
}
@woodpecker host ci.korhonen.cc
handle @woodpecker {
reverse_proxy woodpecker:8000
}
@searx host dsearch.korhonen.cc
handle @searx {
reverse_proxy searx:8080
}
@freshrss host rss.korhonen.cc
handle @freshrss {
reverse_proxy freshrss
}
@jellyfin host jellyfin.korhonen.cc
handle @jellyfin {
reverse_proxy jellyfin:8096
}
@pihole host pihole.korhonen.cc
handle @pihole {
reverse_proxy pihole
}
@umami host umami.korhonen.cc
handle @umami {
reverse_proxy umami:3000
}
@nextcloud host cloud.korhonen.cc
handle @nextcloud {
# Redirect login page to Authentik
redir /login /apps/sociallogin/custom_oidc/korhonen-sso 301
# .htaccess / data / config / ... shouldn't be accessible from outside
@forbidden {
path /.htaccess
path /data/*
path /config/*
path /db_structure
path /.xml
path /README
path /3rdparty/*
path /lib/*
path /templates/*
path /occ
path /console.php
}
handle @forbidden {
respond 404
}
redir /.well-known/carddav /remote.php/dav 301
redir /.well-known/caldav /remote.php/dav 301
root * /var/www/nextcloud
php_fastcgi nextcloud:9000 {
root /var/www/html
# Tells nextcloud to remove /index.php from URLs in links
env front_controller_active true
}
file_server
}
@collabora host collabora.korhonen.cc
handle @collabora {
reverse_proxy collabora:9980
}
@drop host drop.korhonen.cc
handle @drop {
reverse_proxy drop:3000
}
@ipvX host ipv6.korhonen.cc ipv4.korhonen.cc
handle @ipvX {
respond {remote_host}
}
handle {
respond "404 Not Found" 404
}
handle_errors {
@homepage_404 {
expression {http.error.status_code} == 404
host korhonen.cc
}
handle @homepage_404 {
root * /var/www/korhonen.cc
rewrite * /404.html
file_server
}
respond "{err.status_code} {err.status_text}"
}
}

View file

@ -0,0 +1,35 @@
volumes:
data: {}
config: {}
wkd: {}
korhonen_cc: {}
nextcloud_config:
external: true
services:
caddy:
image: git.korhonen.cc/functionalhacker/caddy
container_name: caddy
restart: unless-stopped
ports:
- 80:80
- 443:443/tcp
- 443:443/udp
- 127.0.0.1:2019:2019
networks:
- proxy
volumes:
- /etc/localtime:/etc/localtime:ro
- ./Caddyfile:/etc/caddy/Caddyfile
- data:/data
- config:/config
- wkd:/var/www/wkd
- korhonen_cc:/var/www/korhonen.cc
- nextcloud_config:/var/www/nextcloud
- /var/www/index.korhonen.cc:/var/www/index.korhonen.cc
env_file:
- .env
cap_add:
- NET_ADMIN
networks:
proxy:
external: true

View file

@ -0,0 +1,19 @@
services:
cloudflared:
image: cloudflare/cloudflared
container_name: cloudflared
restart: unless-stopped
networks:
- proxy
volumes:
- /etc/localtime:/etc/localtime:ro
entrypoint:
command: tunnel --no-autoupdate run
env_file:
- .env
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
proxy:
external: true

0
docker/ddns/DISABLED Normal file
View file

View file

@ -0,0 +1,13 @@
services:
cloudflare-ddns:
image: timothyjmiller/cloudflare-ddns
container_name: cloudflare-ddns
security_opt:
- no-new-privileges:true
network_mode: host
environment:
- PUID=1000
- PGID=1000
volumes:
- /mnt/Storage/docker/ddns/config.json:/config.json
restart: unless-stopped

0
docker/drop/DISABLED Normal file
View file

View file

@ -0,0 +1,13 @@
services:
drop:
image: lscr.io/linuxserver/pairdrop
container_name: drop
restart: unless-stopped
networks:
- proxy
- IPV6_LOCALIZE=4
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
proxy:
external: true

0
docker/firefish/DISABLED Normal file
View file

View file

@ -0,0 +1,48 @@
volumes:
files: {}
config: {}
redis: {}
db: {}
services:
firefish:
image: registry.firefish.dev/firefish/firefish
container_name: firefish
restart: unless-stopped
depends_on:
- redis
ports:
- 3084:3000
networks:
- firefish
- proxy
environment:
NODE_ENV: production
volumes:
- files:/firefish/files
- config:/firefish/.config:ro
redis:
image: redis
container_name: redis-firefish
restart: unless-stopped
networks:
- firefish
volumes:
- redis:/data
db:
image: groonga/pgroonga:3.1.8-alpine-16-slim
container_name: firefish-db
restart: unless-stopped
networks:
- firefish
volumes:
- db:/var/lib/postgresql/data
healthcheck:
test: pg_isready --user="firefish" --dbname="firefish"
interval: 5s
timeout: 5s
retries: 5
networks:
firefish:
internal: true
proxy:
external: true

View file

@ -0,0 +1,37 @@
volumes:
data: {}
runner: {}
services:
forgejo:
image: git.korhonen.cc/functionalhacker/forgejo-asciidoc
container_name: forgejo
environment:
- USER_UID=1000
- USER_GID=1000
restart: unless-stopped
networks:
- postgres
- proxy
ports:
- '2882:22'
volumes:
- data:/data
- /etc/localtime:/etc/localtime:ro
runner:
image: code.forgejo.org/forgejo/runner:6
container_name: forgejo-runner
user: root:root
volumes:
- runner:/data
- ./runner.yaml:/data/config.yaml
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- SOCKFILE=/var/run/docker.sock
restart: unless-stopped
command: forgejo-runner daemon -c /data/config.yaml
networks:
postgres:
external: true
proxy:
external: true

View file

@ -0,0 +1,34 @@
log:
level: info
runner:
file: .runner
capacity: 2
env_file: .env
timeout: 3h
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
labels:
- 'docker:docker://git.korhonen.cc/functionalhacker/ubuntu-act:22.04'
cache:
enabled: true
dir: ''
host: ''
port: 0
external_server: ''
container:
network: ''
enable_ipv6: false
privileged: false
options:
workdir_parent:
valid_volumes:
- 'caddy_korhonen_cc'
docker_host: 'automount'
force_pull: false
host:
workdir_parent:

View file

@ -1,31 +0,0 @@
version: '2'
services:
freepbx:
container_name: freepbx
image: tiredofit/freepbx
ports:
- 8012:80
- 5060:5060
- 5160:5160
- 18000-18100:18000-18100/udp
#### Flash Operator Panel
- 4445:4445
volumes:
- /docker/freepbx/certs:/certs
- /docker/freepbx/data:/data
- /docker/freepbx/logs:/var/log
- /docker/freepbx/www:/var/www/html
- /docker/freepbx/db:/var/lib/mysql
environment:
- RTP_START=18000
- RTP_FINISH=18100
- DB_EMBEDDED=TRUE
restart: always
### These final lines are for Fail2ban. If you don't want, comment and also add ENABLE_FAIL2BAN=FALSE to your environment
cap_add:
- NET_ADMIN
privileged: true

1
docker/freshrss/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.env

0
docker/freshrss/DISABLED Normal file
View file

View file

@ -0,0 +1,24 @@
volumes:
config: {}
services:
freshrss:
image: linuxserver/freshrss
container_name: freshrss
restart: unless-stopped
networks:
- freshrss
- postgres
- proxy
environment:
- PUID=1000
- PGID=985
volumes:
- /etc/localtime:/etc/localtime:ro
- config:/config
networks:
freshrss:
external: false
postgres:
external: true
proxy:
external: true

View file

@ -1,41 +0,0 @@
version: '2'
networks:
gitea:
external: false
services:
gitea:
container_name: gitea
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
- DB_TYPE=mysql
- DB_HOST=db:3306
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWD=gitea
restart: always
networks:
- gitea
volumes:
- /docker/gitea/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- '3000:3000'
- '222:22'
depends_on:
- db
mariadb:
container_name: mariadb-gitea
image: mariadb
restart: always
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
ports:
- '3308:3306'
volumes:
- /docker/gitea/mariadb:/var/lib/mysql

View file

View file

@ -0,0 +1,23 @@
volumes:
config: {}
data: {}
services:
headscale:
image: headscale/headscale:0
container_name: headscale
volumes:
- config:/etc/headscale
- data:/var/lib/headscale
ports:
- 3478:3478/udp
command: headscale serve
restart: unless-stopped
networks:
- postgres
headscale-ui:
image: ghcr.io/gurucomputing/headscale-ui
container_name: headscale-ui
restart: unless-stopped
networks:
postgres:
external: true

View file

@ -0,0 +1,80 @@
volumes:
hass: {}
mosquitto: {}
piper_english: {}
whisper_english: {}
openwakeword_english: {}
services:
home-assistant:
container_name: home-assistant
image: homeassistant/home-assistant
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- hass:/config
networks:
- homeautomation
- postgres
- proxy
ports:
- 8123:8123
- 8300:8300
extra_hosts:
- host.docker.internal:host-gateway
# mosquitto:
# container_name: mosquitto
# image: eclipse-mosquitto
# restart: unless-stopped
# environment:
# - TZ=Europe/Helsinki
# networks:
# - homeautomation
# ports:
# - 1883:1883
# - 8866:8866
# volumes:
# - mosquitto:/mosquitto
# - /etc/localtime:/etc/localtime:ro
piper_english:
container_name: piper_english
image: rhasspy/wyoming-piper
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
ports:
- 10200:10200
networks:
- homeautomation
command:
- --voice
- en_US-hfc_male-medium
volumes:
- piper_english:/data
- /etc/localtime:/etc/localtime:ro
whisper_english:
container_name: whisper_english
image: rhasspy/wyoming-whisper
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
ports:
- 10300:10300
networks:
- homeautomation
depends_on:
- home-assistant
command:
- --model
- tiny-int8
- --language
- en
volumes:
- whisper_english:/data
- /etc/localtime:/etc/localtime:ro
networks:
homeautomation:
external: false
postgres:
external: true
proxy:
external: true

View file

@ -1,72 +0,0 @@
version: '3'
services:
home-assistant:
environment:
TZ: 'Europe/Helsinki'
container_name: home-assistant
restart: always
image: homeassistant/home-assistant
volumes:
- /docker/homeautomation/home-assistant:/config
network_mode: host
depends_on:
- deconz
- mosquitto
deconz:
container_name: deconz
image: marthoc/deconz
restart: always
environment:
DECONZ_WEB_PORT: 8083
DECONZ_WS_PORT: 8084
DECONZ_VNC_PORT: 5901
DECONZ_VNC_MODE: 1
DECONZ_VNC_PASSWORD: '${DECONZ_VNC_PASSWORD}'
DEBUG_OTAU: 1
network_mode: host
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/homeautomation/deconz:/root/.local/share/dresden-elektronik/deCONZ
devices:
- /dev/ttyACM0
node-red:
container_name: node-red
image: nodered/node-red
restart: always
environment:
TZ: 'Europe/Helsinki'
ports:
- '1880:1880'
volumes:
- /docker/homeautomation/node-red:/data
depends_on:
- home-assistant
portainer:
container_name: portainer
image: portainer/portainer
restart: always
ports:
- '9000:9000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /docker/homeautomation/portainer:/data
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
restart: always
network_mode: host
volumes:
- /docker/homeautomation/mosquitto:/mosquitto
mariadb:
container_name: mariadb-hass
image: mariadb
restart: always
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
volumes:
- /docker/homeautomation/mariadb:/var/lib/mysql

View file

@ -1,8 +0,0 @@
#!/bin/bash
cat <<ENV > .env
MYSQL_ROOT_PASSWORD=$(pass reekynet/docker-home-automation | rg 'MYSQL_ROOT_PASSWORD' | cut -d' ' -f2-)
HA_MYSQL_PASSWORD="$(pass reekynet/docker-home-automation | rg 'HA_MYSQL_PASSWORD' | cut -d' ' -f2-)
DECONZ_VNC_PASSWORD=$(pass reekynet/docker-home-automation | rg 'DECONZ_VNC_PASSWORD' | cut -d' ' -f2-)
ENV
docker-compose up -d

0
docker/jellyfin/DISABLED Normal file
View file

View file

@ -1,12 +1,31 @@
version: '3' volumes:
config: {}
cache: {}
media:
external: true
nextcloud_data:
external: true
services: services:
jellyfin: jellyfin:
image: jellyfin/jellyfin image: jellyfin/jellyfin
container_name: jellyfin container_name: jellyfin
user: 1001:985 ports:
network_mode: 'host' - 8096:8096
restart: always networks:
- proxy
- authentik
restart: unless-stopped
volumes: volumes:
- /docker/jellyfin/config:/config - /etc/localtime:/etc/localtime:ro
- /docker/jellyfin/cache:/cache - config:/config
- /mnt/Storage/Media:/media - cache:/cache
- media:/media
- nextcloud_data:/nextcloud_data
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card1:/dev/dri/card0
networks:
proxy:
external: true
authentik:
external: true

0
docker/mumble/DISABLED Normal file
View file

View file

@ -0,0 +1,11 @@
volumes:
config: {}
services:
mumble:
container_name: mumble
image: phlak/mumble
network_mode: host
volumes:
- /etc/localtime:/etc/localtime:ro
- config:/etc/mumble
restart: unless-stopped

View file

View file

@ -0,0 +1,24 @@
volumes:
config: {}
assets: {}
services:
netbootxyz:
image: lscr.io/linuxserver/netbootxyz
container_name: netbootxyz
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- MENU_VERSION=1.9.9
- PORT_RANGE=30000:30010
- SUBFOLDER=/
- NGINX_PORT=80
- WEB_APP_PORT=3000
ports:
- 3000:3000
- 69:69/udp
- 8081:80
volumes:
- config:/config
- assets:/assets

1
docker/nextcloud/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.env

View file

@ -0,0 +1,84 @@
volumes:
nextcloud_config:
external: true
nextcloud_data:
external: true
services:
nextcloud:
image: nextcloud:fpm-alpine
container_name: nextcloud
restart: unless-stopped
networks:
- nextcloud
- postgres
- proxy
volumes:
- nextcloud_config:/var/www/html
- nextcloud_data:/var/www/html/data
- /etc/localtime:/etc/localtime:ro
environment:
- REDIS_HOST=redis
- REDIS_HOST_PASSWORD=123
- TRUSTED_PROXIES=caddy
- NEXTCLOUD_TRUSTED_DOMAINS=cloud.korhonen.cc
- OVERWRITEHOST=cloud.korhonen.cc
- OVERWRITEPROTOCOL=https
depends_on:
- redis
labels:
ofelia.enabled: true
ofelia.job-exec.nextcloud.schedule: 0 */5 * * * *
ofelia.job-exec.nextcloud.command: php /var/www/html/cron.php
ofelia.job-exec.nextcloud.user: www-data
ofelia.smtp-host: ${SMTP_HOST}
ofelia.smtp-port: ${SMTP_PORT}
ofelia.smtp-user: ${SMTP_USER}
ofelia.smtp-password: ${SMTP_PASSWORD}
ofelia.email-to: ${EMAIL_TO}
ofelia.email-from: ${EMAIL_FROM}
ofelia.mail-only-on-error: true
redis:
image: redis:alpine
container_name: redis-nextcloud
networks:
- nextcloud
restart: unless-stopped
command: redis-server --requirepass 123
coturn:
image: instrumentisto/coturn
container_name: coturn
restart: unless-stopped
env_file: .env
ports:
- 3478:3478/tcp
- 3478:3478/udp
- 49160-49200:49160-49200/udp
networks:
- nextcloud
command:
- -n
- --log-file=stdout
- --min-port=49160
- --max-port=49200
- --realm=cloud.korhonen.cc
- --use-auth-secret
- --static-auth-secret=${STATIC_AUTH_SECRET}
collabora:
image: collabora/code
container_name: collabora
restart: unless-stopped
env_file: .env
environment:
- username=${COLLABORA_USERNAME}
- password=${COLLABORA_PASSWORD}
- domain=cloud.korhonen.cc
- extra_params=--o:ssl.enable=false --o:ssl.termination=true
networks:
- proxy
networks:
nextcloud:
external: false
postgres:
external: true
proxy:
external: true

View file

@ -0,0 +1,9 @@
services:
ofelia:
image: mcuadros/ofelia
container_name: ofelia
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
command: daemon --docker

View file

View file

@ -0,0 +1,42 @@
services:
opentogethertube:
image: dyc3/opentogethertube
container_name: opentogethertube
restart: unless-stopped
environment:
- PORT=8080
- REDIS_HOST=redis
- REDIS_PORT=6379
- FFPROBE_PATH=/usr/bin/ffprobe
- DB_MODE=postgres
- POSTGRES_USER=opentogethertube
- POSTGRES_DB=opentogethertube
- POSTGRES_HOST=postgres
- POSTGRES_PASSWORD
- DOCKER=1
- OTT_HOSTNAME=ott.korhonen.cc
- YOUTUBE_API_KEY
- OPENTOGETHERTUBE_API_KEY
- SESSION_SECRET
ports:
- 8080:8080
- 3002:3002
networks:
- default
- postgres
- proxy
depends_on:
- redis
volumes:
- ./production.toml:/app/env/production.toml
redis:
container_name: redis-opentogethertube
image: redis:alpine
restart: unless-stopped
healthcheck:
test: redis-cli ping
networks:
postgres:
external: true
proxy:
external: true

View file

@ -0,0 +1,5 @@
log = { level = "info" }
[room]
enable_create_temporary = false
enable_create_permanent = false

0
docker/pihole/DISABLED Normal file
View file

View file

@ -0,0 +1,29 @@
volumes:
config: {}
dnsmasq: {}
services:
pihole:
container_name: pihole
image: pihole/pihole
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 8069:80/tcp
networks:
- proxy
volumes:
- config:/etc/pihole/
- dnsmasq:/etc/dnsmasq.d/
dns:
- 127.0.0.1
- 1.1.1.1
cap_add:
- NET_ADMIN
restart: unless-stopped
environment:
TZ: Europe/Helsinki
WEBPASSWORD: ${WEBPASSWORD}
networks:
proxy:
external: true

View file

@ -0,0 +1,17 @@
volumes:
data: {}
services:
postgres:
container_name: postgres
image: postgres:16
ports:
- 127.0.0.1:5432:5432
networks:
- postgres
volumes:
- /etc/localtime:/etc/localtime:ro
- data:/var/lib/postgresql/data
restart: unless-stopped
networks:
postgres:
external: true

0
docker/searx/DISABLED Normal file
View file

View file

@ -0,0 +1,46 @@
volumes:
config: {}
services:
searx:
container_name: searx
image: searxng/searxng
restart: unless-stopped
networks:
- searx
- proxy
volumes:
- config:/etc/searxng
environment:
- SEARXNG_BASE_URL=https://search.korhonen.cc/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: json-file
options:
max-size: 1m
max-file: '1'
redis:
container_name: redis-searx
image: redis:alpine
command: redis-server --save "" --appendonly "no"
networks:
- searx
tmpfs:
- /var/lib/redis
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
networks:
searx:
ipam:
driver: default
proxy:
external: true

0
docker/stats/DISABLED Normal file
View file

View file

@ -0,0 +1,30 @@
services:
grafana:
image: grafana/grafana
container_name: grafana
volumes:
- grafana:/var/lib/grafana
networks:
- stats
- proxy
user: 1000:984
env_file:
- .env
environment:
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
- GF_AUTH_GENERIC_OAUTH_ENABLED=true
- GF_AUTH_GENERIC_OAUTH_NAME=authentik
- GF_AUTH_GENERIC_OAUTH_SCOPES=openid profile email
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://sso.korhonen.cc/application/o/authorize/
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://sso.korhonen.cc/application/o/token/
- GF_AUTH_GENERIC_OAUTH_API_URL=https://sso.korhonen.cc/application/o/userinfo/
- GF_AUTH_SIGNOUT_REDIRECT_URL=https://sso.korhonen.cc/application/o/grafana/end-session/
- GF_AUTH_OAUTH_AUTO_LOGIN=true
- GF_SERVER_ROOT_URL=https://grafana.korhonen.cc
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(groups[*], 'Administrators') && 'Admin' || 'Viewer'
networks:
stats:
external: false
proxy:
external: true

0
docker/tftp/DISABLED Normal file
View file

View file

@ -0,0 +1,10 @@
services:
tftp:
container_name: tftp
image: pghalliday/tftp
restart: unless-stopped
ports:
- 69:69/udp
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/tftp:/var/tftpboot

View file

View file

@ -0,0 +1,26 @@
volumes:
config: {}
picons: {}
services:
tvheadend:
image: linuxserver/tvheadend
container_name: tvheadend
environment:
- PUID=1000
- PGID=985
volumes:
- /etc/localtime:/etc/localtime:ro
- config:/config
- picons:/picons
- /mnt/Storage/Media/PVR:/recordings
ports:
- 9981:9981
- 9982:9982
devices:
- /dev/dvb:/dev/dvb
restart: unless-stopped
networks:
- proxy
networks:
proxy:
external: true

0
docker/umami/DISABLED Normal file
View file

View file

@ -0,0 +1,21 @@
services:
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
container_name: umami
restart: unless-stopped
networks:
- postgres
- proxy
env_file: .env
environment:
DATABASE_URL: postgresql://umami:${POSTGRES_PASS}@postgres:5432/umami
HASH_SALT: ${HASH_SALT}
logging:
options:
max-size: 10m
max-file: '10'
networks:
postgres:
external: true
proxy:
external: true

View file

View file

@ -0,0 +1,18 @@
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: unless-stopped
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=watchtower@korhonen.cc
- WATCHTOWER_NOTIFICATION_EMAIL_TO=admin@korhonen.cc
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.migadu.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD}
- WATCHTOWER_NOTIFICATION_EMAIL_DELAY=30
- WATCHTOWER_NOTIFICATIONS=email
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro

0
docker/wud/DISABLED Normal file
View file

View file

@ -0,0 +1,12 @@
services:
whatsupdocker:
image: getwud/wud
container_name: wud
env_file: .env
environment:
- WUD_TRIGGER_SMTP_EMAIL_SIMPLETITLE=Container $${container.name} can be updated
- WUD_TRIGGER_SMTP_EMAIL_SIMPLEBODY=Container $${name} can be updated from $${local.substring(0, 15)} to $${remote.substring(0, 15)}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 3000:3000

@ -1 +0,0 @@
Subproject commit 2d64e2ee59281e358253fadb04432a040f9392ee

View file

@ -1,12 +0,0 @@
#!/bin/bash
# vim:ft=sh
sudo efibootmgr \
--disk /dev/sda \
--part 1 \
--create \
--quiet \
--remove-dups \
--label "Arch Linux" \
--loader /vmlinuz-linux \
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current vt.global_cursor_default=0 processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'

View file

@ -1,12 +0,0 @@
#!/bin/bash
# vim:ft=sh
sudo efibootmgr \
--disk /dev/sda \
--part 1 \
--create \
--quiet \
--remove-dups \
--label "Arch Linux CK" \
--loader /vmlinuz-linux-ck-zen \
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current vt.global_cursor_default=0 processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'

View file

@ -1,12 +0,0 @@
#!/bin/bash
# vim:ft=sh
sudo efibootmgr \
--disk /dev/sda \
--part 1 \
--create \
--quiet \
--remove-dups \
--label "Arch Linux LTS" \
--loader /vmlinuz-linux-lts \
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current vt.global_cursor_default=0 processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'

View file

@ -1,14 +0,0 @@
#!/bin/bash
# remove old entries
for bootentry in $(efibootmgr | head -n 3 | tail -n 1 | cut -d' ' -f2- | sed 's/,/\n/g'); do
sudo efibootmgr -qBb $bootentry
done
# add all entries back
for bootscript in *.efi; do
./$bootscript
done
# set bootorder
sudo efibootmgr --bootorder 0000,0001,0002

View file

@ -1,4 +1,5 @@
window: window:
opacity: 1.0
dimensions: dimensions:
columns: 0 columns: 0
lines: 0 lines: 0
@ -6,14 +7,12 @@ window:
x: 30 x: 30
y: 20 y: 20
dynamic_padding: false dynamic_padding: false
dynamic_title: true
decorations: full decorations: full
scrolling: scrolling:
history: 10000 history: 10000
multiplier: 3 multiplier: 3
auto_scroll: false
tabspaces: 8
font: font:
normal: normal:
@ -61,13 +60,11 @@ colors:
cyan: '0x56b6c2' cyan: '0x56b6c2'
white: '0x5c6370' white: '0x5c6370'
visual_bell: bell:
animation: EaseOutExpo animation: EaseOutExpo
duration: 0 duration: 0
color: '#ffffff' color: '#ffffff'
background_opacity: 1.0
mouse_bindings: mouse_bindings:
- { mouse: Middle, action: PasteSelection } - { mouse: Middle, action: PasteSelection }
@ -75,15 +72,11 @@ mouse:
double_click: { threshold: 300 } double_click: { threshold: 300 }
triple_click: { threshold: 300 } triple_click: { threshold: 300 }
hide_when_typing: false hide_when_typing: false
url:
modifiers: None
selection: selection:
semantic_escape_chars: ',│`|:"'' ()[]{}<>' semantic_escape_chars: ',│`|:"'' ()[]{}<>'
save_to_clipboard: false save_to_clipboard: false
dynamic_title: true
cursor: cursor:
style: Block style: Block
unfocused_hollow: true unfocused_hollow: true

0
home/.config/asd Normal file
View file

View file

@ -1,34 +1,31 @@
directory: ~/Music directory: ~/Music
library: ~/Music/beets.db library: ~/Music/beets.db
plugins: plugins:
- acousticbrainz - edit
- check - fetchart
- edit - fuzzy
- fetchart - info
- follow - lastgenre
- fuzzy - lyrics
- info # - mbcollection
- lastgenre - mpdupdate
- lyrics - play
- mbcollection - replaygain
- mpdupdate - thumbnails
- play - web
- replaygain
- thumbnails
- web
import: import:
copy: no write: yes
move: yes copy: yes
link: no
lastgenre: lastgenre:
whitelist: ~/.config/beets/whitelist whitelist: ~/.config/beets/whitelist
lyrics: lyrics:
fallback: '' fallback: ''
play: play:
command: mpv command: mpv --no-vid --no-resume-playback
mpd: mpd:
host: localhost host: localhost
port: 6600 port: 6600
password: "{{@@ env['PASS_MPD_ADMIN'] @@}}"
follow: follow:
email: reekymarko@reekynet.com email: reekymarko@reekynet.com
password: "{{@@ env['PASS_MUSPY'] @@}}" password: "{{@@ env['PASS_MUSPY'] @@}}"
@ -37,9 +34,6 @@ follow:
replaygain: replaygain:
backend: gstreamer backend: gstreamer
auto: yes auto: yes
musicbrainz: #mbcollection:
user: ReekyMarko # auto: 'yes'
pass: "{{@@ env['PASS_MUSICBRAINZ'] @@}}" # collection: 'a4955b5c-db7f-4e27-9887-f77f820bad34'
mbcollection:
auto: "yes"
collection: "a4955b5c-db7f-4e27-9887-f77f820bad34"

88
home/.config/dconf.ini Normal file
View file

@ -0,0 +1,88 @@
[io/github/celluloid-player/celluloid]
dark-theme-enable=false
mpv-config-enable=true
mpv-config-file='file:///home/{{@@ env['USER'] @@}}/.config/mpv/mpv.conf'
mpv-input-config-enable=true
mpv-input-config-file='file:///home/{{@@ env['USER'] @@}}/.config/mpv/input.conf'
settings-migrated=true
[org/gnome/Connections]
first-run=false
[org/gnome/shell/weather]
automatic-location=false
locations=[<(uint32 2, <('Lappeenranta', 'EFLP', false, [(1.0654507804726074, 0.49128594181309354)], @a(dd) [])>)>]
[org/gnome/Weather]
locations=[<(uint32 2, <('Lappeenranta', 'EFLP', false, [(1.0654507804726074, 0.49128594181309354)], @a(dd) [])>)>]
[org/gnome/shell/world-clocks]
locations=[<(uint32 2, <('Bangkok', 'VTBD', true, [(0.24289166005364171, 1.7558012275062955)], [(0.23998277214922031, 1.754346792280731)])>)>, <(uint32 2, <('Lappeenranta', 'EFLP', true, [(1.0654507804726074, 0.49128594181309354)], [(1.065814402368968, 0.49189195503597105)])>)>]
[org/gnome/clocks]
world-clocks=[{'location': <(uint32 2, <('Bangkok', 'VTBD', true, [(0.24289166005364171, 1.7558012275062955)], [(0.23998277214922031, 1.754346792280731)])>)>}, {'location': <(uint32 2, <('Lappeenranta', 'EFLP', true, [(1.0654507804726074, 0.49128594181309354)], [(1.065814402368968, 0.49189195503597105)])>)>}]
[org/gnome/desktop/a11y/mouse]
dwell-click-enabled=false
dwell-threshold=10
dwell-time=1.2
secondary-click-enabled=true
secondary-click-time=1.2
[org/gnome/desktop/calendar]
show-weekdate=true
[org/gnome/desktop/input-sources]
show-all-sources=true
sources=[('xkb', 'eu'), ('xkb', 'fi')]
xkb-options=['lv3:ralt_switch']
[org/gnome/desktop/peripherals/touchpad]
tap-to-click=true
two-finger-scrolling-enabled=true
[org/gnome/desktop/privacy]
disable-microphone=false
old-files-age=uint32 14
recent-files-max-age=-1
remove-old-temp-files=true
remove-old-trash-files=true
[org/gnome/desktop/wm/keybindings]
close=['<Super>w']
move-to-workspace-down=['<Shift><Super>j']
move-to-workspace-left=['<Shift><Super>h']
move-to-workspace-right=['<Shift><Super>l']
move-to-workspace-up=['<Shift><Super>k']
switch-to-workspace-down=['<Super>j']
switch-to-workspace-left=['<Super>h']
switch-to-workspace-right=['<Super>l']
switch-to-workspace-up=['<Super>k']
toggle-fullscreen=@as []
toggle-maximized=['<Super>f']
[org/gnome/settings-daemon/plugins/media-keys]
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']
screensaver=['<Super>BackSpace']
www=['<Super>b']
volume-step=1
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Super>Return'
command='kgx'
name='Open terminal'
[org/gnome/file-roller/dialogs/new]
default-extension='.tar.zst'
[org/gnome/software]
check-timestamp=int64 1667730233
download-updates=true
download-updates-notify=true
first-run=false
[org/gnome/system/location]
enabled=true
[org/gnome/tweaks]
show-extensions-notice=false

View file

@ -0,0 +1,2 @@
--enable-features=UseOzonePlatform
--ozone-platform=wayland

View file

@ -0,0 +1,2 @@
--enable-features=UseOzonePlatform
--ozone-platform=wayland

View file

@ -0,0 +1,3 @@
MOZ_ENABLE_WAYLAND=1
MOZ_USE_XINPUT2=1
MOZ_WEBRENDER=1

View file

@ -1,3 +0,0 @@
_JAVA_AWT_WM_NONREPARENTING=1
_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
JAVA_FONTS=/usr/share/fonts/TTF

View file

@ -7,11 +7,6 @@ QT_QPA_PLATFORMTHEME=qt5ct
QT_QPA_PLATFORM=wayland-egl QT_QPA_PLATFORM=wayland-egl
QT_WAYLAND_DISABLE_WINDOWDECORATION=1 QT_WAYLAND_DISABLE_WINDOWDECORATION=1
# Firefox
MOZ_ENABLE_WAYLAND=1
MOZ_USE_XINPUT2=1
MOZ_WEBRENDER=1
# Fix redshift on wlroots # Fix redshift on wlroots
WLR_DRM_NO_ATOMIC=1 WLR_DRM_NO_ATOMIC=1

View file

@ -1,26 +1,22 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<alias>
<alias> <family>sans-serif</family>
<family>sans-serif</family> <prefer>
<prefer> <family>Adwaita Sans</family>
<family>Overpass</family> </prefer>
</prefer> </alias>
</alias> <alias>
<family>serif</family>
<alias> <prefer>
<family>serif</family> <family>Adwaita Sans</family>
<prefer> </prefer>
<family>Overpass</family> </alias>
</prefer> <alias>
</alias> <family>monospace</family>
<prefer>
<alias> <family>Adwaita mono</family>
<family>monospace</family> </prefer>
<prefer> </alias>
<family>Hack Nerd Font Mono</family>
</prefer>
</alias>
</fontconfig> </fontconfig>

View file

@ -0,0 +1,45 @@
pad=10x0
dpi-aware=yes
[scrollback]
lines=1000
[cursor]
blink=yes
[mouse]
hide-when-typing=yes
[colors]
foreground = 545464
background = f2ecbc
selection-foreground = 43436c
selection-background = c9cbd1
regular0 = 1F1F28
regular1 = c84053
regular2 = 6f894e
regular3 = 77713f
regular4 = 4d699b
regular5 = b35b79
regular6 = 597b75
regular7 = 545464
bright0 = 8a8980
bright1 = d7474b
bright2 = 6e915f
bright3 = 836f4a
bright4 = 6693bf
bright5 = 624c83
bright6 = 5e857a
bright7 = 43436c
16 = cc6d00
17 = e82424
[csd]
color = fff2ecbc
button-color = ff545464
hide-when-maximized = yes

View file

@ -0,0 +1,44 @@
pad=10x0
dpi-aware=yes
[scrollback]
lines=1000
[cursor]
blink=yes
[mouse]
hide-when-typing=yes
[colors]
foreground = dcd7ba
background = 1f1f28
selection-foreground = c8c093
selection-background = 2d4f67
regular0 = 090618
regular1 = c34043
regular2 = 76946a
regular3 = c0a36e
regular4 = 7e9cd8
regular5 = 957fb8
regular6 = 6a9589
regular7 = c8c093
bright0 = 727169
bright1 = e82424
bright2 = 98bb6c
bright3 = e6c384
bright4 = 7fb4ca
bright5 = 938aa9
bright6 = 7aa89f
bright7 = dcd7ba
16 = ffa066
17 = ff5d62
[csd]
color = ff1f1f28
button-color = ffdcd7ba
hide-when-maximized = yes

64
home/.config/git/config Normal file
View file

@ -0,0 +1,64 @@
[user]
{%@@ if profile == "mko-laptop" @@%}
email = marko.korhonen@netforecast.com
{%@@ else @@%}
email = marko@korhonen.cc
{%@@ endif @@%}
name = Marko Korhonen
signingkey = F2B9F713E7ED627336DD85E444FA3F28CD931BB0
[commit]
signoff = true
gpgsign = true
[tag]
gpgSign = true
signoff = true
[format]
signoff = true
[merge]
prompt = false
conflictstyle = diff3
tool = nvim
[mergetool]
keepBackup = false
prompt = false
[mergetool "nvim"]
cmd = nvim +DiffviewOpen
[pull]
rebase = merges
[alias]
mergetest = !git switch test && git pull && git merge --no-ff -m \"Merge $1 features to test\" $1
upstream = !git push -u origin HEAD
sync = !git pull && git push
recommit = !git commit -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG
pull-merge = pull --no-rebase --no-ff --no-edit
log-merge = log -i --grep=merge --pretty=oneline
log-fp = log --first-parent --pretty=oneline
ll = log --pretty=oneline
dno = !git --no-pager diff --name-only
[color]
pager = no
[init]
defaultBranch = main
[credential]
helper = cache --timeout=600
helper = !pass-git-helper $@
[rerere]
enabled = true
[submodule]
recurse = true
[push]
recurseSubmodules = check

View file

@ -1,3 +1,4 @@
VteTerminal, vte-terminal { VteTerminal,
padding: 40px; vte-terminal {
padding: 40px;
} }

View file

@ -0,0 +1,19 @@
var child_process = require('child_process');
function getStdout(cmd) {
var stdout = child_process.execSync(cmd);
return stdout.toString().trim();
}
exports.host = 'imap.migadu.com';
exports.port = 993;
exports.tls = true;
exports.tlsOptions = {
rejectUnauthorized: true,
};
exports.username = 'admin@korhonen.cc';
exports.password = "{{@@ env['PASS_EMAIL_ADMIN'] @@}}";
exports.onNewMail = 'mbsync admin@korhonen.cc';
exports.onNewMailPost =
'~/git/dotfiles/scripts/mail/notify-new-mail.sh admin@korhonen.cc';
exports.boxes = ['INBOX'];

View file

@ -0,0 +1,19 @@
var child_process = require('child_process');
function getStdout(cmd) {
var stdout = child_process.execSync(cmd);
return stdout.toString().trim();
}
exports.host = 'imap.migadu.com';
exports.port = 993;
exports.tls = true;
exports.tlsOptions = {
rejectUnauthorized: true,
};
exports.username = 'functionalhacker@korhonen.cc';
exports.password = "{{@@ env['PASS_EMAIL_HACKER'] @@}}";
exports.onNewMail = 'mbsync functionalhacker@korhonen.cc';
exports.onNewMailPost =
'~/git/dotfiles/scripts/mail/notify-new-mail.sh functionalhacker@korhonen.cc';
exports.boxes = ['INBOX'];

View file

@ -0,0 +1,19 @@
var child_process = require('child_process');
function getStdout(cmd) {
var stdout = child_process.execSync(cmd);
return stdout.toString().trim();
}
exports.host = 'imap.migadu.com';
exports.port = 993;
exports.tls = true;
exports.tlsOptions = {
rejectUnauthorized: true,
};
exports.username = 'marko@korhonen.cc';
exports.password = "{{@@ env['PASS_EMAIL_MARKO'] @@}}";
exports.onNewMail = 'mbsync marko@korhonen.cc';
exports.onNewMailPost =
'~/git/dotfiles/scripts/mail/notify-new-mail.sh marko@korhonen.cc';
exports.boxes = ['INBOX'];

View file

@ -1,6 +1,12 @@
background-color=#282828 background-color=#1E1D2F
text-color=#EBDBB2 text-color=#D9E0EE
border-color=#D65D0E border-color=#96CDFB
progress-color=over #302D41
icons=1 icons=1
default-timeout=5000 default-timeout=5000
max-visible=6 max-visible=6
layer=overlay
[urgency=high]
border-color=#F8BD96

View file

@ -1,38 +1,41 @@
mpvq %U mpvqueue %U
^https?://invidio.us/.* ^https?://invidio.us/.*
mpvq %U mpvqueue %U
^https?://(m.)?(www.)?youtube.com/watch\?.*v= ^https?://(m.)?(www.)?youtube.com/watch\?.*v=
mpvq %U mpvqueue %U
^https?://(www.)?youtube.com/playlist\?.*list= ^https?://(www.)?youtube.com/playlist\?.*list=
mpvq %U mpvqueue %U
^https?://(www.)?youtu.be/ ^https?://(www.)?youtu.be/
mpvq %U mpvqueue %U
^https?://(www.)?(m.)?twitch.tv/ ^https?://(www.)?(m.)?twitch.tv/
mpvq %U mpvqueue %U
^https?://(?:[a-z0-9\-]+\.)+[a-z]{2,6}(?:/[^/#?]+)+\.(?:mp4|mkv|webm|avi|3gp|gif|gifv) ^https?://(?:[a-z0-9\-]+\.)+[a-z]{2,6}(?:/[^/#?]+)+\.(?:mp4|mkv|webm|avi|3gp|gif|gifv)
mpvq %U mpvqueue %U
^https?://www.facebook.com/.*/videos/ ^https?://www.facebook.com/watch/?v=.*
mpvq %U mpvqueue %U
^https?://www.facebook.com/.*/videos/.*
mpvqueue %U
^https://fb.watch/.*
mpvqueue %U
^https?://gfycat.com/.* ^https?://gfycat.com/.*
mpvq %U mpvqueue %U
^https?://vimeo.com/.* ^https?://vimeo.com/.*
mpvq %U mpvqueue %U
^https?://v.redd.it/.* ^https?://v.redd.it/.*
imgurviewer %U mpvqueue %U
^https?://(www.)?imgur.com/a/ ^https?://areena.yle.fi.*
imgurviewer %U
^https?://(www.)?imgur.com/gallery/
imageviewer %U imageviewer %U
^https?://(?:[a-z0-9\-]+\.)+[a-z]{2,6}(?:/[^/#?]+)+\.(?:jpg|jpeg|png|svg) ^https?://(?:[a-z0-9\-]+\.)+[a-z]{2,6}(?:/[^/#?]+)+\.(?:jpg|jpeg|png|svg)

View file

@ -1,25 +1,24 @@
music_directory "~/Music" music_directory "~/Music"
playlist_directory "~/Music/Playlists" playlist_directory "~/Music/Playlists"
db_file "~/.mpd/database" db_file "~/.mpd/database"
log_file "~/.mpd/log" log_file "~/.mpd/log"
pid_file "~/.mpd/pid" state_file "~/.mpd/state"
state_file "~/.mpd/state" sticker_file "~/.mpd/sticker.sql"
sticker_file "~/.mpd/sticker.sql"
replaygain "track" replaygain "track"
default_permissions "read" default_permissions "read,add,control"
password "{{@@ env['PASS_MPD'] @@}}@read,add,control" password "{{@@ env['PASS_MPD'] @@}}@read,add,control"
password "{{@@ env['PASS_MPD_ADMIN'] @@}}@read,add,control,admin" password "{{@@ env['PASS_MPD_ADMIN'] @@}}@read,add,control,admin"
audio_output { audio_output {
type "fifo" type "fifo"
name "Visualizer" name "Visualizer"
path "/tmp/mpd.fifo" path "/tmp/mpd.fifo"
format "44100:16:2" format "44100:16:2"
} }
audio_output { audio_output {
type "pulse" type "pipewire"
name "MPD PulseAudio" name "MPD PipeWire"
} }

View file

@ -19,3 +19,8 @@ m cycle ao-mute
VOLUME_DOWN add ao-volume -2 VOLUME_DOWN add ao-volume -2
VOLUME_UP add ao-volume +2 VOLUME_UP add ao-volume +2
MUTE cycle ao-mute MUTE cycle ao-mute
= add audio-delay 0.100
- add audio-delay -0.100
s playlist-shuffle

View file

@ -7,10 +7,8 @@ vo=gpu
hwdec=vaapi hwdec=vaapi
hwdec-codecs=all hwdec-codecs=all
{%@@ if profile == "Mirkwood" @@%} {%@@ if wayland @@%}
gpu-context=wayland gpu-context=wayland
{%@@ elif profile == "Rivendell" @@%}
ao=alsa
{%@@ endif @@%} {%@@ endif @@%}
############# #############
@ -18,18 +16,21 @@ ao=alsa
############# #############
pulse-buffer=50 # using a large buffer causes seeking issues pulse-buffer=50 # using a large buffer causes seeking issues
audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed
replaygain=track
############# #############
# Plugins/misc # # misc #
############# #############
# Mpris plugin
script=/usr/lib/mpv/mpris.so
# Start ipc server # Start ipc server
input-ipc-server=/tmp/mpvsocket input-ipc-server=/tmp/mpvsocket
# set youtube-dl max res to 1080 # set youtube-dl max res
{%@@ if profile == "Moria" @@%}
ytdl-format=bestvideo[height<=2160]+bestaudio/best[height<=2160]
{%@@ else @@%}
ytdl-format=bestvideo[height<=1080]+bestaudio/best[height<=1080] ytdl-format=bestvideo[height<=1080]+bestaudio/best[height<=1080]
{%@@ endif @@%}
# continue watching # continue watching
save-position-on-quit save-position-on-quit
@ -62,7 +63,7 @@ sub-shadow-color="#33000000"
sub-spacing=0.5 sub-spacing=0.5
# OSD customizations # OSD customizations
osd-font="Overpass" osd-font="Lucida Console"
osd-font-size=30 osd-font-size=30
osd-color="#ffffffff" # ARGB format osd-color="#ffffffff" # ARGB format
osd-border-color="#ff151515" # ARGB format osd-border-color="#ff151515" # ARGB format
@ -73,7 +74,7 @@ osd-bar-w=60 # width of " " "
osd-shadow-color="#11000000" osd-shadow-color="#11000000"
osd-fractions osd-fractions
# Protocol specific configuration # Protocol specific configuration
[protocol.https] [protocol.https]
cache=yes cache=yes
user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0' user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0'
@ -105,8 +106,4 @@ ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]"
[best] [best]
ytdl-format="bestvideo+bestaudio" ytdl-format="bestvideo+bestaudio"
# Vulkan hwdec profile script-opts-append=ytdl_hook-ytdl_path=yt-dlp
[vulkan]
gpu-api=vulkan
gpu-context=waylandvk
hwdec=vaapi-copy

View file

@ -0,0 +1,505 @@
--redefine keybindings here if needed; multiple bindings are possible
keybinds = {
activate = {'\\', 'MOUSE_BTN2'},
plsup = {'UP', 'MOUSE_BTN3'},
plsdown = {'DOWN', 'MOUSE_BTN4'},
plsenter = {'ENTER', 'MOUSE_BTN0'}
}
--hide playlist after specified number of seconds
osd_time=10
--show only specified number of playlist entries
window=7
--fade video when showing playlist
fade=false
--if fade=true; -100 — black, 0 — normal
plsbrightness=-70
--favorites get promotion to the top of the pls
favorites = {}
-- END OF CONFIGURABLE VARIABLES
-- put your settings in (SCRIPTS DIR)/_iptvconf.lua
pcall(require, "_iptvconf")
local timer
--local plscount
local pattern=""
local is_active
local is_playlist_loaded
-- UTF-8 lower/upper conversion
local utf8_lc_uc = {
["a"] = "A",
["b"] = "B",
["c"] = "C",
["d"] = "D",
["e"] = "E",
["f"] = "F",
["g"] = "G",
["h"] = "H",
["i"] = "I",
["j"] = "J",
["k"] = "K",
["l"] = "L",
["m"] = "M",
["n"] = "N",
["o"] = "O",
["p"] = "P",
["q"] = "Q",
["r"] = "R",
["s"] = "S",
["t"] = "T",
["u"] = "U",
["v"] = "V",
["w"] = "W",
["x"] = "X",
["y"] = "Y",
["z"] = "Z",
["а"] = "А",
["б"] = "Б",
["в"] = "В",
["г"] = "Г",
["д"] = "Д",
["е"] = "Е",
["ж"] = "Ж",
["з"] = "З",
["и"] = "И",
["й"] = "Й",
["к"] = "К",
["л"] = "Л",
["м"] = "М",
["н"] = "Н",
["о"] = "О",
["п"] = "П",
["р"] = "Р",
["с"] = "С",
["т"] = "Т",
["у"] = "У",
["ф"] = "Ф",
["х"] = "Х",
["ц"] = "Ц",
["ч"] = "Ч",
["ш"] = "Ш",
["щ"] = "Щ",
["ъ"] = "Ъ",
["ы"] = "Ы",
["ь"] = "Ь",
["э"] = "Э",
["ю"] = "Ю",
["я"] = "Я",
["ё"] = "Ё"
}
local utf8_uc_lc = {
["A"] = "a",
["B"] = "b",
["C"] = "c",
["D"] = "d",
["E"] = "e",
["F"] = "f",
["G"] = "g",
["H"] = "h",
["I"] = "i",
["J"] = "j",
["K"] = "k",
["L"] = "l",
["M"] = "m",
["N"] = "n",
["O"] = "o",
["P"] = "p",
["Q"] = "q",
["R"] = "r",
["S"] = "s",
["T"] = "t",
["U"] = "u",
["V"] = "v",
["W"] = "w",
["X"] = "x",
["Y"] = "y",
["Z"] = "z",
["А"] = "а",
["Б"] = "б",
["В"] = "в",
["Г"] = "г",
["Д"] = "д",
["Е"] = "е",
["Ж"] = "ж",
["З"] = "з",
["И"] = "и",
["Й"] = "й",
["К"] = "к",
["Л"] = "л",
["М"] = "м",
["Н"] = "н",
["О"] = "о",
["П"] = "п",
["Р"] = "р",
["С"] = "с",
["Т"] = "т",
["У"] = "у",
["Ф"] = "ф",
["Х"] = "х",
["Ц"] = "ц",
["Ч"] = "ч",
["Ш"] = "ш",
["Щ"] = "щ",
["Ъ"] = "ъ",
["Ы"] = "ы",
["Ь"] = "ь",
["Э"] = "э",
["Ю"] = "ю",
["Я"] = "я",
["Ё"] = "ё"
}
--utf8 char pattern
local utf8_char="[\1-\127\192-\223][\128-\191]*"
local cyr_chars={'а','б','в','г','д','е','ё','ж','з','и','й','к','л','м','н','о','п','р','с','т','у','ф','х','ц','ч','ш','щ','ъ','ы','ь','э','ю','я'}
-- символы, которые возможно вводить для поиска
local chars={}
for i=string.byte('a'),string.byte('z') do
table.insert(chars,i)
end
for i=string.byte('A'),string.byte('Z') do
table.insert(chars,i)
end
for i=string.byte('0'),string.byte('9') do
table.insert(chars,i)
end
for _,v in ipairs({',','^','$','(',')','%','.','[',']','*','+','-','?','`',"'",";"}) do
table.insert(chars,string.byte(v))
end
local keybinder = {
remove = function(action)
for i,_ in ipairs(keybinds[action]) do
mp.remove_key_binding(action..tostring(i))
end
end,
add = function(action, func, repeatable)
for i,key in ipairs(keybinds[action]) do
assert(type(func)=="function", "not a function")
if repeatable then
mp.add_forced_key_binding(key, action..tostring(i), func, "repeatable")
else
mp.add_forced_key_binding(key, action..tostring(i), func)
end
end
end
}
local fader = {
saved_brtns,
on = function(self)
if fade and not self.saved_brtns then
self.saved_brtns = mp.get_property("brightness")
mp.set_property("brightness", plsbrightness)
end
end,
off = function(self)
if fade and self.saved_brtns then
mp.set_property("brightness", self.saved_brtns)
self.saved_brtns=nil
end
end
}
local playlister = {
-- pls — список элементов плейлиста
pls,
-- plsfiltered — список индексов выбранных фильтром элементов плейлиста
plsfiltered,
plspos,
wndstart,
wndend,
cursor,
init = function(self)
if not self.pls then
self.pls = mp.get_property_native("playlist")
end
mp.commandv("stop")
--need to mark first entry non-current (mpv bug?)
if self.pls[1] then
self.pls[1].current = false
end
if favorites and #favorites>0 then
self:sortfavs()
end
pattern = ""
self.plsfiltered = tablekeys(self.pls)
end,
show = function(self)
local i
local newpos
local msg
--media-title
--playlist t[2].title
if not self.plsfiltered then
return
end
if not self.plspos then
self.plspos=mp.get_property_native("playlist-pos-1")
--plscount=mp.get_property_native("playlist-count")
end
if not self.wndstart or not self.cursor then
self.wndstart=1
self.cursor=0
end
msg=""
i = self.wndstart
local prefix
while self.plsfiltered[i] and i<=self.wndstart+window-1 do
if self.pls[self.plsfiltered[i]].current then
prefix="*"
elseif i==self.wndstart+self.cursor then
prefix=">"
else
prefix=" "
end
msg = msg..prefix..(self.pls[self.plsfiltered[i]].title or "").."\n"
i=i+1
end
if self.wndstart>1 then
msg = "...\n"..msg
else
msg = " \n"..msg
end
if self.wndstart+window-1<#self.plsfiltered then
msg = msg.."..."
end
msg="/"..pattern.."\n"..msg
mp.osd_message(msg, osd_time)
end,
sortfavs = function(self)
--favorites bubbles to the top
local favs={}
local nonfavs={}
for _,v in ipairs(self.pls) do
if in_array(favorites,v.title) then
favs[#favs+1] = v
else
nonfavs[#nonfavs+1] = v
end
end
for i=1,#nonfavs do
favs[#favs+1] = nonfavs[i]
end
self.pls = favs
end,
filter = function(self)
self.plsfiltered={}
for i,v in ipairs(self.pls) do
if string.match(mylower(v.title),'.*'..prepat(pattern)..'.*') then
table.insert(self.plsfiltered,i)
end
end
self.wndstart=1
self.cursor=0
end,
down = function(self)
if self.cursor >= #self.plsfiltered-1 then return end
if self.cursor<window-1 then
self.cursor=self.cursor+1
else
if self.wndstart<#self.plsfiltered-window+1 then
self.wndstart=self.wndstart+1
end
end
self.show(self)
end,
up = function(self)
if self.cursor>0 then
self.cursor=self.cursor-1
self.show(self)
else
if self.wndstart>1 then
self.wndstart=self.wndstart-1
self.show(self)
end
end
end,
play = function(self)
mp.commandv("loadfile",self.pls[self.plsfiltered[self.wndstart+self.cursor]].filename)
if self.plspos then
self.pls[self.plspos].current=false
end
self.plspos=self.plsfiltered[self.wndstart+self.cursor]
self.pls[self.plspos].current=true
end
}
function add_bindings()
keybinder.add("plsup", up, true)
keybinder.add("plsdown", down, true)
for i,v in ipairs(chars) do
c=string.char(v)
mp.add_forced_key_binding(c, 'search'..v, typing(c),"repeatable")
end
mp.add_forced_key_binding('SPACE', 'search32', typing(' '),"repeatable")
--[[ mp.add_key_binding('а', 'search1000', typing('а'),"repeatable")
mp.add_key_binding('с', 'search1001', typing('с'),"repeatable")]]
mp.add_forced_key_binding('BS', 'searchbs', backspace,"repeatable")
keybinder.add("plsenter", play)
for i,v in ipairs(cyr_chars) do
mp.add_forced_key_binding(v, 'search'..i+1000, typing(v),"repeatable")
end
end
function remove_bindings()
keybinder.remove('plsup')
keybinder.remove('plsdown')
keybinder.remove('plsenter')
for i,v in ipairs(chars) do
c=string.char(v)
mp.remove_key_binding('search'..v)
end
mp.remove_key_binding('search32')
mp.remove_key_binding('searchbs')
for i,v in ipairs(cyr_chars) do
mp.remove_key_binding('search'..i+1000)
end
end
function activate()
if is_active then
shutdown()
return
else
is_active=true
fader:on()
playlister:show()
add_bindings()
if not timer then
timer=mp.add_periodic_timer(osd_time, shutdown)
timer.oneshot=true
else
resumetimer()
end
end
end
function tablekeys(t)
local result={}
for i,v in ipairs(t) do
table.insert(result,i)
end
return result
end
function in_array(array, value)
for _,v in ipairs(array) do
if v==value then
return true
end
end
return false
end
function mylower(s)
local res,n = string.gsub(s,utf8_char,function (c)
return utf8_uc_lc[c]
end)
return res
end
function myupper(s)
local res,n = string.gsub(s,utf8_char,function (c)
return utf8_lc_uc[c]
end)
return res
end
function prepat(s)
--prepare nocase and magic chars
s = string.gsub(s, "[%^%$%(%)%%%.%[%]%*%+%-%?]",function (c)
return '%'..c
end)
--[[ s = string.gsub(s, utf8_char, function (c)
return string.format("[%s%s]", utf8_uc_lc[c] or c, utf8_lc_uc[c] or c)
end)]]
return s
end
function resumetimer()
timer:kill()
timer:resume()
end
function typing(char)
return function()
local c=string.lower(char)
pattern = pattern..c
playlister:filter()
playlister:show()
resumetimer()
end
end
function backspace()
if string.len(pattern)>0 then
-- pattern = string.sub(pattern,1,-2)
-- for unicode
pattern = string.match(pattern,"(.*)"..utf8_char.."$")
playlister:filter()
playlister:show()
resumetimer()
end
end
function play()
-- mp.commandv("playlist-move", wndstart+cursor, 1)
-- mp.commandv("playlist-clear")
-- mp.commandv("playlist-next")
fader:off()
playlister:play()
playlister:show()
resumetimer()
end
function shutdown()
fader:off()
remove_bindings()
is_active=false
mp.osd_message("", 1)
end
function down()
fader:on()
playlister:down()
resumetimer()
end
function up()
fader:on()
playlister:up()
resumetimer()
end
function on_start_file()
if is_playlist_loaded then
playlister:init()
mp.unregister_event(on_start_file)
activate()
else
is_playlist_loaded = true
end
end
if mp.get_opt("iptv") then
mp.set_property_bool("idle", true)
mp.set_property_bool("force-window", true)
mp.register_event("start-file", on_start_file)
keybinder.add("activate", activate)
end

View file

@ -0,0 +1,76 @@
-- Copied from https://github.com/pekkarr/mpv-yledl
-- Copyright 2021 Pekka Ristola
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
local msg = require 'mp.msg'
local utils = require 'mp.utils'
local function add_series(data)
local playlist = { "#EXTM3U" }
for _, episode in pairs(data) do
table.insert(playlist, episode["webpage"])
end
mp.set_property("stream-open-filename", "memory://" .. table.concat(playlist, "\n"))
end
local function add_single_video(data)
local flavors = data["flavors"]
table.sort(flavors, function(a, b) return a["bitrate"] > b["bitrate"] end)
local best = flavors[1]
mp.set_property("stream-open-filename", best["url"])
mp.set_property("file-local-options/force-media-title", data["title"])
for _, sub in ipairs(data["subtitles"]) do
local lang = sub["language"]
msg.verbose("Adding subtitles for " .. lang)
mp.commandv("sub-add", sub["url"], "auto", sub["category"], lang)
end
end
mp.add_hook("on_load", 9, function()
msg.verbose('yle-dl hook')
local url = mp.get_property("stream-open-filename", "")
if (url:find("https?://%a+%.yle%.fi/") == 1) or (url:find("https?://yle%.fi/") == 1) then
local start_time = os.clock()
local command = { "yle-dl", "--showmetadata", url }
msg.debug("Running: " .. table.concat(command, ' '))
local ret = mp.command_native({name = "subprocess",
args = command,
capture_stdout = true,
capture_stderr = false})
if ret.killed_by_us then
return
end
if (ret.status < 0) or (ret.stdout == nil) or (ret.stdout == "") then
msg.error("yle-dl failed to parse url")
return
end
local json, err = utils.parse_json(ret.stdout)
if (json == nil) then
msg.error("failed to parse JSON: " .. err)
return
end
msg.verbose("yle-dl succeeded")
msg.debug("running yle-dl took " .. os.clock() - start_time .. " seconds")
if #json == 1 then
add_single_video(json[1])
else
add_series(json)
end
else
msg.verbose('not an areena url')
end
end)

Some files were not shown because too many files have changed in this diff Show more