From 539deac88e18486a13a3e5de6ee862b25023ad91 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Fri, 18 Oct 2024 17:38:09 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(flake):=20Create=20entrypoint?= =?UTF-8?q?=20flake?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 flake.nix 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 ]; + }; + }; +}