1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
.dotfiles/nixos/flake.nix

33 lines
1 KiB
Nix
Raw Normal View History

2024-12-17 20:50:18 +00:00
{
description = "rae's nixOS config flake";
inputs = {
2024-12-17 21:16:23 +00:00
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
2024-12-17 20:50:18 +00:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:16:23 +00:00
gayfurries = 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-17 21:16:23 +00:00
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users.rae = import ./home.nix;
};
}
2024-12-17 20:50:18 +00:00
];
};
};
};
}