Commit graph

281 commits

Author SHA1 Message Date
Benjamin Bädorf be016c44fb Merge pull request 'Remove nonfree software' (#113) from feat/fucking-free into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/113
Reviewed-by: teutat3s <teutates@mailbox.org>
2022-08-14 12:47:32 +00:00
Benjamin Bädorf 552b2ee53e
Remove nonfree software
This commit removes the default, global `allowUnfree = true;` setting
and removes nonfree packages where I could find them. Tested by building
the `PubSolarOS` host once.
2022-08-14 14:15:02 +02:00
hensoko 18e9b4a009 feature/restructure-core-profile (#109)
Co-authored-by: Hendrik Sokolowski <hensoko@gssws.de>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/109
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
Reviewed-by: teutat3s <teutates@mailbox.org>
2022-08-13 20:35:43 +00:00
Benjamin Bädorf e3d76f1999
Move ci-runner to user and add git, virsh and nix to path 2022-08-13 22:31:30 +02:00
Benjamin Bädorf 0b229a771e
Barebones ci-runner module
This adds a barebones CI-runner module with the following option:

`pub-solar.ci-runner.enable`

If enabled, this will start a systemd service on boot that runs
`drone-runner-exec`. The configuration expects you to have a file called
`secrets/drone-runner-exec-config` handled by agenix that gets put into
`/run/agenix/drone-runner-exec-config` and is owned by root.

This file should contain a configuration similar to the following:

```
CLIENT_DRONE_RPC_PROTO=https
CLIENT_DRONE_RPC_HOST=drone.company.com
CLIENT_DRONE_RPC_SECRET=super-duper-secret
```
2022-08-13 22:08:02 +02:00
teutat3s 6d5025b17b
Merge branch 'main' into teutat3s 2022-08-13 17:43:58 +02:00
teutat3s e11c91f86e
Merge branch 'main' into fix/neovim-cherry-picks 2022-08-13 17:35:16 +02:00
Benjamin Bädorf 93aaab2685
Make cryptroot optional 2022-08-13 12:32:37 +02:00
Benjamin Bädorf 9375fc4aae Merge pull request 'Add denols to nvim' (#88) from feature/denols into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/88
2022-08-12 22:45:13 +00:00
Benjamin Bädorf ebfd447037 Merge pull request 'Add Arduino module' (#98) from feature/arduino into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/98
Reviewed-by: hensoko <hensoko@noreply.example.org>
2022-08-12 22:44:28 +00:00
Benjamin Bädorf 6b396f0840 Merge branch 'main' into fix/neovim-cherry-picks 2022-08-12 20:52:57 +00:00
Benjamin Bädorf 1a7d0979c1 Merge pull request 'Add spotify as an audio option' (#99) from feature/spotify into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/99
Reviewed-by: hensoko <hensoko@noreply.example.org>
2022-08-12 20:43:03 +00:00
Benjamin Bädorf 06d2b07b09 Merge pull request 'Remove unused scream pulse service file' (#89) from refactor/remove-scream-pulse-service into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/89
2022-08-12 18:44:50 +00:00
Benjamin Bädorf 6150201e6e Merge pull request 'signal-desktop: works without workaround again' (#93) from social/revert-signal-fix into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/93
2022-08-12 18:44:32 +00:00
Benjamin Bädorf 8e634ad70b Merge pull request 'audio: remove mopidy-spotify, upstream abandonded support' (#95) from fix/audio-remove-mopidy-spotify into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/95
2022-08-12 18:33:26 +00:00
Benjamin Bädorf 45202d98ec
Add Arduino module
This adds a small arduino development module that installs development
tooling and adds the user to the `dialout` group.
2022-08-10 22:53:37 +02:00
Benjamin Bädorf bb53317daf
Add spotify as an audio option
Adds a `config.pub-solar.audio.spotify` option that when enabled
installs and configures `spotifyd` as a systemd daemon and `spotify-tui`
as the terminal-based UI.

After enabling, run `spt` in the terminal to open the UI.
2022-08-10 22:52:17 +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
teutat3s 7749667888
sway: use swaynotificationcenter from master
branch, fixes scaling issue, see:

https://github.com/ErikReider/SwayNotificationCenter/issues/108#issuecomment-1180844131
2022-08-09 11:56:42 +02:00
teutat3s 1b2ede1e86
neovim: fix quoting, use vim.fn.stdpath to get
the neovim config directory path
2022-08-09 11:56:42 +02:00
teutat3s 5c57e0af8a
neovim: add vim-nixhash plugin 2022-08-09 11:56:41 +02:00
teutat3s 94acf6d190
neovim: use vimagit from latest master commit 2022-08-09 11:56:41 +02:00
teutat3s f3ac27ac71
neovim, caddy: add json-schema, use tabs in
Caddyfiles, add vim-caddyfile
2022-08-09 11:56:41 +02:00
teutat3s edbfeeb63b
zsh: correctly pin plugins to commits instead of
branch names, to prevent errors like:
error: hash mismatch in fixed-output derivation '/nix/store/n7w9jd46zx4rzy9a24abxv3lcx1ikn1j-source.drv':
         specified: sha256-0pzkKPdzyQXTe8usaSaM1Iivi2UHQrSJrh5V2pRd0Gg=
            got:    sha256-9vc4cMBCNOmPOyzGwnPeMrXXyQUq4pC9Du3AWl9+Rys=
2022-07-17 16:54: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
teutat3s 7ec1b28c13
audio: switch to wireplumber for pipewire configuration
https://nixos.wiki/wiki/PipeWire#Bluetooth_Configuration
2022-07-08 14:18:10 +02:00
teutat3s 72ee1b7180
terminal-life: fix missing file attribute for zsh-nix-shell plugin 2022-07-08 14:16:58 +02:00
teutat3s 18cf9e1f0d
audio: remove mopidy-spotify, upstream abandonded support 2022-07-07 22:29:33 +02:00
teutat3s ce5753cee5
signal-desktop: works without workaround again
Also add --use-tray-icon flag, since it works now
2022-07-07 22:29:33 +02:00
teutat3s bf30ff4396
pkgs: add notes command
Inspiration: https://fedops.codeberg.page/note-taking-and-searching.html
2022-07-07 22:29:25 +02:00
teutat3s 40240e9d5c
zsh: bundle plugins within our config 2022-06-05 03:07:50 +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
teutat3s a79cb4f592
Merge branch 'main' into teutat3s 2022-06-04 14:05:09 +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 7f712ce866
sway: use ExecStartPre in systemd service, like upstream wiki 2022-06-02 10:45:03 +02:00
teutat3s daeff7cdae
audio: enable lightweight, but high-quality SBC-XQ codec
http://soundexpert.org/articles/-/blogs/audio-quality-of-sbc-xq-bluetooth-audio-codec
2022-06-02 10:44:18 +02: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 aabfc4a0dd
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:09:42 +02:00
teutat3s 036de0adc2
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

Explicitly stop focus for FF Sharing Indicator
2022-05-06 14:58:49 +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
teutat3s 05c72f28af
sway: switch from mako to swaynotificationcenter
https://github.com/ErikReider/SwayNotificationCenter brings a fresh look
don't disturbe mode and a control panel to our notifications
2022-05-06 13:39:48 +02:00
teutat3s 09c83e89b1
Merge branch 'main' into teutat3s 2022-05-05 16:12:42 +02:00
teutat3s 3229e5c6da
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-05 16:08:51 +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
teutat3s 978d07d868
Merge branch 'main' into teutat3s 2022-05-02 21:59:52 +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
teutat3s 393302373b
zsh: precmd() don't echo trailing newline 2022-05-02 01:23:41 +02:00
teutat3s c3c7b63d73
sway: fix cursor not scaling correctly 2022-05-02 01:23:18 +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 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 fc8ac5709a
zsh: precmd() don't echo trailing newline 2022-04-30 20:57:35 +02:00
teutat3s 99ece3e3f1
Merge branch 'main' into fix/gnome3-to-gnome 2022-04-30 20:17:25 +02:00
teutat3s 26d5fcf589
Merge branch 'main' into teutat3s 2022-04-30 20:13:39 +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
teutat3s 89d9611e5e
Merge branch 'main' into teutat3s 2022-04-30 18:14:55 +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 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
teutat3s 5a95fedf3c
Merge branch 'main' into teutat3s 2022-04-30 17:52:44 +02:00
Benjamin Bädorf b516473f69
Change terminal title to cwd 2022-04-30 17:52:11 +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
teutat3s 7c98e09e88
virtualisation: generalize for intel CPUs by adding intel_iommu to kernelParams 2022-04-30 15:15:29 +02:00
teutat3s 0a22395a8c
tree-wide: gnome3 -> gnome, add hicolor-icon-theme
as fallback
2022-04-30 15:13:20 +02:00
teutat3s 75dfffa614
neovim: don't show diagnostics when in insert mode 2022-04-30 15:12:26 +02:00
teutat3s 5149c219e6
neovim: use apprentice colorscheme 2022-04-30 15:10:27 +02:00
teutat3s 67a4b2e58d
zsh: use max length for dir to allow enough space for
the right hand indicators
2022-04-30 15:10:27 +02:00
teutat3s 3c3945d34b
neovim: fix lsp for neovim 0.7.0 2022-04-30 15:10:26 +02:00
teutat3s 03cf31989f
neovim: add template for shell.nix files 2022-04-30 15:10:26 +02:00
teutat3s 469c2a3ed9
neovim: fix lsp for neovim 0.7.0 2022-04-26 11:37:59 +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 0c14291bc2
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:47:28 +02:00
teutat3s a1c87c43ca
office: add xournalpp, tool for annotating PDFs 2022-04-09 14:24:51 +02:00
teutat3s 841ce25ab2
printing: add driver for canon pixma 2022-04-03 18:48:41 +02:00