home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit cbba8948a7fcbe9ba0944e46c68921c086833f3e
parent 3bcec9b22449e78db58ae01405d42df46c19034d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 25 May 2020 13:06:22 +0200

nix: clean home.nix

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mhome.nix | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/home.nix b/home.nix @@ -1,21 +1,18 @@ # This configuration file simply determines the hostname and then import both # the default configuration (common for all machine) and specific machine # configuration. -{ sources ? import ./nix/sources.nix -, pkgs ? import sources.nixpkgs { } -, ... -}: let hostName = "${builtins.readFile ./hostname}"; + home-manager = (import ./nix/sources.nix).home-manager; in { programs = { home-manager = { enable = true; - path = "${sources.home-manager}"; + path = "${home-manager}"; }; }; - imports = with sources; [ + imports = [ # Default profile with default configuration ./modules/module-list.nix # Set the machine to home