抽象mkOutOfStoreSymlink,为以后更新为引用相对路径做准备
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
inherit (nixpkgs) lib;
|
||||
username = "alex";
|
||||
useremail = "reizero@live.com";
|
||||
sourcepath = "/home/${username}/.nix";
|
||||
libs = import ./libs;
|
||||
in
|
||||
rec {
|
||||
@@ -19,7 +20,7 @@
|
||||
(profile: {
|
||||
name = profile;
|
||||
value = import ./profiles/${profile} {
|
||||
inherit self inputs outputs libs username useremail;
|
||||
inherit self inputs outputs libs sourcepath username useremail;
|
||||
};
|
||||
})
|
||||
(attrNames (readDir ./profiles))
|
||||
|
||||
Reference in New Issue
Block a user