feat: use flake for mailserver

This commit is contained in:
s-prechtl 2025-08-30 18:19:31 +02:00
parent 831e5a946e
commit 586257df79
2 changed files with 1 additions and 10 deletions

View file

@ -10,6 +10,7 @@
zen-browser.url = "github:0xc000022070/zen-browser-flake";
mms.url = "github:mkaito/nixos-modded-minecraft-servers";
agenix.url = "github:ryantm/agenix";
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-25.05";
home-manager = {
url = "github:nix-community/home-manager";

View file

@ -1,14 +1,4 @@
{ config, pkgs, ... }: {
imports = [
(builtins.fetchTarball {
# Pick a release version you are interested in and set its hash, e.g.
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/nixos-25.05/nixos-mailserver-nixos-25.05.tar.gz";
# To get the sha256 of the nixos-mailserver tarball, we can use the nix-prefetch-url command:
# release="nixos-25.05"; nix-prefetch-url "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/${release}/nixos-mailserver-${release}.tar.gz" --unpack
sha256 = "1qn5fg0h62r82q7xw54ib9wcpflakix2db2mahbicx540562la1y";
})
];
age.secrets.mail-admin = {
file = ../../secrets/mail-admin.age;
owner = "virtualMail";