summaryrefslogtreecommitdiff
path: root/modules/software/utils.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-02 21:29:37 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-02 21:29:37 -0500
commit34b0bb8df42194a0ea433592e3cac27546f0af4e (patch)
treef584369db3a6accb74b1a9288c2480f8fd411671 /modules/software/utils.nix
parent4e4b8068825044ebfd435ec8a6f0e84f5c0c8801 (diff)
downloadnixos-34b0bb8df42194a0ea433592e3cac27546f0af4e.tar.xz
nixos-34b0bb8df42194a0ea433592e3cac27546f0af4e.zip
modularize conf and stuff
Diffstat (limited to 'modules/software/utils.nix')
-rw-r--r--modules/software/utils.nix30
1 files changed, 30 insertions, 0 deletions
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
+ ];
+ };
+}