diff options
| author | DemonKingSwarn <rockingswarn@gmail.com> | 2026-04-20 02:16:52 +0530 |
|---|---|---|
| committer | DemonKingSwarn <rockingswarn@gmail.com> | 2026-04-20 02:16:52 +0530 |
| commit | cd5bb0c381987f434afc1f6a457f26df9697f196 (patch) | |
| tree | a5b3579d4142f231f178a841bfd8519a94aa1a6d /flake.nix | |
| download | odysseus-cd5bb0c381987f434afc1f6a457f26df9697f196.zip odysseus-cd5bb0c381987f434afc1f6a457f26df9697f196.tar.gz | |
initial config
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 29 |
1 files changed, 29 insertions, 0 deletions
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; }; + }; + }; +} |
