about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-12 13:50:39 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-12 13:50:39 -0800
commit62390ab4c323183c6c23f0e4bea6ea01908f6be5 (patch)
treeb0d181abee1b6b647834080a27298b2533abaafc
parentmove configurations and modules around (diff)
downloadworld-62390ab4c323183c6c23f0e4bea6ea01908f6be5.tar.gz
hosts: import common modules
Update the `mkSystem` function to include the proper common module, and
fix the path to import the common configuration for a desktop into
`carmel`.
Diffstat (limited to '')
-rw-r--r--hosts/carmel/default.nix3
-rw-r--r--lib/default.nix2
2 files changed, 2 insertions, 3 deletions
diff --git a/hosts/carmel/default.nix b/hosts/carmel/default.nix
index dcc1c7a..9abd61a 100644
--- a/hosts/carmel/default.nix
+++ b/hosts/carmel/default.nix
@@ -4,8 +4,7 @@
   imports =
     [ # Include the results of the hardware scan.
       ./hardware-configuration.nix
-      ../commons
-      ../../modules/desktop
+      ../common/desktop
     ];
 
   # Use the systemd-boot EFI boot loader.
diff --git a/lib/default.nix b/lib/default.nix
index 4fdd3f1..fbb9bb7 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -11,7 +11,7 @@
         inherit inputs system hostname;
       };
       modules = [
-        ../modules/systems
+        ../hosts/common
         ../hosts/${hostname}
         {
           networking.hostName = hostname;