Files
nixos/modules/terminal/default.nix
T
2026-10-09 04:04:07 +02:00

42 lines
871 B
Nix

{ pkgs, ... }:
{
imports = [
./fish.nix
./kitty.nix
./hyfetch.nix
];
environment.defaultPackages = with pkgs; [
fbterm
kitty
starship
];
# keeping these here so root also benefits
programs.fish.enable = true;
programs.tmux = {
enable = true;
extraConfig = builtins.readFile ./tmux.conf;
plugins = with pkgs.tmuxPlugins; [
sensible
resurrect
];
};
systemd.user.services.sanitize-shell-history = {
description = "Sanitizes shell history on unmount of P";
bindsTo = [ "run-media-djai-P.mount" ];
wantedBy = [ "run-media-djai-P.mount" ];
serviceConfig = {
Type = "simple";
StandardOutput = "journal";
ExecStart = "/home/djai/.config/sanitize/autoSanitize.sh";
};
};
home-manager.users.djai.home.file.".config/sanitize".source = ../../scripts/sanitize;
}