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;
|
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;
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user