nixos/flake.nix

23 lines
491 B
Nix
Raw Normal View History

2023-08-19 23:40:25 +02:00
{
2023-08-20 00:00:27 +02:00
description = "MrDev023's NixOS Flake";
2023-08-19 23:40:25 +02:00
inputs = {
2023-08-20 00:00:27 +02:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-08-19 23:40:25 +02:00
home-manager = {
2023-08-20 00:00:27 +02:00
url = "github:nix-community/home-manager/release-23.05";
2023-08-19 23:40:25 +02:00
inputs.nixpkgs.follows = "nixpkgs";
};
};
2023-08-20 00:00:27 +02:00
outputs = { self, nixpkgs, ... }@inputs: {
2023-08-19 23:40:25 +02:00
nixosConfigurations = {
2023-08-20 00:00:27 +02:00
"nixos-test" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2023-08-19 23:40:25 +02:00
2023-08-20 00:00:27 +02:00
modules = [
./configuration.nix
];
2023-08-19 23:40:25 +02:00
};
};
};
2023-08-20 00:00:27 +02:00
}