37 lines
955 B
Nix
37 lines
955 B
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }@inputs:
|
|
{
|
|
nixosConfigurations = {
|
|
snowhawk = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/snowhawk/hardware-configuration.nix
|
|
./configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
];
|
|
};
|
|
sprite = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
./hosts/sprite/hardware-configuration.nix
|
|
./configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|