Release Ver 1.2.0
This commit is contained in:
parent
7f73899c91
commit
89600ebb06
25 changed files with 1862 additions and 57 deletions
|
|
@ -9,27 +9,69 @@ in {
|
|||
################################################################
|
||||
|
||||
imports = [
|
||||
# Home Manager integration
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
# Host-specific hardware configuration (autogenerated)
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Nyx
|
||||
inputs.nyx.nixosModules.default
|
||||
|
||||
# Other imports:
|
||||
# ......
|
||||
];
|
||||
|
||||
################################################################
|
||||
# Nyx Tools Configuration
|
||||
################################################################
|
||||
nyx = {
|
||||
# Global settings
|
||||
enable = true;
|
||||
username = username;
|
||||
nixDirectory = nixDirectory;
|
||||
logDir = "/home/${username}/.nyx/logs";
|
||||
autoPush = false;
|
||||
|
||||
# Tool-specific settings
|
||||
nyx-rebuild = {
|
||||
enable = true;
|
||||
formatter = "alejandra";
|
||||
enableFormatting = false;
|
||||
editor = "nvim";
|
||||
startEditor = false;
|
||||
enableAlias = false;
|
||||
};
|
||||
|
||||
nyx-cleanup = {
|
||||
enable = true;
|
||||
keepGenerations = 5;
|
||||
enableAlias = false;
|
||||
};
|
||||
nyx-tui = {
|
||||
enable = true;
|
||||
enableAlias = false;
|
||||
};
|
||||
nyx-tool = {
|
||||
enable = true; # must be enabled for others
|
||||
};
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Home Manager Configuration
|
||||
################################################################
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "delme-HMbackup";
|
||||
# Please use this backup File Extension to ensure that the bug won't cause any problems
|
||||
# nyx-rebuild deletes the backups on each rebuild before rebuilding
|
||||
# HM Bug: https://discourse.nixos.org/t/nixos-rebuild-fails-on-backup-up-config-file-by-home-manager/45992
|
||||
users.${username} = import ./home.nix;
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit inputs nixDirectory username;
|
||||
};
|
||||
};
|
||||
# you don't need this but i recommend using Homemanager:
|
||||
# home-manager = {
|
||||
# useGlobalPkgs = true;
|
||||
# useUserPackages = true;
|
||||
# backupFileExtension = "delme-HMbackup";
|
||||
# # Please use this backup File Extension to ensure that the bug won't cause any problems
|
||||
# # nyx-rebuild deletes the backups on each rebuild before rebuilding
|
||||
# # HM Bug: https://discourse.nixos.org/t/nixos-rebuild-fails-on-backup-up-config-file-by-home-manager/45992
|
||||
# users.${username} = import ./home.nix;
|
||||
#
|
||||
# extraSpecialArgs = {
|
||||
# inherit inputs nixDirectory username;
|
||||
# };
|
||||
# };
|
||||
################################################################
|
||||
# System Version
|
||||
################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue