2024-03-01 15:22:49 +01:00
|
|
|
{
|
|
|
|
description = "Nixos config flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
|
|
|
2024-03-01 16:19:41 +01:00
|
|
|
home-manager = {
|
2024-03-03 11:01:46 +01:00
|
|
|
url = "github:nix-community/home-manager/release-23.11";
|
2024-03-01 16:19:41 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-03-01 15:22:49 +01:00
|
|
|
};
|
|
|
|
|
2024-03-01 16:19:41 +01:00
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
} @ inputs: let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in {
|
|
|
|
nixosConfigurations."MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
modules = [
|
2024-03-03 12:26:53 +01:00
|
|
|
./hosts/MaxNixosLaptop/configuration.nix
|
2024-03-01 16:19:41 +01:00
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
];
|
2024-03-01 15:22:49 +01:00
|
|
|
};
|
2024-03-01 16:19:41 +01:00
|
|
|
};
|
2024-03-01 15:22:49 +01:00
|
|
|
}
|