70 lines
1.6 KiB
Nix
Raw Normal View History

2024-04-20 09:42:06 -04:00
{
config,
pkgs,
lib,
...
}:
2022-10-25 20:22:17 -04:00
2025-01-20 22:35:40 -05:00
let
cfg = config.nmasur.profiles.work;
in
{
2022-06-13 23:43:49 -04:00
2025-01-20 22:35:40 -05:00
options.nmasur.profiles.work.enable = lib.mkEnableOption "work config";
config = lib.mkIf cfg.enable {
2025-01-20 22:35:40 -05:00
unfreePackages = [
"vault-bin"
# "teams"
];
2022-06-13 23:43:49 -04:00
home.packages = [
pkgs.visidata # CSV inspector
pkgs.dos2unix # Convert Windows text files
pkgs.inetutils # Includes telnet
pkgs.gnupg # Encryption
pkgs.awscli2
pkgs.ssm-session-manager-plugin
pkgs.awslogs
2024-07-10 15:47:38 -04:00
pkgs.stu # TUI for AWS S3
pkgs.google-cloud-sdk
pkgs.vault-bin
pkgs.ipcalc # Make IP network calculations
pkgs.cloudflared # Allow connecting to Cloudflare tunnels
pkgs.monitorcontrol # Allows adjusting external displays
(pkgs.writeShellApplication {
2022-10-25 20:22:17 -04:00
name = "ocr";
runtimeInputs = [ pkgs.tesseract ];
text = builtins.readFile ../../modules/common/shell/bash/scripts/ocr.sh;
2022-10-25 20:22:17 -04:00
})
(pkgs.writeShellApplication {
name = "ec2";
runtimeInputs = [
pkgs.awscli2
pkgs.jq
pkgs.fzf
];
text = builtins.readFile ../../modules/common/shell/bash/scripts/aws-ec2.sh;
})
2024-06-16 19:00:28 -06:00
(pkgs.writeShellApplication {
name = "tfinit";
runtimeInputs = [
pkgs.terraform
pkgs.gawk
pkgs.git
];
text = builtins.readFile ../../modules/common/shell/bash/scripts/terraform-init.sh;
})
2022-06-13 23:43:49 -04:00
];
2025-01-29 21:12:48 -05:00
programs.helix.enable = lib.mkDefault true;
programs.zed-editor.enable = lib.mkDefault true;
config.nmasur.presets.programs.terraform.enable = lib.mkDefault true;
2022-06-18 13:17:11 -04:00
};
2025-01-20 22:35:40 -05:00
2022-06-13 23:43:49 -04:00
}