mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 20:33:59 +01:00
00fc33cad8
This may or may not work; I haven't tested it yet.
19 lines
487 B
Nix
19 lines
487 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/unstable";
|
|
home-manager.url = "github:nix-community/home-manager/release-22.11";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = inputs: {
|
|
nixosConfigurations.nixos = inputs.nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
inputs.home-manager.nixosModules.home-manager
|
|
{ home-manager.useGlobalPkgs = true; }
|
|
];
|
|
};
|
|
};
|
|
}
|