2020-05-27 13:20:08 +00:00
|
|
|
self: super: {
|
|
|
|
# pkgs assumed to be present on a non nixos host
|
2021-11-19 13:20:12 +00:00
|
|
|
nixFlakes = self.writeShellScriptBin "flix" ''exec ${self.unstable.nix}/bin/nix --experimental-features "nix-command flakes" --log-format bar-with-logs "$@"'';
|
2020-05-27 13:20:08 +00:00
|
|
|
core-system-pkgs = {
|
|
|
|
inherit (self)
|
|
|
|
gitFull gnumake mkpasswd file wget curl wireguard gnupg mutt bind liboping
|
2021-03-20 11:42:22 +00:00
|
|
|
psmisc unzip rename whois lsof parted python3 binutils ntfsprogs neovim
|
|
|
|
;
|
2020-05-27 13:20:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extra-system-pkgs = {
|
|
|
|
inherit (self.python3Packages) qrcode;
|
|
|
|
inherit (self)
|
2021-01-11 05:44:33 +00:00
|
|
|
htop tree pwgen borgbackup inotifyTools direnv socat nmap ncdu
|
2020-05-27 13:20:08 +00:00
|
|
|
tcpdump tmux tig exa fzf ag fd bat ripgrep ranger pass sshuttle vnstat
|
2021-05-18 13:56:39 +00:00
|
|
|
entr libargon2 mblaze niv compsize mediainfo asciinema gomuks nix-output-monitor fdroidserver jq cachix
|
2021-11-19 12:00:26 +00:00
|
|
|
nixFlakes nix-du
|
2021-03-20 11:42:22 +00:00
|
|
|
;
|
2020-05-27 13:20:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
my-home-pkgs = {
|
2020-06-09 08:14:53 +00:00
|
|
|
print215 = super.writeShellScriptBin "print215" ''
|
2020-05-27 13:20:08 +00:00
|
|
|
scp "$@" ag-forward:
|
|
|
|
ssh ag-forward lpr -Zduplex -r "$@"
|
|
|
|
'';
|
2020-06-09 08:14:53 +00:00
|
|
|
print215single = super.writeShellScriptBin "print215single" ''
|
2020-05-27 13:20:08 +00:00
|
|
|
scp "$@" ag-forward:
|
|
|
|
ssh ag-forward lpr -r "$@"
|
|
|
|
'';
|
2020-07-03 16:13:13 +00:00
|
|
|
mytmux = super.writeShellScriptBin "mytmux" ''
|
2021-03-20 11:42:22 +00:00
|
|
|
session=$(${self.tmux}/bin/tmux ls | grep -v attached | head -1 | cut -f1 -d:)
|
|
|
|
if [[ -n $session ]]; then
|
|
|
|
exec ${self.tmux}/bin/tmux attach -t $session;
|
|
|
|
else
|
|
|
|
exec ${self.tmux}/bin/tmux;
|
|
|
|
fi
|
2020-07-03 16:13:13 +00:00
|
|
|
'';
|
2020-05-27 13:20:08 +00:00
|
|
|
};
|
|
|
|
desktop-pkgs = {
|
2021-05-21 01:39:29 +00:00
|
|
|
inherit (self) lm_sensors xwayland xdg_utils libnotify kassandra kassandra2 shotcut mlt audacity paprefs wl-clipboard
|
2021-09-28 20:05:53 +00:00
|
|
|
nheko dconf2nix haskell-docs-cli
|
2021-05-21 01:39:29 +00:00
|
|
|
;
|
2021-07-09 15:58:01 +00:00
|
|
|
inherit (self.gnomeExtensions) appindicator system-monitor
|
2021-08-01 08:25:03 +00:00
|
|
|
clipboard-indicator emoji-selector
|
2021-07-09 15:58:01 +00:00
|
|
|
window-is-ready-remover nothing-to-say notification-banner-position gtile
|
2021-07-13 22:40:50 +00:00
|
|
|
caffeine dash-to-panel
|
2021-06-01 23:29:27 +00:00
|
|
|
;
|
2021-07-13 22:40:50 +00:00
|
|
|
executor = self.gnomeExtensions.executor.overrideAttrs (old: {
|
|
|
|
buildCommand = old.buildCommand + ''
|
2021-07-14 16:20:06 +00:00
|
|
|
substituteInPlace $out/share/gnome-shell/extensions/executor@raujonas.github.io/extension.js --replace "'/bin/bash'" "'bash'"
|
2021-07-13 22:40:50 +00:00
|
|
|
'';
|
|
|
|
});
|
2021-06-01 22:02:00 +00:00
|
|
|
inherit (self.gnome)
|
2020-05-27 13:20:08 +00:00
|
|
|
dconf dconf-editor gnome-tweaks gnome-shell-extensions adwaita-icon-theme
|
2021-03-20 11:42:22 +00:00
|
|
|
gnome-session
|
|
|
|
;
|
2020-05-27 13:20:08 +00:00
|
|
|
};
|
|
|
|
home-pkgs = {
|
|
|
|
inherit (self.pythonPackages) yapf jsbeautifier;
|
|
|
|
inherit (self)
|
|
|
|
go gdb mpc_cli ncmpcpp shfmt htmlTidy astyle nodejs tasksh magic-wormhole
|
2021-03-20 11:42:22 +00:00
|
|
|
nixfmt nixpkgs-fmt rnix-lsp tmate rustup kitty nix-top ghcWithPackages ghcid matrix-commander upterm
|
2021-09-18 09:38:49 +00:00
|
|
|
lazygit gh
|
2021-03-20 11:42:22 +00:00
|
|
|
;
|
2021-05-18 14:33:28 +00:00
|
|
|
obelisk = (import self.sources.obelisk { }).command;
|
2020-05-27 13:20:08 +00:00
|
|
|
};
|
|
|
|
accounting-pkgs = {
|
2021-03-20 11:42:22 +00:00
|
|
|
inherit (self.haskellPackages) hledger hledger-ui hledger-web hledger-iadd;
|
2020-07-13 11:37:01 +00:00
|
|
|
inherit (self) ledger jali aqbanking;
|
2020-05-27 13:20:08 +00:00
|
|
|
};
|
|
|
|
system-pkgs = self.core-system-pkgs // self.extra-system-pkgs // {
|
|
|
|
home-manager =
|
2021-05-18 14:33:28 +00:00
|
|
|
self.callPackage "${self.sources.${self.home-manager-channel}}/home-manager" { };
|
2020-05-27 13:20:08 +00:00
|
|
|
};
|
|
|
|
foreign-home-pkgs = self.extra-system-pkgs;
|
|
|
|
}
|