about summary refs log tree commit diff
path: root/hosts/carmel
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 08:25:51 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 08:25:51 -0800
commit52ef45715fa2501db36980089df5d89a2d473529 (patch)
treeb13f10b8eebb6ba1bafe0ce8ead4cf9360df6123 /hosts/carmel
parentRevert "desktop: new option to control desktop setup" (diff)
downloadworld-52ef45715fa2501db36980089df5d89a2d473529.tar.gz
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").
Diffstat (limited to 'hosts/carmel')
-rw-r--r--hosts/carmel/configuration.nix3
1 files changed, 3 insertions, 0 deletions
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 = {