mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 16:12:40 +02:00
feat: refactoring configuration with options to make it more modular
This commit is contained in:
+7
-10
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user