From c20179f1afc29be2ef3ee32011cbc097bc70f771 Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Mon, 20 Apr 2026 14:16:22 +0530 Subject: better organization and tmux --- flake.nix | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3119ebd..31b073e 100644 --- a/flake.nix +++ b/flake.nix @@ -1,29 +1,34 @@ { -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"; - }; + 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"; + hypr-wellbeing = { + url = "github:demonkingswarn/hypr-wellbeing"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; -}; -outputs = inputs@{ self, nixpkgs, home-manager, ... }: - let - system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - in - { - homeConfigurations."swarn" = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - modules = [ ./home.nix ]; - extraSpecialArgs = { inherit inputs; }; + outputs = inputs@{ self, nixpkgs, home-manager, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + + environment.systemPackages = [ + pkgs.git + pkgs.tmux + ]; + in + { + homeConfigurations."swarn" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ ./home.nix ]; + extraSpecialArgs = { inherit inputs; }; + }; }; - }; } -- cgit v1.1