1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-02-15 04:42:06 +00:00
.dotfiles/nixos/flake.nix

34 lines
1,002 B
Nix
Raw Normal View History

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