nixos-mailserver
flake-utils-plus
nixos-mailserver | flake-utils-plus | |
---|---|---|
12 | 19 | |
- | 446 | |
- | - | |
- | 4.9 | |
- | 2 days ago | |
Nix | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nixos-mailserver
-
SNM - Mailserver: SMTP outgoing mail not working
Hello. I have a server running NixOS. Webserver etc. works well and without problems. I tried to install the Simple NixOS Mailserver (https://gitlab.com/simple-nixos-mailserver/nixos-mailserver). After configure it the incoming mail works fine (IMAP: mail.domain.com on port 993) but the mails won't go out.
-
Modern full-featured mail server for low-maintenance self-hosted email
If you are familiar with NixOS, and like to have everything declared in Nix configuration, Simple NixOS Mailserver is very robust and easy to use. Have been using it for ~2 years.
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver
-
Self Hosted Email Server
I was able to set up a reliable email server using Simple NixOS Mailserver following the guide.
-
ridiculously easy mail server setup with NixOS
I just finished setting up my mail server on my nixos VPS (also huge thanks to nixos-infect devs), it was super easy. Just follow the guide and you have a working 10/10 mail server, I had no bumps along the way and everything just works. It even has flake support which I used. Check out the repo simple-nixos-mailserver/nixos-mailserver.
-
[WIP] Simple yet powerful mail server setup on NixOS
I’ve been using nixos-mailserver for a while now: https://gitlab.com/simple-nixos-mailserver/nixos-mailserver It’s using dovecot and postfix.
-
Maybe moving to self hosted email
If your willing to do some tinkering I recommend simple-nixos-mailserver. I don't use nixos much, but I do find its very good at this one thing.
-
Best minimal Email Server for Linux
If you have the option to install NixOS (or convert the preinstalled distro), I can recommend Simple NixOS Mailserver. It is a complete solution (postfix, dovecot, rspamd), and can easily be extended with roundcube webmail.
-
How to Learn Nix
I recently got into running my own NixOS server—setting up Nextcloud[0], a website[1], DNS server and most recently a mail server[2] were all incredibly easy, in fact, setting up DNS records is more involved than configuring a mail server on NixOS! This was all done on a server with less than 10 GB of disk space as well.
With additional software such as NixOps, personal servers can also be easily spun up and provisioned.
While inevitably there are rough edges if you look deeply enough, I think the default OOTB experience has been incredible for use on a server and as a day-to-day distro. Highly predictable and declarative configurations is the way to go.
[0] https://github.com/siraben/dotfiles/blob/ffaaacf8888a5c4167b...
[1] https://siraben.dev
[2] https://gitlab.com/simple-nixos-mailserver/nixos-mailserver
-
Error in rebuild after upgrading from 20.09 to 21.05
{ config, pkgs, ... }: let nixos-unstable = import { config = removeAttrs config.nixpkgs.config [ "packageOverrides" ]; }; in { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix (builtins.fetchTarball { url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/nixos-21.05/nixos-mailserver-nixos-21.05.tar.gz"; sha256 = "1fwhb7a5v9c98nzhf3dyqf3a5ianqh7k50zizj8v5nmj3blxw4pi"; }) ]; disabledModules = [ "services/misc/mautrix-telegram.nix" "services/misc/matrix-synapse.nix" "services/misc/matrix-appservice-irc.nix" "services/web-apps/jitsi-meet.nix" "services/networking/jitsi-videobridge.nix" "services/networking/jicofo.nix" ]; nixpkgs = { overlays = [ # *snip* some local package definitions ]; config = { allowUnfree = true; packageOverrides = pkgs: { mautrix-telegram = nixos-unstable.mautrix-telegram; matrix-synapse = nixos-unstable.matrix-synapse; matrix-appservice-irc = nixos-unstable.matrix-appservice-irc; jitsi-meet = nixos-unstable.jitsi-meet; jitsi-meet-prosody = nixos-unstable.jitsi-meet-prosody; jitsi-videobridge = nixos-unstable.jitsi-videobridge; jitsi-videobridge2 = nixos-unstable.jitsi-videobridge2; jitsi = nixos-unstable.jitsi; jicofo = nixos-unstable.jicofo; util-linux = nixos-unstable.util-linux; # required by matrix-synapse }; }; }; # ...
-
NixOS for selfhosting?
I'm running matrix-synapse, nextcloud (in a nixos container), mumble, gitlab, vaultwarden, some game servers (i.e. Minecraft) and even my own mailserver with simple-nixos-mailserver.
flake-utils-plus
-
[Question] When using flakes, can I remove all channels?
You don't need channels to use nix-shell or nix-env. You can generate the Nix path and registry from your flake inputs. flake-utils-plus makes this easy with nix.generateRegistryFromInputs and nix.generateNixPathFromInputs.
-
How do I deploy a configuration to a machine with an existing hardware-configuration.nix?
Use flake-utils-plus to easily define multiple systems in flake.nix.and then use the --target-host flag of nixos-rebuild to deploy it remotely.
-
Have a shell command in configuration.nix that runs on nixos-rebuild
If you're trying to handle multiple systems with one config a flake is a significantly better option. I would personally recommend looking at flake-utils-plus and specifically this example config.
- Nix Flakes
-
Best way to manage multiple home manager configs for both NixOS and non-NixOS systems using flakes?
I looked at some past threads / examples and saw people recommend flake-utils-plus, but after reading the examples I don't understand how I would get home-manager on Darwin or Ubuntu.
-
Nix: Taming Unix with Functional Programming
Depending on your specific needs, the channelsConfig (modify arguments passed to Nixpkgs) and overlay tooling in flake-utils-plus may be adequate: https://github.com/gytis-ivaskevicius/flake-utils-plus/tree/...
-
What to do...
For flakes you don't have to set up everything manually there are helper libraries, I use flake-utils-plus.
-
How shall I install a package not found at https://search.nixos.org/packages?
Converting to flakes is not that hard if you use a good library. The documentation is other people's configs, really.
-
I made a thing you can load in Nix repl to get variables from your NixOS configuration
Neat! I've been using flake-utils-plus's implementation until now. https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/master/lib/repl.nix
-
How to use a patched nixpkgs locally?
I use flake-utils-plus based configuration to apply patches on top of nixpkgs where overlays don't suffice.
What are some alternatives?
envfs - Fuse filesystem that returns symlinks to executables based on the PATH of the requesting process.
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
maddy - ✉️ Composable all-in-one mail server.
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
nur-combined - A repository of NUR that combines all repositories [maintainer=@Mic92]
nixGL - A wrapper tool for nix OpenGL application [maintainer=@guibou]
crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
nix-template - Make creating nix expressions easy
deploy-rs - A simple multi-profile Nix-flake deploy tool.