update overall module structure, remove host-specific config files
- update flake.nix to reflect new structure - update modules/default.nix imports - update modules/network.nix and wireguard.nix - remove config/configuration.nix and hardware-configuration.nix - remove modules/access.nix from this module's scope
This commit is contained in:
23
flake.nix
23
flake.nix
@@ -1,25 +1,12 @@
|
||||
{
|
||||
description = "Server Configuration for WireGuard provider";
|
||||
description = "Simple WireGuard tunnelbroker, with optional failover using BGP";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-25.05";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, sops-nix, }@attrs: {
|
||||
nixosConfigurations = {
|
||||
"tunnels" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs;
|
||||
modules = [
|
||||
(import ./config/maa1-ops/configuration.nix)
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs }: {
|
||||
nixosModules.default = import ./modules;
|
||||
nixosModules.sixnix = import ./modules;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user