Let mailserver follow our nixpkgs
This commit is contained in:
parent
052461ecc9
commit
8ae26b71e6
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue