this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove wallabag

-98
-98
pkgs/wallabag.nix
··· 1 - { pkgs, config, lib, ... }: 2 - 3 - { 4 - services.postgresql = { 5 - enable = true; 6 - 7 - # Ensure the database, user, and permissions always exist 8 - ensureDatabases = [ "wallabag" ]; 9 - ensureUsers = [ 10 - { name = "wallabag"; 11 - ensurePermissions."DATABASE wallabag" = "ALL PRIVILEGES"; 12 - } 13 - ]; 14 - }; 15 - 16 - services.wallabag = { 17 - enable = true; 18 - hostName = "read.mossnet.lan"; 19 - package = pkgs.callPackage ./pkg-wallabag.nix {}; 20 - conf = '' 21 - # This file is a "template" of what your parameters.yml file should look like 22 - parameters: 23 - # Uncomment these settings or manually update your parameters.yml 24 - # to use docker-compose 25 - # 26 - # database_driver: %env.database_driver% 27 - # database_host: %env.database_host% 28 - # database_port: %env.database_port% 29 - # database_name: %env.database_name% 30 - # database_user: %env.database_user% 31 - # database_password: %env.database_password% 32 - 33 - database_driver: pdo_pgsql 34 - database_host: localhost 35 - database_port: ~ 36 - database_name: wallabag 37 - database_user: wallabag 38 - database_password: wallabag 39 - # For SQLite, database_path should be "%kernel.project_dir%/data/db/wallabag.sqlite" 40 - database_path: ~ 41 - database_table_prefix: wallabag_ 42 - database_socket: null 43 - # with PostgreSQL and SQLite, you must set "utf8" 44 - database_charset: utf8 45 - 46 - domain_name: http://read.mossnet.lan 47 - server_name: "mossnet wallabag instance" 48 - 49 - mailer_transport: smtp 50 - mailer_user: ~ 51 - mailer_password: ~ 52 - mailer_host: 127.0.0.1 53 - mailer_port: false 54 - mailer_encryption: ~ 55 - mailer_auth_mode: ~ 56 - 57 - locale: en 58 - 59 - # A secret key that's used to generate certain security-related tokens 60 - secret: SAFGOECRIlfal89oe6u0(*^dsaaih961 61 - 62 - # two factor stuff 63 - twofactor_auth: true 64 - twofactor_sender: no-reply@wallabag.org 65 - 66 - # fosuser stuff 67 - fosuser_registration: true 68 - fosuser_confirmation: true 69 - 70 - # how long the access token should live in seconds for the API 71 - fos_oauth_server_access_token_lifetime: 3600 72 - # how long the refresh token should life in seconds for the API 73 - fos_oauth_server_refresh_token_lifetime: 1209600 74 - 75 - from_email: no-reply@wallabag.org 76 - 77 - rss_limit: 50 78 - 79 - # RabbitMQ processing 80 - rabbitmq_host: localhost 81 - rabbitmq_port: 5672 82 - rabbitmq_user: guest 83 - rabbitmq_password: guest 84 - rabbitmq_prefetch_count: 10 85 - 86 - # Redis processing 87 - redis_scheme: tcp 88 - redis_host: localhost 89 - redis_port: 6379 90 - redis_path: null 91 - redis_password: null 92 - 93 - # sentry logging 94 - sentry_dsn: ~ 95 - ''; 96 - }; 97 - # networking.firewall.allowedTCPPorts = [ 8080 ]; 98 - }