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,
lib,
pkgs,
...
{ config
, lib
, pkgs
, ...
}:
lib.mkIf config.bchmnn.gui.enable {

View file

@ -1,8 +1,7 @@
{
pkgs,
lib,
nixosConfig,
...
{ pkgs
, lib
, nixosConfig
, ...
}:
{
imports = [
@ -20,7 +19,6 @@
home.packages =
with pkgs;
[
firefox # a web browser built from firefox source tree
thunderbird # a full-featured e-mail client
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 [
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 = [
./flare-solvarr.nix
./jackett.nix
./syncthing.nix
];
}

View file

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