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:11:19 +02:00
|
|
|
outputs = inputs@{ nixpkgs, home-manager, ... }: {
|
2023-08-19 23:40:25 +02:00
|
|
|
nixosConfigurations = {
|
2023-08-20 00:12:51 +02:00
|
|
|
nixos-test = nixpkgs.lib.nixosSystem {
|
2023-08-20 00:00:27 +02:00
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
2023-08-20 00:11:19 +02:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
|
|
|
|
home-manager.users.florian = import ./home.nix;
|
|
|
|
}
|
2023-08-20 00:00:27 +02:00
|
|
|
];
|
2023-08-19 23:40:25 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-08-20 00:00:27 +02:00
|
|
|
}
|