2024-12-17 20:50:18 +00:00
|
|
|
{
|
|
|
|
description = "rae's nixOS config flake";
|
|
|
|
|
|
|
|
inputs = {
|
2024-12-17 22:06:47 +00:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
2024-12-17 20:50:18 +00:00
|
|
|
home-manager = {
|
2024-12-17 22:06:47 +00:00
|
|
|
url = "github:nix-community/home-manager/release-24.11";
|
2024-12-17 20:50:18 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-12-18 05:36:56 +00:00
|
|
|
nur = {
|
|
|
|
url = "github:nix-community/NUR";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-12-17 20:50:18 +00:00
|
|
|
};
|
|
|
|
|
2024-12-17 21:16:23 +00:00
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
2024-12-17 20:50:18 +00:00
|
|
|
nixosConfigurations = {
|
2024-12-17 21:26:47 +00:00
|
|
|
qemu = nixpkgs.lib.nixosSystem {
|
2024-12-17 20:50:18 +00:00
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
./hosts/qemu/configuration.nix
|
2024-12-18 21:38:29 +00:00
|
|
|
(import ./overlays)
|
2024-12-17 20:50:18 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-12-17 22:06:47 +00:00
|
|
|
|
|
|
|
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
extraSpecialArgs = { inherit inputs; };
|
2024-12-18 21:38:29 +00:00
|
|
|
modules = [
|
|
|
|
./home.nix
|
|
|
|
(import ./overlays)
|
|
|
|
];
|
2024-12-17 22:06:47 +00:00
|
|
|
};
|
2024-12-17 20:50:18 +00:00
|
|
|
};
|
|
|
|
}
|