From 21f83eb26d037d15c61d3837665b2ef53c47acb6 Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Sun, 24 Mar 2024 19:02:30 +0100 Subject: [PATCH] add standalone home-manager config --- flake.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e46aacf..4166fa1 100644 --- a/flake.nix +++ b/flake.nix @@ -51,7 +51,7 @@ devShells = forAllSystems (system: let pkgs = import nixpkgs { system = system; }; in - { default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ nix colmena git ]; }; }); + { default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ nix colmena git pkgs.home-manager ]; }; }); colmena = { @@ -80,5 +80,15 @@ (import "${home-manager}/nixos") ]; }; + + homeConfigurations.sammy = + let + pkgs = import nixpkgs { system = "x86_64-linux"; }; + in + lib.homeManagerConfiguration { + inherit pkgs; + modules = [ ./modules/users/sammy.nix ]; + }; + }; }