From 52ef45715fa2501db36980089df5d89a2d473529 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 9 Feb 2022 08:25:51 -0800 Subject: home-manager: simplify the configuration I'm still struggling with documentation, and I'd rather have something simple that works rather than smart and does not work. The configuration for the host imports the modules that are relevant to that host (in the case of carmel, desktop and systems). For the home-manager, I create a profile "desktop" that contains stuff related to a desktop (i3, etc), and it includes the module "common" that contains stuff that I want on any machines (so that in the future, for a machine that is a server, the home manager will only import "common"). --- hosts/carmel/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hosts') diff --git a/hosts/carmel/configuration.nix b/hosts/carmel/configuration.nix index 5cbea50..449564b 100644 --- a/hosts/carmel/configuration.nix +++ b/hosts/carmel/configuration.nix @@ -4,6 +4,9 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ../../users/fcuny + ../../modules/systems + ../../modules/desktop ]; nix = { -- cgit 1.4.1