From cd5bb0c381987f434afc1f6a457f26df9697f196 Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Mon, 20 Apr 2026 02:16:52 +0530 Subject: initial config --- flake.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..f18fb5b --- /dev/null +++ b/flake.nix @@ -0,0 +1,29 @@ +{ +description = "Home Manager configuration of swarn"; +inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + hypr-wellbeing = { + url = "github:demonkingswarn/hypr-wellbeing"; + inputs.nixpkgs.follows = "nixpkgs"; + }; +}; + +outputs = { self, nixpkgs, home-manager, ... }@inputs: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in + { + homeConfigurations."swarn" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ ./home.nix ]; + extraSpecialArgs = { inherit inputs; }; + }; + }; +} -- cgit v1.1