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 = {
|
2022-05-15 20:02:26 +02:00
|
|
|
|
|
|
|
# Desktop
|
2022-05-15 17:31:45 +02:00
|
|
|
"thor" = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./machines/thor/configuration.nix
|
|
|
|
./common.nix
|
|
|
|
];
|
|
|
|
specialArgs = args;
|
|
|
|
};
|
2022-05-15 20:02:26 +02:00
|
|
|
|
|
|
|
# Laptop
|
2022-05-15 17:31:45 +02:00
|
|
|
"loki" = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./machines/loki/configuration.nix
|
|
|
|
./common.nix
|
|
|
|
];
|
|
|
|
specialArgs = args;
|
|
|
|
};
|
2022-05-15 20:02:26 +02:00
|
|
|
|
|
|
|
# TODO: Pinebook Pro
|
|
|
|
# TODO: Raspberry Pi
|
|
|
|
|
2022-05-15 16:56:03 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|