From 647295da19886d19a60b9f78d93b0b1806d8bf98 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 8 May 2023 21:06:37 -0500 Subject: [PATCH] Added home configuration inside of flake --- flake.lock | 6 +++--- flake.nix | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 0ed670f..bea35f8 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1683496796, - "narHash": "sha256-MgC6q2tEFM0uPB/kt+MYQSrnuLnTTvIFziZSDJCloQ4=", + "lastModified": 1683543852, + "narHash": "sha256-aS9qNcg9GwSYFLCWa3Lw+2nVPG11mmQ3B7Oka1hh04M=", "owner": "nix-community", "repo": "home-manager", - "rev": "78ceec68f29ed56d6118617e9f0f588bf164067f", + "rev": "3f3fa731ad0f99741d4dc98e8e1287b45e30b452", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 09a7f1d..69ccd24 100644 --- a/flake.nix +++ b/flake.nix @@ -19,10 +19,17 @@ lib = nixpkgs.lib; in { + homeConfigurations = { + emmet = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ + ./user/home.nix + ]; + }; + }; nixosConfigurations = { snowfire = lib.nixosSystem { inherit system; - modules = [ ./system/configuration.nix ];