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; let cfg = config.modules.physical;
in { in {
options.modules.physical.enable = lib.mkEnableOption "physical"; options.modules.physical.enable = lib.mkEnableOption "physical";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# use the systemd-boot EFI boot loader # use the systemd-boot EFI boot loader
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

View File

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

View File

@ -16,8 +16,8 @@ let
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}") "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}")
binds; binds;
in { in {
options.modules.desktop.gnome.enable = lib.mkEnableOption "gnome"; options.modules.desktop.gnome.enable = lib.mkEnableOption "gnome";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dconf-editor # Graphical tool for editing settings stored in the dconf database of GNOME 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; let cfg = config.modules.devel.engineering;
in { in {
options.modules.devel.engineering.enable = lib.mkEnableOption "engineering"; options.modules.devel.engineering.enable = lib.mkEnableOption "engineering";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
blender # Open-source 3D creation suite for modeling, animation, rendering, and more blender # Open-source 3D creation suite for modeling, animation, rendering, and more

View File

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

View File

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

View File

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

View File

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

View File

@ -3,6 +3,7 @@
let cfg = config.modules.gaming.pc; let cfg = config.modules.gaming.pc;
in { in {
options.modules.gaming.pc.enable = lib.mkEnableOption "pc"; options.modules.gaming.pc.enable = lib.mkEnableOption "pc";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gamescope # Utility for running games using Valve's Steam Play compatibility layer with improved performance and compatibility 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; let cfg = config.modules.services.samba-client;
in { in {
options.modules.services.samba-client.enable = lib.mkEnableOption "samba-client"; options.modules.services.samba-client.enable = lib.mkEnableOption "samba-client";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cifs-utils # Utilities for mounting and managing CIFS (Common Internet File System) shares cifs-utils # Utilities for mounting and managing CIFS (Common Internet File System) shares
]; ];
networking.firewall.allowedTCPPorts = [ 445 139 ]; networking.firewall.allowedTCPPorts = [ 445 139 ];
networking.firewall.allowedUDPPorts = [ 137 138 ]; networking.firewall.allowedUDPPorts = [ 137 138 ];
}; };

View File

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