Let mailserver follow our nixpkgs
This commit is contained in:
parent
052461ecc9
commit
8ae26b71e6
2 changed files with 5 additions and 5 deletions
1
flake.lock
generated
1
flake.lock
generated
|
|
@ -147,6 +147,7 @@
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "simple-nixos-mailserver",
|
"owner": "simple-nixos-mailserver",
|
||||||
|
"ref": "nixos-21.11",
|
||||||
"repo": "nixos-mailserver",
|
"repo": "nixos-mailserver",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,25 +10,24 @@
|
||||||
|
|
||||||
# simple mailserver
|
# simple mailserver
|
||||||
snm = {
|
snm = {
|
||||||
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
|
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-21.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.flake-utils.follows = "utils/flake-utils";
|
inputs.flake-utils.follows = "utils/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
# age for nix to store encrypted passwords conveniently
|
# age for nix to store encrypted passwords conveniently
|
||||||
agenix ={
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
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 {
|
nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
({ nixpkgs = { config.allowUnfree = true; }; })
|
({ nixpkgs = { config.allowUnfree = true; }; })
|
||||||
inputs.snm.nixosModule
|
snm.nixosModule
|
||||||
./modules/security.nix
|
./modules/security.nix
|
||||||
./hosts/thrall
|
./hosts/thrall
|
||||||
agenix.nixosModules.age
|
agenix.nixosModules.age
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue