about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-25 19:01:53 +0900
committersefidel <contact@sefidel.net>2023-07-25 19:02:51 +0900
commit3f4ffdbbd694a14e6ada58740e6596f475ce00fb (patch)
treeb60a7800f09c2faab3ba1f528a08a3a509bf15c1
parentec647eecd447bfbbd8f7b6f2fe5bb65ebf9abf16 (diff)
downloadnixrc-3f4ffdbbd694a14e6ada58740e6596f475ce00fb.tar.gz
nixrc-3f4ffdbbd694a14e6ada58740e6596f475ce00fb.zip
feat(home): move user configs to configs
-rw-r--r--home/configs/alpha/sefidel.nix (renamed from home/alpha/sefidel.nix)2
-rw-r--r--home/configs/kompakt-darwin/sefidel.nix (renamed from home/kompakt-darwin/sefidel.nix)0
-rw-r--r--home/configs/kompakt/sefidel.nix (renamed from home/kompakt/sefidel.nix)2
-rw-r--r--lib/mk_home.nix2
4 files changed, 3 insertions, 3 deletions
diff --git a/home/alpha/sefidel.nix b/home/configs/alpha/sefidel.nix
index 476a463..5e4f561 100644
--- a/home/alpha/sefidel.nix
+++ b/home/configs/alpha/sefidel.nix
@@ -6,7 +6,7 @@
 
     programs.htop.settings.detailed_cpu_time = true;
 
-    sops.defaultSopsFile = ../secrets/secrets.yaml;
+    sops.defaultSopsFile = ../../secrets/secrets.yaml;
     sops.gnupg.home = "/home/sefidel/.gnupg";
   };
 }
diff --git a/home/kompakt-darwin/sefidel.nix b/home/configs/kompakt-darwin/sefidel.nix
index 5d0a4c4..5d0a4c4 100644
--- a/home/kompakt-darwin/sefidel.nix
+++ b/home/configs/kompakt-darwin/sefidel.nix
diff --git a/home/kompakt/sefidel.nix b/home/configs/kompakt/sefidel.nix
index 476a463..5e4f561 100644
--- a/home/kompakt/sefidel.nix
+++ b/home/configs/kompakt/sefidel.nix
@@ -6,7 +6,7 @@
 
     programs.htop.settings.detailed_cpu_time = true;
 
-    sops.defaultSopsFile = ../secrets/secrets.yaml;
+    sops.defaultSopsFile = ../../secrets/secrets.yaml;
     sops.gnupg.home = "/home/sefidel/.gnupg";
   };
 }
diff --git a/lib/mk_home.nix b/lib/mk_home.nix
index 550cc69..899be0f 100644
--- a/lib/mk_home.nix
+++ b/lib/mk_home.nix
@@ -2,7 +2,7 @@
 
 { username, hostname, pkgs, version, extraModules ? null }:
 let
-  entrypoint = "${self}/home/${hostname}/${username}.nix";
+  entrypoint = "${self}/home/configs/${hostname}/${username}.nix";
   defaultModule = { lib, config, ... }: {
     _module.args.inputs = self.inputs;
     _module.args.self = self;