Add base homserver config

This commit is contained in:
caem 2023-06-24 23:09:01 +02:00
parent 45d315023f
commit 26694e1e52
8 changed files with 101 additions and 17 deletions

View file

@ -12,6 +12,15 @@
outputs = { self, nixpkgs, ... }@attrs: let
user = "user"; # Select user from `./users` directory
in {
nixosConfigurations.homeserver = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./users/${user}.nix
./systems/homeserver.nix
];
};
# Debugging VM configuration
nixosConfigurations.qemu-vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";