feat: refactoring configuration with options to make it more modular

This commit is contained in:
Ryan Yin
2023-12-23 19:34:13 +08:00
parent 1f08d10ac7
commit b75b79057b
106 changed files with 289 additions and 279 deletions
+7 -10
View File
@@ -1,11 +1,8 @@
{username, ...}: {
imports = [
../base/desktop
../base/core.nix
./proxychains
./core.nix
./rime-squirrel.nix
./shell.nix
];
{mylib, ...}: {
imports =
(mylib.scanPaths ./.)
// [
../base/desktop
../base/core.nix
];
}