server-configuration/flake.nix

21 lines
447 B
Nix
Raw Normal View History

2023-12-29 20:19:33 -07:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, agenix }: {
nixosConfigurations.samsehu = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./agenix-config-module.nix
2023-12-29 20:19:33 -07:00
./configuration.nix
agenix.nixosModules.default
];
};
};
}