2021-09-11 12:05:37 +07:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
|
|
|
{
|
|
|
|
nixosConfigurations = {
|
|
|
|
aspire = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
(import ./config/common.nix inputs)
|
|
|
|
./config/aspire.nix
|
|
|
|
./config/aspire_hardware.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-12-05 00:51:42 +07:00
|
|
|
customPkgs = import ./pkg;
|
2021-09-11 12:05:37 +07:00
|
|
|
secrets = import ./secrets/secrets.nix;
|
|
|
|
};
|
|
|
|
}
|