mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-06-07 04:06:06 -07:00
minor spacing changes
This commit is contained in:
parent
554f427a68
commit
7050d5c2a8
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 ];
|
||||
};
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user