../../nixos/profiles/wireguard/wg-intra.nix
];
install.substituteOnDestination = false;
-networking.domain = "sourcephile.fr";
+networking.domain = "wg";
networking.useDHCP = false;
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
pkgs.libmbim
pkgs.chatty
pkgs.gnome.gnome-contacts
- pkgs.mmsd-tng
pkgs.picocom
pkgs.calls
pkgs.dfeet
{ pkgs, lib, config, ... }:
{
imports = [
- modules/mmsd.nix
modules/security/systemd-creds.nix
];
}
+++ /dev/null
-{ pkgs, lib, config, ... }:
-with lib;
-let
- cfg = config.services.mmsd;
- dbusServiceFile = pkgs.writeTextDir "share/dbus-1/services/org.ofono.mms.service" ''
- [D-BUS Service]
- Name=org.ofono.mms
- SystemdService=dbus-org.ofono.mms.service
-
- # Exec= is still required despite SystemdService= being used:
- # https://github.com/freedesktop/dbus/blob/ef55a3db0d8f17848f8a579092fb05900cc076f5/test/data/systemd-activation/com.example.SystemdActivatable1.service
- Exec=${pkgs.coreutils}/bin/false mmsd
- '';
-in
-{
- options.services.mmsd = {
- enable = mkEnableOption "Multimedia Messaging Service Daemon";
- extraArgs = mkOption {
- type = with types; listOf str;
- default = [];
- example = ["--debug"];
- };
- };
- config = mkIf cfg.enable {
- services.dbus.packages = [ dbusServiceFile ];
- systemd.user.services.mmsd = {
- after = [ "ModemManager.service" ];
- aliases = [ "dbus-org.ofono.mms.service" ];
- serviceConfig = {
- Type = "dbus";
- ExecStart = "${pkgs.mmsd-tng}/bin/mmsdtng " + escapeShellArgs cfg.extraArgs;
- BusName = "org.ofono.mms";
- Restart = "on-failure";
- };
- };
- };
-}
overlays/podl.nix
overlays/vim-ghcid-quickfix.nix
overlays/zerobin.nix
- #overlays/chatty.nix
-] ++
-[
- (final: prev: {
- mmsd-tng = final.callPackage pkgs/mmsd-tng.nix {};
- })
]
url = "https://github.com/NixOS/nixpkgs/pull/128014.diff";
sha256 = "sha256-FVp0ogzLwYbQuU8Luj+yAmFOjGC4ZyyQLSybRdfQLoA=";
}
+{
+ meta.description = "mmsd";
+ url = "https://github.com/NixOS/nixpkgs/pull/196965.diff";
+ sha256 = "sha256-7hNuN2RUzLT0hZmITIEdRK3k7xu07I7XC1m8NPN+BYU=";
+}
]
+++ /dev/null
-{ lib, stdenv
-, fetchFromGitLab
-, c-ares
-, dbus
-, glib
-, libphonenumber
-, libsoup
-, meson
-, mobile-broadband-provider-info
-, modemmanager
-, ninja
-, pkg-config
-, protobuf
-}:
-
-stdenv.mkDerivation rec {
- pname = "mmsd-tng";
- version = "1.12.1";
-
- src = fetchFromGitLab {
- owner = "kop316";
- repo = "mmsd";
- rev = version;
- sha256 = "sha256-fhbiTJWmQwJpuMaVX2qWyWwJ/2Y/Vczo//+0T0b6jhA=";
- };
-
- nativeBuildInputs = [
- meson
- ninja
- pkg-config
- ];
-
- buildInputs = [
- c-ares
- dbus
- glib
- libphonenumber
- libsoup
- mobile-broadband-provider-info
- modemmanager
- protobuf
- ];
-
- doCheck = true;
-
- meta = with lib; {
- description = "Multimedia Messaging Service Daemon - The Next Generation";
- homepage = "https://gitlab.com/kop316/mmsd";
- license = licenses.gpl2;
- maintainers = with maintainers; [ julm ];
- platforms = platforms.linux;
- };
-}