From c90053758754552ce7b49f4ff4fcef1d064c1783 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sun, 15 Dec 2019 01:35:12 -0700 Subject: [PATCH] home-manager: init --- configurations/default.nix | 3 ++- flake.lock | 13 +++++++++++++ flake.nix | 4 +++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/configurations/default.nix b/configurations/default.nix index 684ce8e2..63f7f151 100644 --- a/configurations/default.nix +++ b/configurations/default.nix @@ -1,4 +1,4 @@ -{ nix, nixpkgs, flake, ... }: +{ home, nix, nixpkgs, flake, ... }: let utils = import ../lib/utils.nix { lib = nixpkgs.lib; }; @@ -28,6 +28,7 @@ let core global local + home ]; }; diff --git a/flake.lock b/flake.lock index 7ee4a0b8..a18874fc 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,18 @@ { "inputs": { + "home": { + "inputs": { + "nixpkgs": { + "inputs": {}, + "narHash": "sha256-Y5ZOTgInrYYoas3vM8uTPLA2DvFI9YoI6haftIKl9go=", + "originalUrl": "nixpkgs", + "url": "github:edolstra/nixpkgs/015c9ec3372e328ea6742b409a1e9aa26dab2b31" + } + }, + "narHash": "sha256-hd2noIXKZHe8bzoVhZUz8fwCnYKxVFLjS3s3UpVE9Hs=", + "originalUrl": "github:nrdxp/home-manager/flakes", + "url": "github:nrdxp/home-manager/4aed75b903140a3e7f5ccc4528f1748391543475" + }, "nix": { "inputs": { "nixpkgs": { diff --git a/flake.nix b/flake.nix index 369873ce..f9d9d45e 100644 --- a/flake.nix +++ b/flake.nix @@ -4,13 +4,15 @@ epoch = 201909; inputs.nixpkgs.url = "github:nrdxp/nixpkgs/fork"; + inputs.home.url = "github:nrdxp/home-manager/flakes"; - outputs = { self, nixpkgs, nix }: { + outputs = { self, home, nixpkgs, nix }: { nixosConfigurations = let configs = import ./configurations { inherit nix nixpkgs; flake = self; + home = home.nixosModules.home-manager; }; in