update
This commit is contained in:
parent
49ae0d0f70
commit
26cef4ce83
7 changed files with 391 additions and 104 deletions
54
EXAMPLE_home.nix
Normal file
54
EXAMPLE_home.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
```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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue