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 = outputs =
inputs@{ self, nixpkgs, ... }: inputs@{ self, nixpkgs, ... }:
let let
hosts = ["work-ntb" "lenar"]; hosts = [
in { "work-ntb"
"lenar"
];
in
{
# Please replace my-nixos with your hostname # 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"; system = "x86_64-linux";
modules = [ modules = [
./hosts/${host} ./hosts/${host}

View file

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