forked from Fachschaft/nixConfig
Move package installation to module (does not work)
This commit is contained in:
parent
54f78f5e3e
commit
c96b2471e8
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue