nixos/ente-auth: init (#421940)

This commit is contained in:
Gergő Gutyina
2025-12-26 23:31:46 +00:00
committed by GitHub
3 changed files with 30 additions and 0 deletions
@@ -28,6 +28,8 @@
- [dsearch](https://github.com/AvengeMedia/danksearch), a fast filesystem search service with fuzzy matching. Available as [programs.dsearch](#opt-programs.dsearch.enable).
- [Ente Auth](https://ente.io/auth/), an open source 2FA authenticator, with end-to-end encrypted backups. Available as [programs.ente-auth](#opt-programs.ente-auth.enable).
- [udp-over-tcp](https://github.com/mullvad/udp-over-tcp), a tunnel for proxying UDP traffic over a TCP stream. Available as `services.udp-over-tcp`.
- [Komodo Periphery](https://github.com/moghtech/komodo), a multi-server Docker and Git deployment agent by Komodo. Available as [services.komodo-periphery](#opt-services.komodo-periphery.enable).
+1
View File
@@ -204,6 +204,7 @@
./programs/dsearch.nix
./programs/dublin-traceroute.nix
./programs/ecryptfs.nix
./programs/ente-auth.nix
./programs/environment.nix
./programs/envision.nix
./programs/evince.nix
+27
View File
@@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.programs.ente-auth;
in
{
options.programs.ente-auth = {
enable = lib.mkEnableOption "Ente Auth";
package = lib.mkPackageOption pkgs "ente-auth" { };
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
services.gnome.gnome-keyring.enable = lib.mkIf (
!config.services.desktopManager.plasma6.enable
) true;
};
meta.maintainers = with lib.maintainers; [
gepbird
yiyu
];
}