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

53
other/example/home.nix Normal file
View file

@ -0,0 +1,53 @@
{ config, nixDirectory, username, pkgs, inputs, ... }:
{
################################################################
# Module Imports
################################################################
imports = [
# Other Home Manager Modules
# ......
inputs.nyx.homeManagerModules.default
];
################################################################
# Nyx Tools Configuration
################################################################
nyx.nyx-rebuild = {
enable = true;
inherit username nixDirectory;
editor = "nvim";
formatter = "alejandra";
enableAlias = false;
autoPushLog = false;
autoPushNixDir = false;
startEditor = false;
logDir = "/home/${username}/.nyx/nyx-rebuild/logs";
};
nyx.nyx-cleanup = {
enable = true;
inherit username nixDirectory;
autoPush = false;
keepGenerations = 5;
enableAlias = false;
logDir = "/home/${username}/.nyx/nyx-rebuild/logs";
};
nyx.nyx-tool = {
enable = true;
inherit nixDirectory;
};
################################################################
# Basic Home Manager Setup
################################################################
home.username = username;
home.homeDirectory = "/home/${username}";
home.stateVersion = "25.05";
}