little upgrade

This commit is contained in:
Jakub Kropáček 2024-10-13 20:45:42 +02:00
parent 8ab8f79ff9
commit ff3d01bca6

View file

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