refactor: split code into modules

This commit is contained in:
tux
2025-02-22 11:11:59 +05:30
parent 65649c30cc
commit 29bd3485ca
8 changed files with 103 additions and 66 deletions

15
modules/base/nix.nix Normal file
View File

@ -0,0 +1,15 @@
{
pkgs,
username,
...
}: {
nix = {
package = pkgs.lix;
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
trusted-users = ["${username}"];
warn-dirty = false;
};
};
}