59 lines
1.6 KiB
Nix
59 lines
1.6 KiB
Nix
{
|
|
description = "0x29a NixOS flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
noctalia = {
|
|
url = "github:noctalia-dev/noctalia-shell";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, nixvim, ... }@inputs: {
|
|
nixosConfigurations = {
|
|
|
|
default = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/default/hardware-configuration.nix
|
|
./hosts/default/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
home-manager.users.aaron.imports = [
|
|
nixvim.homeModules.nixvim
|
|
./users/aaron/home.nix
|
|
];
|
|
}
|
|
];
|
|
};
|
|
|
|
neon = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/neon/hardware-configuration.nix
|
|
./hosts/neon/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
home-manager.users.aaron.imports = [
|
|
nixvim.homeModules.nixvim
|
|
./users/aaron/home.nix
|
|
];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|