dotfiles/flake.nix

24 lines
531 B
Nix

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
];
};
};
secrets = import ./secrets/secrets.nix;
};
}