1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-02-27 17:52:05 +00:00
.dotfiles/nixos/flake.nix

31 lines
961 B
Nix
Raw Normal View History

2024-12-17 15:50:18 -05:00
{
description = "rae's nixOS config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
nixosConfigurations = {
qemu = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/qemu/configuration.nix
# home-manager.nixosModules.home-manager {
# home-manager = {
# useGlobalPkgs = true;
# useUserPackages = true;
# users.rae = import ./home.nix;
# };
# }
];
};
};
};
}