Bruno BELANYI
bbb1231ad3
modules: services: postgres: add migration script
...
The process to upgrade is:
* Make sure the version number of the script is one major version over
the service version.
* Activate the script, rebuild configuration.
* Run `upgrade-pg-cluster` as `root`. One can give arguments like
`--link` or `--jobs 4` to speedup the process. See documentation for
some details.
* Change package to new version once the upgrade is finished, rebuild
configuration.
* Optionally, `ANALYZE` the new database.
2021-07-29 13:02:49 +02:00
Bruno BELANYI
9f00d8a38e
modules: services: add postgresql
...
Enable the service itself in other modules when needed, but pin the
package in a single place.
2021-07-29 12:43:28 +02:00
Bruno BELANYI
820b52314f
modules: services: monitoring: add scrape interval
continuous-integration/drone/push Build is passing
2021-07-15 18:54:07 +02:00
Bruno BELANYI
a3293277d9
flake: flatten and filter packages w/ flake-utils
...
continuous-integration/drone/push Build is passing
Instead of my home-grown solution, use one that has been upstreamed.
2021-07-14 21:49:31 +02:00
Bruno BELANYI
2ecd417a68
machines: porthos: services: enable monitoring
continuous-integration/drone/push Build is passing
2021-07-13 19:17:33 +02:00
Bruno BELANYI
4e8045716c
secrets: add monitoring password
2021-07-13 19:17:33 +02:00
Bruno BELANYI
e060476f32
modules: services: add monitoring dashboard
2021-07-13 19:17:33 +02:00
Bruno BELANYI
2458ddf59d
modules: services: add monitoring
...
This includes a dashboard to monitor system ressources, using
Prometheus.
2021-07-13 19:17:33 +02:00
Bruno BELANYI
8927b3182f
flake: bump inputs
2021-07-13 19:08:54 +02:00
Bruno BELANYI
f2dfeeb35b
home: git: use topological order in log
...
It is the one that makes most sense, rather than some kind of date
order...
2021-07-13 17:50:44 +02:00
Bruno BELANYI
971b610cd5
modules: services: matrix: SSL only for server
...
This is a requirement anyway for homeservers, and the `forceSSL` option
tried to create a redirect for non-SSL traffic, except the `listen`
option only provided SSL endpoints anyway, so this resulted in
additional rules in the nginx config looking like this:
```nginx
server {
server_name matrix.belanyi.fr ;
location /.well-known/acme-challenge {
root /var/lib/acme/acme-challenge;
auth_basic off;
}
location / {
return 301 https://$host$request_uri ;
}
}
```
2021-07-13 17:43:31 +02:00
Bruno BELANYI
21f48b5f71
pkgs: bw-pass: change password prompt
continuous-integration/drone/push Build is passing
2021-07-04 11:52:07 +02:00
Bruno BELANYI
a3edf2548b
overlays: transgui: correctly use previous patches
2021-07-04 11:52:07 +02:00
Bruno BELANYI
ea7b064546
home: direnv: update to new option name
...
continuous-integration/drone/push Build is passing
And enable the flakes option.
I don't actually use this on my own projects, but it could be useful for
other projects that I contribute to.
2021-06-30 20:08:07 +02:00
Bruno BELANYI
ff8e64d601
home: mail: add himalaya
...
This mail client is very KISS. I like it.
2021-06-30 20:08:06 +02:00
Bruno BELANYI
791109c3c1
flake: bump inputs
2021-06-30 20:07:55 +02:00
Bruno BELANYI
6eb3942270
home: firefox: add sponsorblock
continuous-integration/drone/push Build is passing
2021-06-27 19:51:04 +02:00
Bruno BELANYI
2232062fd9
home: secrets: use more specific type
...
I will amend it if I need more types, but for now this is fine.
2021-06-27 19:48:42 +02:00
Bruno BELANYI
d6e9f9786d
secrets: use more specific type
...
I will amend it if I need more types, but for now this is fine.
2021-06-27 19:48:26 +02:00
Bruno BELANYI
5abe4e929e
modules: hardware: sound: refactor options
...
continuous-integration/drone/push Build is passing
Do not enable ALSA when using pipewire. Ensure that both pulseaudio and
pipewire are not configured at the same time.
2021-06-27 01:59:07 +02:00
Bruno BELANYI
57717d70ef
home: wm: i3: also toggle xss-lock
2021-06-26 18:38:11 +02:00
Bruno BELANYI
7a382368e8
modules: move home configuration from flake
2021-06-25 20:46:36 +02:00
Bruno BELANYI
0f17123d09
modules: change username configuration option
...
It makes more sense to have a `my.user` option.
2021-06-25 20:45:36 +02:00
Bruno BELANYI
c6d21493ef
home: zsh: explicitly set history save size
...
continuous-integration/drone/push Build is passing
Turns out the `history.save` limit is for what is *loaded into memory*,
not what is written to disk.
2021-06-23 23:14:05 +02:00
Bruno BELANYI
5cebb9b54b
home: zsh: explicitly opt out of extended history
2021-06-23 23:13:39 +02:00
Bruno BELANYI
92c2748747
home: wm: dunst: use rofi as 'dmenu' when enabled
2021-06-23 23:08:23 +02:00
Bruno BELANYI
4cae294cf5
home: wm: i3: enable rofi bindings when applicable
2021-06-23 23:06:15 +02:00
Bruno BELANYI
23c6093c36
home: wm: dunst: add line wrapping
...
continuous-integration/drone/push Build is passing
Once again, trying to make them actually readable.
2021-06-22 19:48:03 +02:00
Bruno BELANYI
3fdcfb5b5f
home: wm: dunst: add max icon size
...
continuous-integration/drone/push Build is passing
Otherwise I end up with icons that are way too big...
2021-06-22 19:39:35 +02:00
Bruno BELANYI
c9418cc4d3
pkgs: matrix-notifier: 0.1.2 -> 0.2.0
...
continuous-integration/drone/push Build is passing
`pandoc` is now a dependency.
2021-06-16 21:19:09 +02:00
Bruno BELANYI
cd02cbff45
pkgs: use 'lib' as first input
...
continuous-integration/drone/push Build is passing
This is the idiomatic style in nixpkgs.
2021-06-16 20:13:25 +02:00
Bruno BELANYI
daa69a54fa
modules: services: indexers: limit Jackett memory
continuous-integration/drone/push Build is passing
2021-06-15 21:25:56 +02:00
Bruno BELANYI
212dd299e2
pkgs: matrix-notifier: 0.1.0 -> 0.1.2
continuous-integration/drone/push Build is passing
2021-06-15 18:42:13 +02:00
Bruno BELANYI
cff3811cad
home: wm: screen-lock: use actual assertion
...
continuous-integration/drone/push Build is passing
Instead of hijacking the type verification, use an assertion.
2021-06-15 17:45:17 +02:00
Bruno BELANYI
8f266245ee
modules: system: add boot
...
And enable mounting `/tmp` as tmpfs by default.
2021-06-14 16:41:28 +02:00
Bruno BELANYI
b8be3d80a8
ci: migrate to 'exec' runner
...
continuous-integration/drone/push Build is passing
Now that I have written a script to do the Matrix notification, I can do
that.
2021-06-13 18:38:09 +02:00
Bruno BELANYI
b04c1b09ea
pkgs: add matrix-notifier
2021-06-13 18:37:11 +02:00
Bruno BELANYI
3a471433ed
home: secrets: clean-up 'default.nix'
continuous-integration/drone/push Build is passing
2021-06-12 20:35:28 +02:00
Bruno BELANYI
f8325cc9c7
secrets: clean-up 'default.nix'
2021-06-12 20:35:06 +02:00
Bruno BELANYI
cd1173d2f6
flake: filter 'packages' on system
2021-06-12 19:56:17 +02:00
Bruno BELANYI
e319eaf09f
pkgs: bw-pass: fix 'meta.platforms'
...
This makes use of 'keyutils' which only works on Linux.
2021-06-12 19:30:25 +02:00
Bruno BELANYI
e6ba569b36
modules: system: documentation: include POSIX man
continuous-integration/drone/push Build is passing
2021-06-12 13:23:09 +02:00
Bruno BELANYI
ee21de5b94
modules: services: matrix: add mail configuration
continuous-integration/drone/push Build is passing
2021-06-09 19:14:09 +02:00
Bruno BELANYI
6614b47546
secrets: matrix: add mail configuration
2021-06-09 19:14:09 +02:00
Bruno BELANYI
06c53620f8
modules: services: matrix: enable spaces
2021-06-09 18:33:54 +02:00
Bruno BELANYI
d43045c6d6
modules: services: matrix: add SMS verification
2021-06-09 18:32:59 +02:00
Bruno BELANYI
6113ad154d
home: firefox: tridactyl: add tabduplicate mapping
continuous-integration/drone/push Build encountered an error
2021-06-07 17:56:46 +02:00
Bruno BELANYI
e8982b8bc9
machines: aramis: profiles: enable devices
2021-06-07 17:56:46 +02:00
Bruno BELANYI
7684489c9a
profiles: add devices
2021-06-07 17:56:46 +02:00
Bruno BELANYI
1994ef2b1b
modules: hardware: add mx-ergo
...
This adds the ability to scroll using the ball, which is way better.
2021-06-07 17:56:46 +02:00