nixos-mailserver
nixos-generators
nixos-mailserver | nixos-generators | |
---|---|---|
12 | 20 | |
- | 1,545 | |
- | 6.9% | |
- | 8.3 | |
- | 3 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.
nixos-generators
- NixOS-generators – Collection of VM and Container disk image builders for NixOS
-
NixOS: Declarative Builds and Deployments
https://github.com/nix-community/nixos-generators
-
NixOS RFC 136 accepted: A plan to stabilize the new CLI and Flakes incrementally
Those Linode instructions are about installing an OS from an installation ISO from Linode's rescue mode. -- I'd consider that more a 'plus' to Linode that you get to be able to install whatever unsupported Linux on Linode's VMs. But, of course it's not as smooth as the officially supported images.
Sibling comment mentions that NixOS provides ways to build VM images (e.g. https://github.com/nix-community/nixos-generators has a generator specifically for Linode).
Another option is to use nixos-infect, which will replace a Linux distribution with a NixOS distribution. https://github.com/elitak/nixos-infect
> At that point, I feel like all of the repeatability gains are gone. If I want to spin up a fresh server, I have to read a guide and set stuff up by hand?
Just as with ansible, "git pull to deploy". You'd keep a copy of your NixOS configuration.nix somewhere else, and would be able to apply it later.
> it really does let me just get a new VPS and deploy to it very fast
Using a tool you're familiar with to get the job done is going to be faster than learning to use a tool you're unfamiliar with.
I believe much of the use of NixOS is for hobby stuff, and for personal machines. (c.f. "In what environments do you use Nix", Development (1242) vs Home Server (845) vs Production (386) https://discourse.nixos.org/t/2022-nix-survey-results/18983).
- Questions about Nix
-
Couple of noob questions
If you need to generate lxc container in NixOS then perhaps this repo might be useful: https://github.com/nix-community/nixos-generators this article uses it https://www.thedroneely.com/posts/running-nixos-linux-containers/
-
disko-images - Create qcow2 images from NixOS + disko configuration
You might wanna check out nix-community/nixos-generators, it’s maintained by the same dude as Disko
-
How to do machine specific config on EC2 using an official nixos ami?
You can look at nixos-generators for support code that well let you take existing configs and build a variety of bootable images from them.
-
Flake to make NixOS iso
You should take a look at NixOS Generators, it's a flake with configs to build common formats like ISO, LXC, Docker, etc. I use that to generate an ISO with my config, specifically the packages.iso section.
-
Need help with NixOs VM Generation
I am trying to make use of https://github.com/nix-community/nixos-generators to generate qcow2 images from a NixOs configuration. Since it will be used with Scaleway, they require an efi bootable image.
-
[NixOS] How to Migrate From one Server to another? KVM to VMware
I haven't migrated machines from one vm provider to vmware, but I have provided a number of pregenerated nixos images (along the line of https://github.com/nix-community/nixos-generators) to clients to install onto vmware (and other - hyperv, xen, qemu, physical) hosts.
What are some alternatives?
envfs - Fuse filesystem that returns symlinks to executables based on the PATH of the requesting process.
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
maddy - ✉️ Composable all-in-one mail server.
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
flake-utils-plus - Use Nix flakes without any fluff.
nix - Nix, the purely functional package manager
nur-combined - A repository of NUR that combines all repositories [maintainer=@Mic92]
nix-gaming - Gaming on Nix
crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
digga - A flake utility library to craft shell-, home-, and hosts- environments.