diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..f2fef7a --- /dev/null +++ b/flake.nix @@ -0,0 +1,31 @@ +{ + description = "Emi's Home Manager configuration"; + + inputs = { + # Specify the source of Home Manager and Nixpkgs. + nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; + home-manager = { + url = "github:nix-community/home-manager/release-22.11"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { nixpkgs, home-manager, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in { + homeConfigurations.ember = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + + # Specify your home configuration modules here, for example, + # the path to your home.nix. + modules = [ + ./Nix-Configs/home.nogui.nix + ]; + + # Optionally use extraSpecialArgs + # to pass through arguments to home.nix + }; + }; +} \ No newline at end of file