config/flake.nix

36 lines
849 B
Nix

{
inputs = {
nixpkgs = {
url = github:NixOS/nixpkgs-channels/nixos-unstable;
};
home-manager = {
url = github:nix-community/home-manager;
};
};
outputs = args: with args.nixpkgs; {
nixosConfigurations = {
"thor" = lib.nixosSystem {
system = "x86_64-linux";
modules = [
./machines/thor/configuration.nix
./common.nix
];
specialArgs = args;
};
"loki" = lib.nixosSystem {
system = "x86_64-linux";
modules = [
./machines/loki/configuration.nix
./common.nix
];
specialArgs = args;
};
};
};
}