dotfiles/flake.nix

40 lines
929 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
];
};
2021-12-20 07:32:10 +07:00
nitro = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
(import ./config/common.nix inputs)
./config/nitro.nix
./config/nitro_hardware.nix
];
};
installationMedia = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
(import ./config/installation_media.nix inputs)
];
};
2021-09-11 12:05:37 +07:00
};
2021-12-05 00:51:42 +07:00
customPkgs = import ./pkg;
2021-09-11 12:05:37 +07:00
secrets = import ./secrets/secrets.nix;
};
}