fix: regressions

This commit is contained in:
Jacob Bachmann 2024-09-07 15:23:55 +02:00
parent ebedec9768
commit c8b21a4f51
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
4 changed files with 15 additions and 14 deletions

View file

@ -1,8 +1,7 @@
{ { config
config, , lib
lib, , pkgs
pkgs, , ...
...
}: }:
lib.mkIf config.bchmnn.gui.enable { lib.mkIf config.bchmnn.gui.enable {

View file

@ -1,8 +1,7 @@
{ { pkgs
pkgs, , lib
lib, , nixosConfig
nixosConfig, , ...
...
}: }:
{ {
imports = [ imports = [
@ -20,7 +19,6 @@
home.packages = home.packages =
with pkgs; with pkgs;
[ [
firefox # a web browser built from firefox source tree firefox # a web browser built from firefox source tree
thunderbird # a full-featured e-mail client thunderbird # a full-featured e-mail client
speechd # common interface to speech synthesis - https://support.mozilla.org/en-us/kb/speechd-setup speechd # common interface to speech synthesis - https://support.mozilla.org/en-us/kb/speechd-setup
@ -58,5 +56,9 @@
++ lib.optionals nixosConfig.services.ratbagd.enable [ ++ lib.optionals nixosConfig.services.ratbagd.enable [
piper # gtk frontend for ratbagd mouse config daemon piper # gtk frontend for ratbagd mouse config daemon
]
++ lib.optionals nixosConfig.bchmnn.collections.development.enable [
wireshark # powerful network protocol analyzer
]; ];
} }

View file

@ -2,5 +2,6 @@
imports = [ imports = [
./flare-solvarr.nix ./flare-solvarr.nix
./jackett.nix ./jackett.nix
./syncthing.nix
]; ];
} }

View file

@ -1,5 +1,4 @@
{ lib, config, ... }: { lib, config, ... }: {
lib.mkIf config.bchmnn.sync.enable {
options.bchmnn.services.syncthing = { options.bchmnn.services.syncthing = {
enable = lib.mkEnableOption "syncthing"; enable = lib.mkEnableOption "syncthing";
@ -7,7 +6,7 @@ lib.mkIf config.bchmnn.sync.enable {
config = lib.mkIf (config.bchmnn.services.syncthing.enable) { config = lib.mkIf (config.bchmnn.services.syncthing.enable) {
services.syncthing = { services.syncthing = {
enable = false; enable = true;
openDefaultPorts = true; openDefaultPorts = true;
settings = { settings = {