config/flake.nix

37 lines
840 B
Nix
Raw Normal View History

2022-05-15 16:56:03 +02:00
{
inputs = {
2022-05-15 17:31:45 +02:00
nixpkgs = {
2022-05-15 17:52:51 +02:00
url = github:NixOS/nixpkgs/nixos-unstable;
2022-05-15 17:31:45 +02:00
};
home-manager = {
url = github:nix-community/home-manager;
};
2022-05-15 16:56:03 +02:00
};
2022-05-15 17:31:45 +02:00
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;
};
2022-05-15 16:56:03 +02:00
};
};
}