feat(flake): Create entrypoint flake

This commit is contained in:
punkfairie 2024-10-18 17:38:09 -07:00
parent 0ccf2126fc
commit 3d65f4fbae
Signed by: punkfairie
GPG key ID: 01823C057725C266

23
flake.nix Normal file
View file

@ -0,0 +1,23 @@
{
description = "marleyOS";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }: {
homeConfigurations."marley" = let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home ];
};
};
}