Adding Importing functionality

This commit is contained in:
Peritia 2025-08-06 09:34:26 +02:00
parent 62594d312c
commit 2f9ff34ad4
17 changed files with 1188 additions and 307 deletions

View file

@ -1,54 +0,0 @@
```nix
{ config, nixDirectory, pkgs, ... }:
let
nixDirectory = "/home/${username}/NixOS";
in
{
################################################################
# Module Imports
################################################################
imports = [
# Nyx Tools
/home/${username}/NixOS/Nyx-Tools
];
################################################################
# Nyx Tools Configuration
################################################################
modules.nyx-rebuild = {
enable = true;
inherit username nixDirectory;
editor = "nvim";
formatter = "alejandra";
enableAlias = false;
autoPush = false;
enableFormatting = false;
startEditor = false;
};
modules.nyx-cleanup = {
enable = true;
inherit username nixDirectory;
autoPush = false;
keepGenerations = 5;
enableAlias = false;
};
modules.nix-tool = {
enable = true;
inherit nixDirectory;
};
}
```