mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-31 15:03:37 +00:00
52 lines
1.5 KiB
Nix
52 lines
1.5 KiB
Nix
{
|
|
description = "rae's nixOS config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
# Nix User Repository
|
|
nur = {
|
|
url = "github:nix-community/NUR";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
# Rust toolchains
|
|
fenix = {
|
|
url = "github:nix-community/fenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
|
nixosConfigurations = {
|
|
ioides = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/ioides/configuration.nix
|
|
(import ./overlays)
|
|
];
|
|
};
|
|
|
|
qemu = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/qemu/configuration.nix
|
|
(import ./overlays)
|
|
];
|
|
};
|
|
};
|
|
|
|
homeConfigurations.rae = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
extraSpecialArgs = { inherit inputs; };
|
|
modules = [
|
|
./home
|
|
(import ./overlays)
|
|
];
|
|
};
|
|
};
|
|
}
|