This commit is contained in:
Jakub Kropáček 2024-10-03 14:18:47 +02:00
parent 6545fbe7fd
commit 6e2e97d783
2 changed files with 10 additions and 3 deletions

View file

@ -18,10 +18,16 @@
outputs =
inputs@{ self, nixpkgs, ... }:
let
hosts = ["work-ntb" "lenar"];
in {
hosts = [
"work-ntb"
"lenar"
];
in
{
# Please replace my-nixos with your hostname
nixosConfigurations = nixpkgs.lib.genAttrs hosts (host: nixpkgs.lib.nixosSystem {
nixosConfigurations = nixpkgs.lib.genAttrs hosts (
host:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/${host}

View file

@ -0,0 +1 @@
{ ... }: { }