Created preliminary foundation of testing the nix systems by Flakes.
This commit is contained in:
parent
dac2e0b8cf
commit
6a5e8a2dc5
12 changed files with 200 additions and 49 deletions
50
flake.nix
Normal file
50
flake.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
description = "PRG Server Infrastructure - NixOS Configurations";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
"nixos-local-wireguard-server" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./nix-system-configs/modules/system/wireguard_server.nix ];
|
||||
};
|
||||
|
||||
"nixos-blank" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./nix-system-configs/modules/system/blank_system_USE_THIS_AS_COPY.nix ];
|
||||
};
|
||||
|
||||
"nixos-songsheet" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./nix-system-configs/modules/system/compose-songsheet.nix ];
|
||||
};
|
||||
|
||||
"nixos-database" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./nix-system-configs/modules/system/database.nix ];
|
||||
};
|
||||
|
||||
"nixos-forgejo" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./nix-system-configs/modules/system/forgejo.nix ];
|
||||
};
|
||||
|
||||
"nixos-teamspeak" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./nix-system-configs/modules/system/teamspeak.nix ];
|
||||
};
|
||||
|
||||
"nixos-traefik" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./nix-system-configs/modules/system/traefik.nix ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue