Ver 1.0.0
This commit is contained in:
parent
aca73cdd0f
commit
e4838c1afe
9 changed files with 439 additions and 2274 deletions
113
other/example/simple/configuration.nix
Normal file
113
other/example/simple/configuration.nix
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
{ config, pkgs, host, lib, inputs, userconf, ... }:
|
||||
|
||||
{
|
||||
################################################################
|
||||
# Module Imports
|
||||
################################################################
|
||||
imports = [
|
||||
# Host-specific hardware (autogenerated)
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Nyx-Modules
|
||||
inputs.nyx-modules.nixosModules.default
|
||||
|
||||
# Hardware-specific modules
|
||||
inputs.nyx-modules.nixosModules.hardware
|
||||
];
|
||||
|
||||
|
||||
################################################################
|
||||
# Nyx Modules
|
||||
################################################################
|
||||
nyx-module = {
|
||||
################################################################
|
||||
# Hardware Specific Configuration
|
||||
################################################################
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
# this is exclusively for certain Microsoft Surface:
|
||||
Custom-Kernel.SurfacePro-KabyLake = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
system = {
|
||||
################################################################
|
||||
# SSH Configuration
|
||||
################################################################
|
||||
openssh = {
|
||||
enable = true;
|
||||
passwordAuth = false;
|
||||
permitRootLogin = "no";
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Containerization & Virtualization
|
||||
################################################################
|
||||
podman.enable = false;
|
||||
docker.enable = false;
|
||||
vm.enable = false;
|
||||
|
||||
################################################################
|
||||
# Flatpak
|
||||
################################################################
|
||||
flatpak.enable = false;
|
||||
|
||||
################################################################
|
||||
# Shell / Zsh Configuration
|
||||
################################################################
|
||||
zsh = {
|
||||
enable = true;
|
||||
ohMyZsh = true;
|
||||
theme = "xiong-chiamiov-plus";
|
||||
plugins = [ "git" ];
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Gaming
|
||||
################################################################
|
||||
steam = {
|
||||
enable = true;
|
||||
openFirewall = {
|
||||
remotePlay = true;
|
||||
dedicatedServer = true;
|
||||
localNetworkGameTransfers = true;
|
||||
};
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Network Tools
|
||||
################################################################
|
||||
wireshark = {
|
||||
enable = false;
|
||||
username = username;
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Developer Tools / Compilers
|
||||
################################################################
|
||||
c-compiler.enable = true;
|
||||
go.enable = true;
|
||||
lua.enable = true;
|
||||
python.enable = true;
|
||||
rust.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
################################################################
|
||||
# Home Manager Configuration
|
||||
################################################################
|
||||
|
||||
home-manager = {
|
||||
# your Homemanager config
|
||||
};
|
||||
|
||||
|
||||
################################################################
|
||||
# System Version
|
||||
################################################################
|
||||
|
||||
system.stateVersion = # your system Version;
|
||||
}
|
||||
124
other/example/simple/home.nix
Normal file
124
other/example/simple/home.nix
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
{ config, nixDirectory, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
################################################################
|
||||
# Module Imports
|
||||
################################################################
|
||||
imports = [
|
||||
inputs.nyx-modules.homeManagerModules.default
|
||||
];
|
||||
|
||||
################################################################
|
||||
# Nyx Modules
|
||||
################################################################
|
||||
nyx-module.home = {
|
||||
|
||||
################################################################
|
||||
# Web Browsers
|
||||
################################################################
|
||||
brave = {
|
||||
enable = true;
|
||||
extensions = {
|
||||
enable = true;
|
||||
standard = true; # uBlock, Proton Pass, Proton VPN
|
||||
extra = []; # Additional extension IDs
|
||||
};
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Messaging
|
||||
################################################################
|
||||
signal-desktop.enable = true;
|
||||
vesktop.enable = true;
|
||||
zoom.enable = false;
|
||||
|
||||
################################################################
|
||||
# Remote Support
|
||||
################################################################
|
||||
rustdesk.enable = false;
|
||||
|
||||
################################################################
|
||||
# Development
|
||||
################################################################
|
||||
vscodium = {
|
||||
enable = true;
|
||||
extensions = {
|
||||
enable = true;
|
||||
standard = true;
|
||||
extra = [];
|
||||
};
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Gaming
|
||||
################################################################
|
||||
classic-game-collection.enable = true;
|
||||
prismlauncher.enable = true;
|
||||
|
||||
################################################################
|
||||
# Audio / Visual Utilities
|
||||
################################################################
|
||||
cava.enable = false;
|
||||
spotify.enable = true;
|
||||
camera.enable = true;
|
||||
|
||||
image-viewer = {
|
||||
enable = true;
|
||||
package = pkgs.gwenview;
|
||||
};
|
||||
|
||||
krita.enable = true;
|
||||
kdenlive.enable = true;
|
||||
|
||||
video-player = {
|
||||
enable = true;
|
||||
packages = [ pkgs.vlc pkgs.mpv ];
|
||||
};
|
||||
|
||||
################################################################
|
||||
# Office
|
||||
################################################################
|
||||
obsidian.enable = true;
|
||||
libreoffice.enable = true;
|
||||
pdf-viewer.enable = true;
|
||||
printer.enable = true;
|
||||
thunderbird.enable = true;
|
||||
|
||||
################################################################
|
||||
# VPN
|
||||
################################################################
|
||||
protonvpn.enable = true;
|
||||
|
||||
################################################################
|
||||
# Shell / CLI Tools
|
||||
################################################################
|
||||
cli-tools = {
|
||||
enable = true;
|
||||
extra = [ pkgs.ripgrep pkgs.htop ];
|
||||
};
|
||||
|
||||
zsh.enable = true;
|
||||
|
||||
################################################################
|
||||
# Webapps
|
||||
################################################################
|
||||
private-webapps = {
|
||||
enable = true;
|
||||
browser = pkgs.chromium;
|
||||
whatsapp.enable = true;
|
||||
};
|
||||
|
||||
work-webapps = {
|
||||
enable = true;
|
||||
browser = pkgs.chromium;
|
||||
slack.enable = false;
|
||||
teams.enable = false;
|
||||
outlook.enable = true;
|
||||
entra.enable = false;
|
||||
};
|
||||
};
|
||||
# note this is not all Nyx-Module can do.
|
||||
|
||||
# other home.nix configurations
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue