about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-11 12:07:32 +0100
committerene <ene@sils.li>2023-02-11 12:10:44 +0100
commitf7634949fa4e744cd5a930505ac4e9b4f81dc530 (patch)
tree7a290ad625f47430d40facaceb4f5c0706058eb8 /system
parentFeat(home-manager): Add firefox config (diff)
downloadnixos-config-f7634949fa4e744cd5a930505ac4e9b4f81dc530.tar.gz
nixos-config-f7634949fa4e744cd5a930505ac4e9b4f81dc530.zip
Feat: Switch to default.nix
Diffstat (limited to 'system')
-rw-r--r--system/boot/default.nix (renamed from system/boot/boot.nix)0
-rw-r--r--system/default.nix12
-rw-r--r--system/fileSystemLayouts/default.nix (renamed from system/filesystemLayouts/filesystemLayouts.nix)8
-rw-r--r--system/locale/default.nix (renamed from system/locale/locale.nix)0
-rw-r--r--system/packages/default.nix (renamed from system/packages/packages.nix)0
-rw-r--r--system/sound/default.nix (renamed from system/sound/sound.nix)0
-rw-r--r--system/users/default.nix (renamed from system/users/users.nix)0
7 files changed, 10 insertions, 10 deletions
diff --git a/system/boot/boot.nix b/system/boot/default.nix
index f978d26a..f978d26a 100644
--- a/system/boot/boot.nix
+++ b/system/boot/default.nix
diff --git a/system/default.nix b/system/default.nix
index 17e78968..81949ce4 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -1,10 +1,10 @@
 {config, ...}: {
   imports = [
-    ./boot/boot.nix
-    ./filesystemLayouts/filesystemLayouts.nix
-    ./locale/locale.nix
-    ./packages/packages.nix
-    ./sound/sound.nix
-    ./users/users.nix
+    ./boot
+    ./users # this needs to be before fileSystemLayouts
+    ./fileSystemLayouts
+    ./locale
+    ./packages
+    ./sound
   ];
 }
diff --git a/system/filesystemLayouts/filesystemLayouts.nix b/system/fileSystemLayouts/default.nix
index a4215512..bdbad630 100644
--- a/system/filesystemLayouts/filesystemLayouts.nix
+++ b/system/fileSystemLayouts/default.nix
@@ -4,10 +4,10 @@
   ...
 }:
 with lib; let
-  cfg = config.system.filesystemLayouts;
+  cfg = config.system.fileSystemLayouts;
 in {
-  options.system.filesystemLayouts = {
-    enable = mkEnableOption (mdDoc "filesysetemLayout");
+  options.system.fileSystemLayouts = {
+    enable = mkEnableOption (mdDoc "fileSystemLayout");
     mainDisk = mkOption {
       type = lib.types.path;
       example = literalExpression "/dev/disk/by-uuid/0442cb6d-f13a-4635-b487-fa76189774c5";
@@ -47,7 +47,7 @@ in {
         options = ["bind"];
       };
 
-      "${config.users.soispha.home}/.config" = {
+      "${config.users.users.soispha.home}/.config" = {
         device = "none";
         fsType = "tmpfs";
         options = ["defaults" "size=1G" "mode=755"];
diff --git a/system/locale/locale.nix b/system/locale/default.nix
index 2fcc2115..2fcc2115 100644
--- a/system/locale/locale.nix
+++ b/system/locale/default.nix
diff --git a/system/packages/packages.nix b/system/packages/default.nix
index 6eb25681..6eb25681 100644
--- a/system/packages/packages.nix
+++ b/system/packages/default.nix
diff --git a/system/sound/sound.nix b/system/sound/default.nix
index 16dd4279..16dd4279 100644
--- a/system/sound/sound.nix
+++ b/system/sound/default.nix
diff --git a/system/users/users.nix b/system/users/default.nix
index 2c962c26..2c962c26 100644
--- a/system/users/users.nix
+++ b/system/users/default.nix