Move package installation to module (does not work)

This commit is contained in:
Gonne 2024-11-10 16:08:58 +01:00
parent 54f78f5e3e
commit c96b2471e8
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{flake-inputs, ...}: {
{...}: {
imports = [
./hardware-configuration.nix
../../modules/mail.nix
@ -8,7 +8,7 @@
];
# System configuration here
environment.systemPackages = [flake-inputs.alias-to-sieve.packages.x86_64-linux.default];
# environment.systemPackages = [flake-inputs.alias-to-sieve.packages.x86_64-linux.default];
services.mathebau-mail = {
enable = true;

View file

@ -2,6 +2,7 @@
config,
lib,
pkgs,
flake-inputs,
...
}: let
inherit
@ -30,6 +31,8 @@ in {
};
config = mkIf cfg.enable {
environment.systemPackages = [flake-inputs.alias-to-sieve.packages.x86_64-linux.default];
services = {
stalwart-mail = {
enable = true;