diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..3480564 --- /dev/null +++ b/flake.nix @@ -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 ]; + }; + }; +}