From 34b0bb8df42194a0ea433592e3cac27546f0af4e Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 2 Oct 2024 21:29:37 -0500 Subject: modularize conf and stuff --- modules/software/utils.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/software/utils.nix (limited to 'modules/software/utils.nix') diff --git a/modules/software/utils.nix b/modules/software/utils.nix new file mode 100644 index 0000000..1efdb18 --- /dev/null +++ b/modules/software/utils.nix @@ -0,0 +1,30 @@ +{ pkgs, lib, config, ... }: { + options = { + software.utils.enable = lib.mkEnableOption "enables dev apps"; + }; + + config = lib.mkIf config.software.utils.enable { + programs.zsh.enable = true; + users.defaultUserShell = pkgs.zsh; + services.openssh.enable = true; + + environment.systemPackages = with pkgs; [ + ddcutil # TODO + fastfetch + htop + light + neovim + p7zip + powertop + pv + rsync + screen + scrot + smartmontools + stress + testdisk + tmux + xxHash + ]; + }; +} -- cgit v1.2.3