Remove unused programs

This commit is contained in:
Daniel Lundin 2025-07-06 00:47:49 +02:00
commit 037390adfd
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
9 changed files with 13 additions and 147 deletions

12
flake.lock generated
View file

@ -228,11 +228,11 @@
]
},
"locked": {
"lastModified": 1751729568,
"narHash": "sha256-ay7O1jjalUxkL23QWLv9C2s8rdVGs3hUOPZClIbUHKs=",
"lastModified": 1751751054,
"narHash": "sha256-qUEejOOj1jc+y5anxDgay+NqVgLHVeY0So5PEDzlV18=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f117b383dd591fd579bce5ee7bac07a3fdc1d050",
"rev": "af8a884164bb50ad34c09719bdbdb2a1b01b917c",
"type": "github"
},
"original": {
@ -373,11 +373,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1751271578,
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
"lastModified": 1751637120,
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
"rev": "5c724ed1388e53cc231ed98330a60eb2f7be4be3",
"type": "github"
},
"original": {

View file

@ -14,11 +14,9 @@
./ragenix.nix
./scripts.nix
./ssh.nix
./tmux.nix
./utils.nix
./vcs.nix
./web.nix
./wezterm.nix
];
options.patagia.desktop.enable = lib.mkEnableOption "Desktop environment";

View file

@ -1,16 +1,12 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
age-plugin-fido2-hmac
age-plugin-tpm
comma
dogdns
file
just
nix-output-monitor
openssl
passage
rage
];
home.sessionVariables = {

View file

@ -5,6 +5,13 @@
}:
{
home.packages = with pkgs; [
age-plugin-fido2-hmac
age-plugin-tpm
passage
rage
];
age = {
package = pkgs.writeShellScriptBin "age-with-plugins" ''
exec env PATH="${pkgs.lib.makeBinPath [ pkgs.age-plugin-tpm ]}" ${pkgs.lib.getExe pkgs.age} "$@"

View file

@ -1,52 +0,0 @@
{ ... }:
{
programs.tmux = {
enable = true;
baseIndex = 0;
clock24 = true;
escapeTime = 500;
mouse = true;
shortcut = "t";
extraConfig = ''
set -g allow-passthrough on
set -g default-terminal "tmux-256color"
set -g display-panes-time 3000
set -g escape-time 10
set -g history-limit 50000
set -g set-clipboard on
set -g set-titles on
set -g set-titles-string "#H - #T"
set -g status off
set -g status-interval 30
set -g status-style "italics,reverse"
set -g status-left-length 0
set -g status-right-length 0
set -g status-left '#W #{pane_current_path}'
set -g status-right '%F | %R'
set -g status off
set -g update-environment "SSH_AUTH_SOCK"
setw -g alternate-screen on
setw -g automatic-rename off
setw -g window-status-format ""
setw -g window-status-current-format ""
setw -g window-status-separator ""
set -s command-alias[1000] stty='run-shell "tmux send-keys \"stty cols #{pane_width} rows #{pane_height}\" Enter"'
bind -n C-2 if-shell 'tmux select-window -t t1' refresh-client 'new-window -S -n t1'
bind -n C-3 if-shell 'tmux select-window -t t2' refresh-client 'new-window -S -n t2'
bind -n C-4 if-shell 'tmux select-window -t t3' refresh-client 'new-window -S -n t3'
bind -n C-5 if-shell 'tmux select-window -t t4' refresh-client 'new-window -S -n t4'
bind -n C-6 if-shell 'tmux select-window -t t5' refresh-client 'new-window -S -n t5'
bind -n C-7 if-shell 'tmux select-window -t t6' refresh-client 'new-window -S -n t6'
bind -n C-8 if-shell 'tmux select-window -t t7' refresh-client 'new-window -S -n t7'
bind -n C-9 if-shell 'tmux select-window -t t8' refresh-client 'new-window -S -n t8'
bind -n C-0 if-shell 'tmux select-window -t t9' refresh-client 'new-window -S -n t9'
bind -T copy-mode-vi WheelUpPane select-pane \; send-keys -X -N 1 scroll-up
bind -T copy-mode-vi WheelDownPane select-pane \; send-keys -X -N 1 scroll-down
bind C-s set-option -g status
bind-key ] paste-buffer -p
bind K confirm kill-server
'';
};
}

View file

@ -44,7 +44,6 @@
jq.enable = true;
less.enable = true;
lesspipe.enable = true;
tmux.enable = true;
ripgrep = {
enable = true;

View file

@ -1,6 +1,5 @@
{
config,
inputs,
pkgs,
...
}:
@ -12,15 +11,10 @@
difftastic
git-get
git-graph
meld
mergiraf
tea
];
programs.gh = {
enable = true;
};
programs.git = {
enable = true;

View file

@ -1,72 +0,0 @@
{
config,
lib,
...
}:
{
config = lib.mkIf config.patagia.desktop.enable {
programs.wezterm = {
enable = true;
colorSchemes = {
patagiaLight = {
ansi = [
"#222222"
"#D14949"
"#48874F"
"#AFA75A"
"#599797"
"#8F6089"
"#5C9FA8"
"#8C8C8C"
];
brights = [
"#444444"
"#FF6D6D"
"#89FF95"
"#FFF484"
"#97DDFF"
"#FDAAF2"
"#85F5DA"
"#E9E9E9"
];
background = "#fefeff";
foreground = "#222222";
cursor_bg = "#aa0000";
cursor_border = "#aa0000";
cursor_fg = "#1B1B1B";
selection_bg = "#ffe6a4";
selection_fg = "#483600";
};
};
extraConfig = ''
return {
font = wezterm.font("Berkeley Mono", { weight = "Regular", stretch = "Normal" }),
font_size = 16,
-- freetype_load_target = "HorizontalLcd",
freetype_load_target = "Light",
-- font_size = 11,
-- font_size = 11,
-- freetype_load_target = "Normal",
freetype_load_flags = "NO_AUTOHINT",
color_scheme = "patagiaLight",
check_for_updates = false,
custom_block_glyphs = false,
warn_about_missing_glyphs = false,
bold_brightens_ansi_colors = false,
unicode_version = 14,
allow_square_glyphs_to_overflow_width = "Always",
xcursor_theme = "Adwaita",
hide_mouse_cursor_when_typing = false,
tab_bar_at_bottom = true,
use_fancy_tab_bar = false,
show_tab_index_in_tab_bar = true,
underline_position = -4,
underline_thickness = 2,
--line_height = 0.95,
}
'';
};
};
}

View file

@ -41,10 +41,6 @@ in
userEmail = email;
};
programs.helix = {
enable = true;
};
programs.jujutsu = {
settings = {
user = {