minor spacing changes

This commit is contained in:
Tyler Starr 2025-05-29 22:27:09 -07:00
parent 554f427a68
commit 7050d5c2a8
11 changed files with 11 additions and 2 deletions

View File

@ -3,6 +3,7 @@
let cfg = config.modules.physical;
in {
options.modules.physical.enable = lib.mkEnableOption "physical";
config = lib.mkIf cfg.enable {
# use the systemd-boot EFI boot loader
boot.loader.systemd-boot.enable = true;

View File

@ -10,6 +10,7 @@ in {
];
options.modules.desktop.enable = lib.mkEnableOption "desktop";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
bc # Arbitrary-precision arithmetic language

View File

@ -16,8 +16,8 @@ let
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}")
binds;
in {
options.modules.desktop.gnome.enable = lib.mkEnableOption "gnome";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
dconf-editor # Graphical tool for editing settings stored in the dconf database of GNOME

View File

@ -3,6 +3,7 @@
let cfg = config.modules.devel.engineering;
in {
options.modules.devel.engineering.enable = lib.mkEnableOption "engineering";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
blender # Open-source 3D creation suite for modeling, animation, rendering, and more

View File

@ -3,6 +3,7 @@
let cfg = config.modules.devel.notes;
in {
options.modules.devel.notes.enable = lib.mkEnableOption "notes";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
obsidian # Note-taking and knowledge management application

View File

@ -3,6 +3,7 @@
let cfg = config.modules.devel.programming;
in {
options.modules.devel.programming.enable = lib.mkEnableOption "programming";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
nodejs # JavaScript runtime built on Chrome's V8 JavaScript engine

View File

@ -10,6 +10,7 @@ let cfg = config.modules.gaming.emulation;
]));
in {
options.modules.gaming.emulation.enable = lib.mkEnableOption "emulation";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
ryubing

View File

@ -3,6 +3,7 @@
let cfg = config.modules.gaming.minecraft;
in {
options.modules.gaming.minecraft.enable = lib.mkEnableOption "minecraft";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
jdk17 # Java Development Kit (JDK) version 17

View File

@ -3,6 +3,7 @@
let cfg = config.modules.gaming.pc;
in {
options.modules.gaming.pc.enable = lib.mkEnableOption "pc";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
gamescope # Utility for running games using Valve's Steam Play compatibility layer with improved performance and compatibility

View File

@ -3,11 +3,11 @@
let cfg = config.modules.services.samba-client;
in {
options.modules.services.samba-client.enable = lib.mkEnableOption "samba-client";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
cifs-utils # Utilities for mounting and managing CIFS (Common Internet File System) shares
];
networking.firewall.allowedTCPPorts = [ 445 139 ];
networking.firewall.allowedUDPPorts = [ 137 138 ];
};

View File

@ -3,6 +3,7 @@
let cfg = config.modules.services.ssh;
in {
options.modules.services.ssh.enable = lib.mkEnableOption "ssh";
config = lib.mkIf cfg.enable {
services.openssh.enable = true;
services.pcscd.enable = true;