Commit graph

287 commits

Author SHA1 Message Date
Benjamin Bädorf fd50ecf445
Improve help and screen recording keybindings in sway
This commit shuffles around some sway keybindings and improves the
screen recording experience by adding a small wrapper around `slurp` and
`wf-recorder` conveniently called `record-screen`.

* `$mod+F5` now reload the sway configuration,
* `$mod+Ctrl+r` starts a screen recording (to stop it, go to workspace 7
  and kill the process),
* `record-screen` and the firefox sharing indicator are both on
  workspace 7 now, making it the "trash" workspace,
* `$mod+F1` and `$mod+Shift+h` now open Firefox with the docs of our
repository availabe under `help.local`.
* To not infuriate `qMasterPassword` users, that is now available under
`$mod+Shift+m` instead of `$mod+F1`.
2022-08-10 22:32:27 +02:00
teutat3s be0ae1a799
neovim: fix quoting, use vim.fn.stdpath to get
the neovim config directory path
2022-08-09 23:26:10 +02:00
teutat3s 0619a69f32
neovim: add vim-nixhash plugin 2022-08-09 23:25:33 +02:00
teutat3s 4339f04f7c
neovim: use vimagit from latest master commit 2022-08-09 23:25:12 +02:00
teutat3s 3142c58cf4
neovim, caddy: add json-schema, use tabs in
Caddyfiles, add vim-caddyfile
2022-08-09 23:23:55 +02:00
Benjamin Bädorf 2b0a804b4e
Merge branch 'main' into b12f 2022-07-22 14:34:58 +02:00
Benjamin Bädorf aeed1af298
Move failing RWTH offlineimap config to the last place 2022-07-22 14:31:05 +02:00
teutat3s 237a753474
audio: switch to wireplumber for pipewire configuration
https://nixos.wiki/wiki/PipeWire#Bluetooth_Configuration
2022-07-08 14:34:30 +02:00
teutat3s 6a5b09a26a
audio: remove mopidy-spotify, upstream abandonded support 2022-07-08 14:25:22 +02:00
teutat3s 3bd0b3c502
signal-desktop: works without workaround again
Also add --use-tray-icon flag, since it works now
2022-07-08 14:24:23 +02:00
Benjamin Bädorf 5094495a79
Less annoying 2022-06-04 20:29:09 +02:00
Benjamin Bädorf d84ee5d67a
Remove unused scream pulse service file 2022-06-04 19:42:13 +02:00
Benjamin Bädorf 63fe359cab
Add denols to nvim
In Deno projects `tsserver` is less than ideal. This PR starts `denols`
instead of `tsserver` if `nvim` finds the `NVIM_USE_DENOLS` variable
when reading the lsp config.
2022-06-04 19:41:28 +02:00
Benjamin Bädorf 6054a02ebf
Make sure we're all successful 2022-06-04 19:40:55 +02:00
Benjamin Bädorf 10a70d46c7
Make sure we're all successful 2022-06-04 19:32:12 +02:00
Benjamin Bädorf 34cc7d40f2
Add denols to nvim
In Deno projects `tsserver` is less than ideal. This PR starts `denols`
instead of `tsserver` if `nvim` finds the `NVIM_USE_DENOLS` variable
when reading the lsp config.
2022-06-04 16:49:07 +02:00
Benjamin Bädorf 4c7fed14f0
Remove unused scream pulse service file 2022-06-04 16:45:33 +02:00
Benjamin Bädorf efc52114f3
Merge branch 'main' into b12f 2022-06-04 02:59:32 +02:00
Benjamin Bädorf c6d4a9f0dc Merge pull request 'Follow nixos release-22.05' (#87) from feature/nixos-22.05 into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/87
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
2022-06-04 00:58:58 +00:00
teutat3s 8e43046dee
nixos: follow release-22.05
home: follow release-22.05 branch

Fixes for upstream changes:

ag renamed to silver-searcher, extfat-utils is now exfat, lot's of
overrides no longer needed, as they're now in the release branch,
services.caddy.config split up into globalConfig and extraConfig
2022-06-02 10:13:17 +02:00
teutat3s 3fae0d93fa
graphical: move FF sharing indicator to sway ws 7
The Firefox sharing indicator sometimes doesn't like to float like it
should, and when it does, it usually floats over UI elements you'd like
to use.

Moving it to sway workspace 7 should get it mostly out of the way
2022-05-06 14:53:27 +02:00
Benjamin Bädorf 403893ed56
Merge branch 'main' into b12f 2022-05-05 09:12:35 +02:00
Hendrik Sokolowski 3ce121ce60 Introduce option to enable autologin
This option allows to disable autologin which is enabled by default.
2022-05-03 19:26:02 +02:00
Hendrik Sokolowski 159ae86722 Start sway as a systemd user process again
After login on TTY1 sway was started by calling
    exec sway

See also b84d88fc92

Co-authored-by: Hendrik Sokolowski <hensoko@gssws.de>
2022-05-02 20:55:34 +02:00
Benjamin Bädorf 797e83f9aa Merge pull request 'zsh: precmd() don't echo trailing newline' (#78) from fix/zsh-precmd into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/78
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
2022-05-02 18:34:08 +00:00
teutat3s a772a91d7b
zsh: precmd() don't echo trailing newline 2022-05-02 01:30:09 +02:00
teutat3s 4712e535f9
sway: fix cursor not scaling correctly 2022-05-02 01:28:35 +02:00
Benjamin Bädorf 0c4987ede1
Add resume device 2022-05-01 17:29:34 +02:00
Benjamin Bädorf 4b828cd91f
Shorten time until hibernate 2022-05-01 17:04:29 +02:00
Benjamin Bädorf d2f8a2d837
Remove swaylock-bg from install list 2022-04-30 23:56:02 +02:00
Benjamin Bädorf 3024b14735
Merge branch 'main' into feat/hibernate-always 2022-04-30 22:55:32 +02:00
Benjamin Bädorf 0ecbdaa0bc
Merge branch 'main' into fix/shorten-home-to-tilde-zsh 2022-04-30 21:50:42 +02:00
Benjamin Bädorf 4de8f625fc
Merge branch 'main' into b12f 2022-04-30 21:45:23 +02:00
Benjamin Bädorf 0acabe0624 Merge pull request 'tree-wide: gnome3 -> gnome, add hicolor-icon-theme' (#66) from fix/gnome3-to-gnome into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/66
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
2022-04-30 19:29:40 +00:00
teutat3s 4b915053b4
zsh: precmd() don't echo trailing newline 2022-04-30 20:58:06 +02:00
teutat3s 99ece3e3f1
Merge branch 'main' into fix/gnome3-to-gnome 2022-04-30 20:17:25 +02:00
Benjamin Bädorf caa730f665
Fix build 2022-04-30 20:01:31 +02:00
Benjamin Bädorf d85a796259
Merge branch 'main' into b12f 2022-04-30 19:58:06 +02:00
Benjamin Bädorf e30974c1b2
Merge branch 'main' into feature/basic-iso 2022-04-30 19:51:38 +02:00
Benjamin Bädorf 84fa70513f
Improve terminal pwd title by shortening home to ~ 2022-04-30 18:28:11 +02:00
Benjamin Bädorf 167cd2fc32
Improve terminal pwd title by shortening home to ~ 2022-04-30 18:27:42 +02:00
teutat3s 01fc42e15f
Merge branch 'main' into feature/neovim-improvements 2022-04-30 18:12:49 +02:00
teutat3s ed26820593
neovim: remove unneeded autocmd CursorHold 2022-04-30 18:11:43 +02:00
Benjamin Bädorf b204dd5363
Merge branch 'main' into b12f 2022-04-30 18:01:33 +02:00
Benjamin Bädorf 003140fc54 Merge pull request 'Change terminal title to cwd' (#69) from feature/terminal-title-cwd into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/69
Reviewed-by: teutat3s <teutates@mailbox.org>
Reviewed-by: hensoko <hensoko@noreply.example.org>
2022-04-30 16:01:05 +00:00
Benjamin Bädorf b516473f69
Change terminal title to cwd 2022-04-30 17:52:11 +02:00
Benjamin Bädorf e0f5640801
Change terminal title to cwd 2022-04-30 17:51:41 +02:00
Benjamin Bädorf 4911e5c91e
Change port of wayvnc 2022-04-30 17:08:48 +02:00
teutat3s db34fa77c2
Merge branch 'main' into feature/basic-iso 2022-04-30 16:40:10 +02:00
teutat3s 970e6de8a7
Merge branch 'main' into feature/basic-iso 2022-04-30 16:04:59 +02:00
Benjamin Bädorf 020e5801b0 Merge pull request 'virtualisation: generalize for intel CPUs by adding intel_iommu to kernelParams' (#65) from fix/generalize-virt-for-intel-cpus into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/65
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
2022-04-30 13:52:13 +00:00
Benjamin Bädorf 517eaf8d21 Merge pull request 'zsh: use max length for dir to allow enough space for' (#67) from fix/zsh-add-max-length-for-dirs into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/67
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
2022-04-30 13:50:57 +00:00
teutat3s b326f18344
zsh: use max length for dir to allow enough space for
the right hand indicators
2022-04-30 15:23:33 +02:00
teutat3s 2c53b3c3b1
virtualisation: generalize for intel CPUs by adding intel_iommu to kernelParams 2022-04-30 15:21:58 +02:00
teutat3s 2852efbbbc
tree-wide: gnome3 -> gnome, add hicolor-icon-theme
as fallback
2022-04-30 15:21:27 +02:00
Hendrik Sokolowski c56a3eaee2 Wrap signal-desktop to add flag to disable gpu processing 2022-04-30 15:19:17 +02:00
teutat3s af67e0d15f
neovim: don't show diagnostics when in insert mode 2022-04-30 15:18:57 +02:00
teutat3s a7215fa101
neovim: add template for shell.nix files 2022-04-30 15:18:46 +02:00
Benjamin Bädorf 53f5ab731e
Add VNCClient mode for sway 2022-04-30 13:48:38 +02:00
Benjamin Bädorf 9c9188d006
Allow outside vnc access, render a cursor in vnc 2022-04-28 23:47:11 +02:00
Benjamin Bädorf ad313173ad
Add wayvnc option for sway
This change allows you to start wayvnc anytime your sway session starts.
For hosts where you want to enable this, you'll need to generate the
certificate and keys, see:

https://github.com/any1/wayvnc#encryption--authentication

You can then add these to your secrets via agenix, and load them as
`vnc-key.pem` and `vnc-cert.pem` into `/run/secrets`.

Enable the wayvnc server via the option `pub-solar.sway.vnc.enable`.

At the time of writing, `tigervnc` appears to be a good vnc client to
use.

```
2022-04-28 23:20:18 +02:00
Benjamin Bädorf 2f54c4e25c
Merge branch 'main' into b12f 2022-04-27 15:24:22 +02:00
teutat3s 469c2a3ed9
neovim: fix lsp for neovim 0.7.0 2022-04-26 11:37:59 +02:00
Benjamin Bädorf 001f05dbfc
Fix LSP infos 2022-04-18 13:12:02 +02:00
Benjamin Bädorf c2b6ec5acc
Merge branch 'main' into b12f 2022-04-10 14:02:28 +02:00
teutat3s 030bf9e808
neovim: diagnostics: only show under cursor and
use custom signcolumn icons using new lua
vim.diagnostic.config options

fix fzf pop-up colors

get sonokai, suda-vim from nixpkgs vimPlugins

bump vim-workspace

add apprentice, hybrid and airline colorschemes
2022-04-09 16:52:18 +02:00
teutat3s 0764093600
office: add xournalpp, tool for annotating PDFs 2022-04-09 16:49:46 +02:00
teutat3s 93b895136d
neovim: fix config for version 0.6.1 2022-04-03 18:40:07 +02:00
Benjamin Bädorf 334daff82e
Fix latenight.blue ssh 2022-03-24 21:07:11 +01:00
Benjamin Bädorf f0bd4f978f
Merge branch 'main' into b12f 2022-03-21 12:34:50 +01:00
teutat3s 83074e2dff
neovim: add quick-scope plugin 2022-03-15 19:06:55 +01:00
Benjamin Bädorf 33f03b3f0d
Add paperless, up guest VM RAM to 48GB 2022-03-10 21:32:21 +01:00
Benjamin Bädorf d047a4aac0
Merge branch 'main' into b12f 2022-03-09 13:37:26 +01:00
teutat3s 869446df63
alacritty: better search colors highlighting 2022-02-22 16:50:27 +01:00
Benjamin Bädorf e3ff8c5441
Merge branch 'main' into b12f 2022-02-14 10:54:00 +01:00
Benjamin Bädorf f7cf825579
Fix build 2022-02-14 10:50:34 +01:00
Benjamin Bädorf fb821aa722
Update virtualisation 2022-02-14 10:50:26 +01:00
Benjamin Bädorf e6e2267f5a
Add paperless module 2022-02-14 10:49:49 +01:00
teutat3s 741c0863ed
graphical: make wayland use the software renderer pixman optionally,
https://github.com/swaywm/wlroots/blob/master/docs/env_vars.md#wlroots-specific

This should help run sway in VMs
2022-02-03 02:47:00 +01:00
teutat3s 2c9fef6cbd
sway: add foot, make sway.terminal an option
this helps getting a working terminal in VMs where

3D acceleration is limited
2022-02-03 02:05:56 +01:00
teutat3s d551045ac5
services.getty.autologinUser wants a lib.mkForce hammer 2022-02-03 01:34:01 +01:00
teutat3s 74b4ec148c
Merge branch 'main' into feature/basic-iso 2022-02-02 04:38:30 +01:00
teutat3s fa03692511
modules: user: add publicKeys option 2022-02-02 04:00:11 +01:00
teutat3s 7589360e6d
terminal-life: add asciinema 2022-02-02 04:00:11 +01:00
teutat3s c85cb99a15
Use newer ansible version instead of pythonPackages one 2022-02-02 04:00:11 +01:00
teutat3s 6da0f503e1
wayland: use NIXOS_OZONE_WL instead of *-wayland packages 2022-02-02 04:00:10 +01:00
teutat3s 18c566f30e
devops: add pgcli 2022-02-02 03:37:02 +01:00
teutat3s a208a817f7
audio: rename pulseeffects to easyeffects, follow
upstream: https://github.com/wwmm/easyeffects
2022-02-02 03:37:02 +01:00
teutat3s 52e934b3fc
neovim: fix completion, fix python lsp 2022-02-02 03:37:00 +01:00
teutat3s 0629024cf5
chore: clean up after upstream updates 2022-02-02 03:33:20 +01:00
teutat3s 2748fbcdee
wayland: use NIXOS_OZONE_WL instead of *-wayland packages 2022-01-31 17:12:03 +01:00
teutat3s 34777780b6
Merge branch 'devos' 2022-01-31 12:16:36 +01:00
Benjamin Bädorf 578f05b4f1
Always hibernate 2022-01-12 17:39:16 +01:00
Benjamin Bädorf 87e48217d0
Merge branch 'main' into b12f 2022-01-06 14:14:13 +01:00
teutat3s d50ef271e6
devops: add pgcli 2022-01-05 23:45:14 +01:00
teutat3s b3d764ba6e
audio: rename pulseeffects to easyeffects, follow
upstream: https://github.com/wwmm/easyeffects
2022-01-05 23:45:06 +01:00
teutat3s e0e7c4c42d
neovim: fix completion, fix python lsp 2022-01-05 23:44:59 +01:00
Benjamin Bädorf 923f41e700
Fix merge issue 2022-01-04 13:40:39 +01:00
Benjamin Bädorf 0ec6d23551
Add hp scanner driver module 2022-01-04 13:40:03 +01:00
Benjamin Bädorf c825128eb4
Add looking glass for VMs, switch from scream-ivshmem to qemu-pulse 2021-12-11 21:10:07 +01:00
Benjamin Bädorf 4057c68bb7
Merge branch 'b12f' of git.b12f.io:pub-solar/os into b12f 2021-12-11 21:09:28 +01:00
Benjamin Bädorf 15c0412080
Add looking glass for VMs, switch from scream-ivshmem to qemu-pulse 2021-12-11 21:08:20 +01:00
Benjamin Bädorf a934ef4a21 Merge remote-tracking branch 'origin/main' into b12f 2021-12-03 00:27:11 +00:00
Benjamin Bädorf 40dab652fb
Cleanup nvim config, add instant.nvim 2021-12-02 12:20:08 +01:00
Benjamin Bädorf 7069fb2a62
Cleanup nvim config, add instant.nvim 2021-12-02 12:19:37 +01:00
Benjamin Bädorf 65620a8bfc
Merge branch 'main' into b12f 2021-11-29 19:08:32 +01:00
Benjamin Bädorf dc580d30b7
Remove useless nvim plugin plenary
This dependency plugin is not needed anymore
2021-11-29 19:07:39 +01:00
Benjamin Bädorf 09508319e9
Merge branch 'main' of git.b12f.io:pub-solar/os 2021-11-29 19:07:07 +01:00
Benjamin Bädorf b5500d5e9e
Better terminal editing experience
* Decrease alacritty font size
* Improve file previews in fzf-nvim by removing some copyright notices
* Use reverse layout in fzf-nvim to align with zsh file completion
2021-11-29 19:06:10 +01:00
teutat3s ea282db4eb
nvim: remove diffview-nvim 2021-11-29 17:25:55 +01:00
Benjamin Bädorf 6e2c227969
Merge branch 'main' into b12f 2021-11-29 17:25:30 +01:00
Benjamin Bädorf 65c8894f47
Remove minimap from nvim, fix mergetool config for git 2021-11-29 17:23:09 +01:00
teutat3s e84fb19a20
sway: hotfix for swayidle, swaylock-bg missing in PATH 2021-11-29 17:19:10 +01:00
teutat3s b84d88fc92
graphical, sway: disable greetd, auto-login directly to desktop 2021-11-29 17:19:05 +01:00
Benjamin Bädorf 5c46477e44
Add obs 2021-11-18 20:12:24 +01:00
Benjamin Bädorf 91163d38ed
Allow changing the user description 2021-11-17 12:06:47 +01:00
Benjamin Bädorf cfe5d77f9e
Allow changing the user description 2021-11-17 12:05:50 +01:00
Benjamin Bädorf decf354138 Merge remote-tracking branch 'origin/main' into b12f 2021-11-08 00:07:14 +00:00
teutat3s d670aee07d
neovim: fix jsonls, fix cursor jumping into diagnostics buffer 2021-11-07 20:42:50 +01:00
teutat3s 7ea95e90f5
terminal-life: add glow, a tui markdown viewer; sort packages 2021-11-07 20:42:39 +01:00
Benjamin Bädorf 5a18a7c3c1
Merge branch 'main' into b12f 2021-10-29 18:47:33 +02:00
teutat3s 9bd3f7d871
nvim: sort alphabetically, add gopls (go lsp) 2021-10-29 16:47:11 +02:00
teutat3s c059af5248
terminal-life: add upstream nixos-option gc fix 2021-10-29 16:47:01 +02:00
teutat3s 27d962c96b
fix x-os option 2021-10-26 01:06:13 +02:00
teutat3s 09371808ae
Merge branch 'main' into feature/basic-iso 2021-10-26 01:00:30 +02:00
teutat3s 8a848a789b
overrides: try out docker-compose v2, xdg-desktop-portal from latest 2021-10-24 23:36:57 +02:00
teutat3s 2340270d81
All the option are with us now 2021-10-24 22:55:28 +02:00
teutat3s 2588264d88
Make check work 2021-10-24 22:03:28 +02:00
teutat3s c956297041
x-os: prepare booting from unencrypted /boot partition 2021-10-24 20:19:13 +02:00
Benjamin Bädorf 067ce16246
Remove git crypt
Start move to /boot kernel mount
x-os: prepare booting from unencrypted /boot partition
Move to systemd-boot
Remove all unencrypted secrets
2021-10-24 17:13:16 +02:00
teutat3s c35a38f834
x-os: prepare booting from unencrypted /boot partition 2021-10-24 01:20:31 +02:00
teutat3s 27aab3e540
initrd: make keyfile optional 2021-10-23 23:29:09 +02:00
teutat3s 0bfe4a135e
modules: remove redundant server module, SSH is enabled in core profile, too 2021-10-23 23:28:42 +02:00
Benjamin Bädorf 87a9d94d0a
secrets via agenix 2021-10-23 13:24:22 +02:00
Benjamin Bädorf 411a0e3e74
Add basic ISO setup 2021-10-21 20:06:57 +02:00
Benjamin Bädorf 231abe6af4
Merge branch 'main' into b12f 2021-10-13 19:27:04 +02:00
Benjamin Bädorf 6dce415552
Add android mobile option 2021-09-27 14:52:13 +02:00
teutat3s 9d0e9efb47 fix/mimeapps-tweaks (#20)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/20
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-09-22 20:21:11 +00:00
Benjamin Bädorf 6039a73b04 Merge remote-tracking branch 'origin/master' into b12f 2021-09-22 00:22:37 +00:00
Benjamin Bädorf 9b248f9fb4 Remove direnv (#18)
Co-authored-by: Benjamin Bädorf <hello@benjaminbaedorf.eu>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/18
Reviewed-by: teutat3s <teutates@mailbox.org>
Co-authored-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-committed-by: Benjamin Bädorf <b12f@noreply.example.org>
2021-09-21 20:27:18 +00:00
teutat3s 761b671549 b12f-to-master (#16)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/16
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-09-08 22:00:03 +00:00
teutat3s 8ff750994e Use wayland version of element-desktop (#15)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/15
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-09-08 09:13:59 +00:00
Benjamin Bädorf 9009fa4a52
Merge branch 'b12f-master' into b12f 2021-09-04 16:00:32 +02:00
teutat3s 02330bc9ce
Merge remote-tracking branch 'devos/master' 2021-09-01 18:45:42 +02:00
teutat3s 5aea1e8089
Merge remote-tracking branch 'devos/core' into core 2021-08-23 23:22:55 +02:00
David Arnold 5bd943f97d
imp: advise removal of */modules-list.nix on merge conflicts
During merge conflicts, these lines should appear in the hunks
and give instructions on how to handle them in the face of the
implementation of `rakeLeaves` for modules in https://git.io/JB1Wk via
`importModules`, that knows how to rake leaves by walking the folder
tree on it's own and collecting leaves that are normal nix files or
folers who contain a `default.nix` mmicking strongly a "recursive"
import-ish syntax.
2021-07-31 23:03:19 -05:00
David Arnold 31a8e76209
ref: adapt to using plain digga module for boostrap ISO 2021-07-20 21:45:41 -05:00
teutat3s 81a70f7063
Merge remote-tracking branch 'devos/develop' into core 2021-07-17 15:43:05 +02:00
David Arnold 8ae22c63dc
fix: move legacy nix path definitions back to devos 2021-07-16 15:27:17 -05:00
David Arnold 26a2423312 ref: make hm common module explicit 2021-07-16 13:02:49 -05:00