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 = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/mail.nix
|
../../modules/mail.nix
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# System configuration here
|
# 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 = {
|
services.mathebau-mail = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
flake-inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit
|
inherit
|
||||||
|
@ -30,6 +31,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = [flake-inputs.alias-to-sieve.packages.x86_64-linux.default];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
stalwart-mail = {
|
stalwart-mail = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue