diff --git a/modules/programs.nix b/modules/programs.nix index 3ca8fb3..21aff6d 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -54,13 +54,16 @@ xreader # pdf viewer pdftk # pdf editor - # creative apps + # creative apps kdePackages.kdenlive - audacity gimp pkgs.krita element-desktop + # music apps + yt-dlp + audacity + #gaming dosbox @@ -99,7 +102,7 @@ pciutils # lspci usbutils # lsusb - # system call monitoring + # system call monitoring strace # system call monitoring ltrace # library call monitoring lsof # list open files diff --git a/modules/windows-support.nix b/modules/windows-support.nix new file mode 100644 index 0000000..3413c7c --- /dev/null +++ b/modules/windows-support.nix @@ -0,0 +1,34 @@ +{ config, pkgs, ... }: + +{ + # Windows File Sharing (Samba) + # Lets you share folders with other computers on your local network + # — including Windows and Linux systems. + # + # Only needed if you plan to share files across your network. + # Safe to disable if you don't use network file sharing. + # From https://codeberg.org/Linux-Is-Best/NixOS_Configuration/ + + services.samba = { + enable = true; # Enable Samba. + smbd.enable = true; # SMB daemon (core file sharing service). + nmbd.enable = true; # NetBIOS name resolution (for older Windows clients). + usershares.enable = true; # Allows users to share folders like ~/Public. + nsswins = true; # Enable WINS for name resolution (compatible with Windows). + + settings = { + global = { + workgroup = "WORKGROUP"; # Standard Windows workgroup name. + security = "user"; # Require user authentication for shares. + "invalid users" = [ "root" ]; # Forbid root from using Samba. + }; + }; + }; + + # WS-Discovery (Windows Network Visibility in File Explorer) + # Makes your system show up in the “Network” tab on Windows 10+. + services.samba-wsdd = { + enable = true; + }; + +}