Let mailserver follow our nixpkgs

This commit is contained in:
Alexander Kobjolke 2022-03-18 19:10:23 +01:00
parent 052461ecc9
commit 8ae26b71e6
2 changed files with 5 additions and 5 deletions

View file

@ -10,25 +10,24 @@
# simple mailserver
snm = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-21.11";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "utils/flake-utils";
};
# age for nix to store encrypted passwords conveniently
agenix ={
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, hm, nixpkgs, agenix, ... }@inputs: {
inherit self inputs;
outputs = { self, hm, nixpkgs, agenix, snm, ... }@inputs: {
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
({ nixpkgs = { config.allowUnfree = true; }; })
inputs.snm.nixosModule
snm.nixosModule
./modules/security.nix
./hosts/thrall
agenix.nixosModules.age