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

51 lines
1.5 KiB
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";
2025-01-01 15:52:39 -05:00
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
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-19 21:56:56 -05:00
# Nix User Repository
2024-12-18 00:36:56 -05:00
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-12-19 21:56:56 -05:00
# Rust toolchains
fenix = {
url = "github:nix-community/fenix";
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-31 01:34:13 +00:00
ioides = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/ioides/configuration.nix
];
};
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; };
2024-12-18 16:38:29 -05:00
modules = [
2024-12-19 22:10:05 -05:00
./home
2024-12-18 16:38:29 -05:00
];
2024-12-17 17:06:47 -05:00
};
2024-12-17 15:50:18 -05:00
};
}