mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-12-22 16:09:50 +01:00
add Simple NixOS Mailserver input and module
This commit is contained in:
parent
e158c95133
commit
c3ec331e35
1 changed files with 15 additions and 0 deletions
15
flake.nix
15
flake.nix
|
@ -7,6 +7,13 @@
|
|||
# fresh - mostly desktop apps
|
||||
nixpkgs-fresh.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||
flake-compat.url = "github:edolstra/flake-compat";
|
||||
systems.url = "github:nix-systems/default";
|
||||
flake-utils = {
|
||||
url = "github:numtide/flake-utils";
|
||||
inputs.systems.follows = "systems";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/master";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -16,6 +23,12 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
|
||||
};
|
||||
mailserver = {
|
||||
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/master";
|
||||
inputs.flake-compat.follows = "flake-compat";
|
||||
inputs.utils.follows = "flake-utils";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{
|
||||
|
@ -24,6 +37,7 @@
|
|||
nixpkgs-stable,
|
||||
home-manager,
|
||||
sops-nix,
|
||||
mailserver,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -76,6 +90,7 @@
|
|||
specialArgs = { inherit data; };
|
||||
modules = [
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
|
||||
mailserver.nixosModule
|
||||
./hosts/vps1/configuration.nix
|
||||
./hosts/vps1/hardware-configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
|
|
Loading…
Reference in a new issue