27 lines
689 B
Nix
27 lines
689 B
Nix
{
|
|
description = "0x29a NixOS flake config";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:nixos/nixpkgs/nixos-unstable";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
|
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/default/configuration.nix
|
|
./hosts/default/hardware-configuration.nix
|
|
{ home-manager.users.aaron = import ./hosts/default/home.nix; }
|
|
home-manager.nixosModules.default
|
|
];
|
|
};
|
|
};
|
|
}
|