Version 1.0.0
This commit is contained in:
parent
0084c7295d
commit
0ae67a9897
11 changed files with 764 additions and 568 deletions
52
other/example/example-home.nix
Normal file
52
other/example/example-home.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ config, nixDirectory, username, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
|
||||
################################################################
|
||||
# Module Imports
|
||||
################################################################
|
||||
|
||||
imports = [
|
||||
# Other Home Manager Modules
|
||||
# ......
|
||||
inputs.nyx.homeManagerModules.default
|
||||
];
|
||||
|
||||
################################################################
|
||||
# Nyx Tools Configuration
|
||||
################################################################
|
||||
|
||||
nyx = {
|
||||
|
||||
enable = true;
|
||||
inherit username nixDirectory;
|
||||
logDir = "/home/${username}/.nyx/logs";
|
||||
autoPush = false;
|
||||
|
||||
nyx-rebuild = {
|
||||
enable = true;
|
||||
editor = "nvim";
|
||||
formatter = "alejandra";
|
||||
enableAlias = false;
|
||||
startEditor = false;
|
||||
};
|
||||
|
||||
nyx-cleanup = {
|
||||
enable = true;
|
||||
keepGenerations = 5;
|
||||
enableAlias = false;
|
||||
};
|
||||
|
||||
nyx-tool = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
}
|
||||
################################################################
|
||||
# Basic Home Manager Setup
|
||||
################################################################
|
||||
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "25.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue